|
|
#11866 | |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,380
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
(The FFF Custom Columns GUI setting, OTOH, does set empty values, but only knows about the 'standard' FFF metadata entries.) You might consider clearing that column in mass and then using 'Update from Saved Metadata'. I might consider adding another 'mode' for custom_columns_settings -- maybe 'R' for really replace. Would anyone else find that useful? |
|
|
|
|
|
|
#11867 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 172
Karma: 3100
Join Date: Sep 2011
Device: Kobo Auro H2O, PRS-T1
|
This ([^/&]+) worked mostly great.
There were a couple issues. When dealing with more than two names and the '&' sign, it would mess up on configurations I didn't specify. I'm not even sure how I'm getting those. ie. Moon & Sun & Reader became Moon & Reader& Sun I'm not sure if there is an easier way to fix this, but I added this code: Code:
ships=>(?<! )(&)=> \1 I don't know how to fix it and I already have two urls affected (https://archiveofourown.org/works/11...pters/27110763), (https://archiveofourown.org/works/57...pters/13190308). My code: Code:
category,characters,ships,genre=> \(.*\)=> category=>Religion & Lore=>Mythology characters,ships=>(Þórr \| )?Thor=>Thor (Norse Mythology)&&category=>Norse Mythology characters,ships=>Gabriel=>Gabriel (Supernatural)&&category=>Supernatural characters,ships=>(?<!\()Lucifer( Morningstar)?=>Lucifer\1 (Supernatural)&&category=>Supernatural characters,ships=>Michael=>Michael (Supernatural)&&category=>Supernatural #################### ### SHIPS ### ### EXCEPTIONS ### #################### ### 4 names (name1/name2/name3/name4) ships=>^([^/&]+)(/| & )([^/&]+)(/| & )([^/&]+)(/| & )([^/&]+)$=>\1\2\3\4\5\6\7\,\3\2\5\4\7\6\1\,\5\2\7\4\1\6\3\,\7\2\1\4\3\6\5 ### 3 names (name1/name2/name3) ships=>^([^/&]+)(/| & )([^/&]+)(/| & )([^/&]+)$=>\1\2\3\4\5\,\3\2\5\4\1\,\5\2\1\4\3 ### 2 names (name1/name2) ships=>^([^/&]+)(/| & )([^/&]+)=>\3\2\1\,\1\2\3 ships=>(?<! )(&)=> \1 ##Make sure certain names are not first ### 3 names (name1/name2/name3) ships=>^(Chloe Decker)(/| & )([^/&]+)(/| & )([^/&]+)$=>\3\2\5\4\1 ships=>^(Elena Gilbert)(/| & )([^/&]+)(/| & )([^/&]+)$=>\3\2\5\4\1 ### 2 names (name1/name2) ships=>^(Chloe Decker)(/| & )([^/&]*)$=>\3\2\1 ships=>^(Elena Gilbert)(/| & )([^/&]*)$=>\3\2\1 ships=>^(Original .+ Character)(/| & )([^/&]*)$=>\3\2\1 |
|
|
|
|
|
#11868 | ||
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,380
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
My instinct would be to exclude the spaces and then add them back, something like this (warning untested code): Code:
### 4 names (name1/name2/name3/name4) ships=>^([^/&]+) *(/|&) *([^/&]+) *(/| & ) *([^/&]+) *(/|&) *([^/&]+)$=>\1\2\3\4\5\6\7\,\3\2\5\4\7\6\1\,\5\2\7\4\1\6\3\,\7\2\1\4\3\6\5 ## 3 & 2 are similar. \s is an explicit spaces (The config parser ## tends to discard trailing spaces.) ships=>(&)=> \1\s Quote:
If you remove the '(' ')' chars from the lines for Thor and Gabriel , they become "Thor Norse Mythology Norse Mythology" and "Gabriel Supernatural Supernatural". The first line " \(.*\)=>" is masking that. There's weirdness going on and honestly, I can't be bothered to figure out exactly what. But I do have a solution that will also address a problem you haven't mentioned yet, at the 'expense' of sorting the ships--which you're then duplicating anyway, so I don't see the harm. Code:
## Turned on so ships_CHARS is available. sort_ships:true # use ships_CHARS everywhere you want to affect a person in the ship. replace_metadata: category,characters,ships_CHARS,genre=> \(.*\)=> category=>Religion & Lore=>Mythology # Add ^ and $ around every ship char you want to change-- # otherwise you'll also change Thorn, Michael Landon, etc characters,ships_CHARS=>^(Þórr \| )?Thor$=>Thor (Norse Mythology)&&category=>Norse Mythology characters,ships_CHARS=>^Gabriel$=>Gabriel (Supernatural)&&category=>Supernatural characters,ships_CHARS=>^(?<!\()Lucifer( Morningstar)?$=>Lucifer\1 (Supernatural)&&category=>Supernatural characters,ships_CHARS=>^Michael$=>Michael (Supernatural)&&category=>Supernatural # ... ## needs a trailing '$' also, otherwise it affects the 4 & 3 count lines. ### 2 names (name1/name2) ships=>^([^/&]+)(/| & )([^/&]+)$=>\3\2\1\,\1\2\3
|
||
|
|
|
|
|
#11869 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,728
Karma: 81469865
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Is there any difference between using ePubMerge on some already-downloaded fanfics and using FFF to download an anthology?
|
|
|
|
|
|
#11870 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,728
Karma: 81469865
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Glitch:
Set Calibre Series URL concatenates the URLs of every series present in an anthology. |
|
|
|
|
|
#11871 | |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,380
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Example story URL? |
|
|
|
|
|
|
#11872 | |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Apr 2026
Device: Kindle
|
Quote:
Thanks! |
|
|
|
|
|
|
#11873 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,728
Karma: 81469865
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
For example, three stories from a series, the Calibre Series URL comes out as
Code:
https://archiveofourown.org/series/4838692,%20https://archiveofourown.org/series/4838692,%20https://archiveofourown.org/series/4838692 |
|
|
|
|
|
#11874 | |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,380
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
EDIT: If you mean you are downloading an FFF anthology for 3 of the 128 books in https://archiveofourown.org/series/4838692, I'm not seeing that happen. My only guess would be that you are doing replace_metadata on the seriesUrl changing it into a list? Last edited by JimmXinu; Today at 08:59 AM. |
|
|
|
|
|
|
#11875 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,728
Karma: 81469865
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Except for some conditionals, these are only refs to seriesURL in personal.ini:
Code:
include_in_series:series,collections include_in_seriesUrl:seriesUrl Not sure why I had the second one, tbh. I try removing. EDIT: Didn't fix it. Last edited by ownedbycats; Today at 09:42 AM. |
|
|
|
|
|
#11876 |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,380
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
I put include_in_series:series,collections in and downloaded https://archiveofourown.org/series/4838692 as an anthology.
I'm not seeing anything unusual happen with seriesUrl, in the titlepage or putting series into custom column. |
|
|
|
|
|
#11877 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,728
Karma: 81469865
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
It's the Calibre Series URL that's affected, the link attached to series column.
|
|
|
|
![]() |
| Tags |
| fanfiction |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 532 | 03-19-2026 12:30 PM |
| [GUI Plugin] Open With | kiwidude | Plugins | 405 | 02-09-2026 07:54 AM |
| [GUI Plugin] Marvin XD | Philantrop | Plugins | 126 | 01-29-2017 12:48 PM |
| [GUI Plugin] KiNotes | -axel- | Plugins | 0 | 07-14-2013 06:39 PM |
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |