View Single Post
Old 12-05-2022, 09:34 PM   #1
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,044
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Custom identifier: Is it possible to

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?

Last edited by ownedbycats; 12-05-2022 at 09:36 PM.
ownedbycats is offline   Reply With Quote