View Single Post
Old 12-05-2022, 09:58 PM   #2
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,615
Karma: 7891011
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by ownedbycats View Post
I have a custom identifier with https://openlibrary.org/books/{id} as a rule.

I'm having a bit of trouble, though.

If I paste https://openlibrary.org/books/OL8604930M/A_Baker's_Field_Guide_to_Chocolate_Chip_Cookies in, I get:

OL8604930M/A_Baker's_Field_Guide_to_Chocolate_Chip_Cookies

I don't want that second part, just the OL bit. Adding a trailing slash to the rule works, but then if the URL ends with /books/OL8604930M it fails to detect and I get a url.

Aside from making two rules (which results in duplicate links), is there a way to set the trailing slash as optional?
Hi,

you mean the link in details?

i just tried and it worked fine, I've set it this way:

Click image for larger version

Name:	MWSnap0922 2022-12-05, 23_53_54.png
Views:	113
Size:	9.3 KB
ID:	198212
Click image for larger version

Name:	MWSnap0923 2022-12-05, 23_54_37.png
Views:	101
Size:	1.9 KB
ID:	198211
Click image for larger version

Name:	MWSnap0924 2022-12-05, 23_55_23.png
Views:	101
Size:	17.4 KB
ID:	198210

Upon clicking the link in details pane, browser opens https://openlibrary.org/books/OL8604930M , which then redirects to https://openlibrary.org/books/OL8604...e_Chip_Cookies
Comfy.n is offline   Reply With Quote