|
|
#1 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,365
Karma: 79528341
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 10:36 PM. |
|
|
|
|
|
#2 | |
|
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,686
Karma: 7908443
Join Date: Sep 2020
Device: none
|
Quote:
you mean the link in details? i just tried and it worked fine, I've set it this way: 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 |
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,273
Karma: 61916422
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
{identifiers} have 2 parts colon delimits
type : value They are pretty much free to make foo:bar |
|
|
|
|
|
#4 | |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,365
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
I can avoid it by adding the trailing slash to the identifier rule, but then URLs without the title stuff fail to detect. Last edited by ownedbycats; 12-06-2022 at 10:15 AM. |
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Question about dc:identifier | bookman156 | Sigil | 7 | 08-26-2022 01:25 PM |
| identifier rules? | dashiiek | Calibre | 1 | 01-19-2022 09:20 PM |
| What identifier is this? | Rellwood | Library Management | 3 | 08-07-2021 12:15 AM |
| Regex for a custom identifier breaking links | ownedbycats | Library Management | 4 | 03-09-2021 01:29 AM |
| Identifier-like custom column | nqk | Library Management | 5 | 05-20-2017 02:38 AM |