![]() |
#2476 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jun 2015
Device: Kobo
|
![]() Refreshing not have all those AO3 tags.... Code:
[overrides] # Placed in overrides to make sure it affects all sites and formats. titlepage_entries:category,ships,numWords,dateUpdated,status,datePublished # a few sites add site-specific metadata to titlepage_entries add_to_titlepage_entries: # superceded by add_to_titlepage_entries, but a few sites use it in defaults.ini extra_titlepage_entries: ## default varies by site. Set true here to force all sites to ## collect series. #collect_series: true extratags: never_make_cover: true include_subject_tags: category,status,status custom_columns_settings: ships=>#topics,a dateUpdated=>#update numWords=>#words |
![]() |
![]() |
![]() |
#2477 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jun 2015
Device: Kobo
|
Bubble Sorting
Bubble sorting....?
Is this conceptually possible within Fanficfare for ships/relationships tag? My objective is uniformity of the ship tagging order either by Alphabetically or by Preference. Name 1/Name 2/Name 3/Name 4/Name 5 Input: Severus Snape/Voldemort/Draco Malfoy/Harry Potter Harry Potter/Severus Snape/Voldemort/Draco Malfoy Harry Potter/Severus Snape/Draco Malfoy/Voldemort Severus Snape/Draco Malfoy/Voldemort/Harry Potter Severus Snape/Voldemort/Draco Malfoy/Harry Potter Preference Method: Using reg code I swap placement order. Name 1 is listed last in the personal.ini file since the program reads top-down. This allows for personal preference. This method is WORKS but requires a lot of "ship swap"coding. Code:
##__FIRST Normalization Harry Potter \- J\. K\. Rowling=>Harry Potter Harry P\.=>Harry Potter&&category=>Harry Potter Hermione G\.=>Hermione Granger&&category=>Harry Potter Tom R\. Jr\.=>Voldemort Tom Riddle Jr\.=>Voldemort Tom Riddle \| Voldemort=>Voldemort Tom Riddle=>Voldemort Draco M\.=>Draco Malfoy Lucius M\.=>Lucius Malfoy Severus S\.=>Severus Snape ##__Ship Priority (last in list take priority) Bubble Sort? (.*)\/Lucius Malfoy=>Lucius Malfoy/\1 (.*)\/Draco Malfoy=>Draco Malfoy/\1 (.*)\/Hermione Granger=>Hermione Granger/\1 (.*)\/Luna Lovegood=>Luna Lovegood/\1 (.*)\/Severus Snape=>Severus Snape/\1 (.*)\/Voldemort=>Voldemort/\1 (.*)\/Harry Potter=>Harry Potter/\1 (.*)\/Loki=>Loki/\1 (.*)\/Tony Stark=>Tony Stark/\1 (.*)\/John Sheppard=>John Sheppard/\1 (.*)\/Jack O\'Neill=>Jack O'Neill/\1 Harry Potter/Voldemort/Severus Snape/Draco Malfoy Harry Potter/Voldemort/Severus Snape Harry Potter/Voldemort John Sheppard/Rodney McKay John Sheppard/Harry Potter Alphabetical Method : I got far as reading the string when I ran into problems... when I realize I would have to loop to read each letter and my regex knowledge is novice level. So I opted for Preference Method for now. Alphabetical Output: Draco Malfoy/Harry Potter/Severus Snape/Voldemort Harry Potter/Severus Snape/Sirus Black Harry Potter/Voldemort John Sheppard/Rodney McKay Code:
([a-zA-Z0-9 .\-&]*)/{0,1}([a-zA-Z0-9 .\-&]*)/{0,1}([a-zA-Z0-9 .\-&]*)/{0,1}([a-zA-Z0-9 .\-&]*)/{0,1} My coding didn't work. Code:
exclude_metadata_pre: ships=~(*.)\&(.*) May have forgotton to say this before but thank you for Fanficfare. Love the program. Kudos! ![]() Last edited by kstar; 09-29-2017 at 12:45 PM. |
![]() |
![]() |
![]() |
#2478 | |||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
![]() There's a setting you can turn on to do alphabetical sort of ships. There's no mechanism for Preference ordering beyond what you're already doing. Code:
## Reorder ships so b/a and c/b/a become a/b and a/b/c. '/' is no ## longer hard coded and can be changed and added to with ## sort_ships_splits. sort_ships:true ## Each line indicates first a regex that should be used to split each ## ships entry and then, after => the string to use to merge the parts ## back together. \s == blank space. ## Each part will have replace_metadata with key ships_CHARS applied. sort_ships_splits: [ ]*/[ ]*=>/ [ ]*&[ ]*=>\s&\s Quote:
Code:
exclude_metadata_pre: ships=~& Quote:
![]() |
|||
![]() |
![]() |
![]() |
#2479 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jun 2015
Device: Kobo
|
Compound Names
`
Fanfiction,net and their pesky compound Names ![]() Superhero/Name Examples: Iron Man/Tony S. Hulk/Bruce B. Black Widow/Nastasha R. [Iron Man/Tony S., Pepper P.] Problem is these compound character names are viewed as pairings. This causes issues with sorting and ships. I don't want the superhero identity just the name. Shipping Tried: Iron Man\/Tony S/.=>Tony Stark SortingShips: Pepper Potts/Tony Stark/Tony Stark When renaming I have take into account that ship sorting has already occurred. Bruce B\./Hulk=>Bruce Banner Finally -splitting the renaming: gets better results Iron Man\/=> Tony S\.=>Tony Stark Ships: Pepper Potts/Tony Stark Better Way? |
![]() |
![]() |
![]() |
#2480 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
However, if you haven't found it yet, you can use ships_CHARS in replace_metadata to modify individual characters within ships when using sort_ships. |
|
![]() |
![]() |
![]() |
#2481 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jun 2015
Device: Kobo
|
As suggestI tried ships_CHARS method ... it almost works BUT for a preceding slash.
input: [Iron Man/Tony S., Pepper P.] output: /Pepper Potts/Tony Stark Code:
#TO ACTIVATE OPTION, UNCOMMENT BY REMOVING THE # AT BEGINNING OF LINE. #DEFAULT section applies to all formats and sites [defaults] titlepage_entries: seriesHTML,category,genre,language,characters,ships,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,numWords,site,description is_adult:true #SITE section overrides defaults. [www.fanfiction.net] extra_valid_entries: ships_label:Pairings [archiveofourown.org] include_in_genre: include_in_freefromtags: [ficwad.com] [www.fictionalley.org] is_adult:true [www.harrypotterfanfiction.com] is_adult:true #EPUB section overrides defaults & site section [epub] include_images:true keep_summary_html:true make_firstimage_cover:true #SITE:EPUB section overrides defaults, site section & format section #OVERIDES section overrides all other sections [overrides] #Reorder ships alphabetically sort_ships:true #Negate the extratag "Fanfiction" from default.ini extratags: #Stops epub making cover. never_make_cover: true #Calibre column "tags". include_subject_tags: category,status,status #Redirects metadata to personal calibre columns custom_columns_settings: ships=>#topics,a dateUpdated=>#update numWords=>#words #NORMALIZATION replace_metadata: #Removes superhero names from fanfiction.net compound characters ships_CHARS,characters=>(Ant\-Man|Black Panther|Black Widow|Captain America|Falcon|Hawkeye|Hulk|Iron Man|Quicksilver|Spider\-Man|War Machine|Wasp|Winter Soldier)=> Bruce B\.=>Bruce Banner Charlie W\.=>Charlie Weasley Clint B\.=>Clint Barton Daphne G\.=>Daphne Greengrass Draco M\.=>Draco Malfoy Fleur D\.=>Fleur Delacour Fred W\.=>Fred Weasley George W\.=>George Weasley Ginny W\.=>Ginny Weasley Harry P\.=>Harry Potter&&category=>Harry Potter Hermione G\.=>Hermione Granger James R\.=>James Rhodes Jean G\.=>Jean Grey&&category=>X-Men Lucius M\.=>Lucius Malfoy Luna L\.=>Luna Lovegood Molly W\.=>Molly Weasley Nastasha R\.=>Nastasha Romanova Neville L\.=>Neville Longbottom Nick F\.=>Nick Fury Pepper P\.=>Pepper Potts Pietro M\.=>Pietro Maximoff Regulus B\.=>Regulus Black Remus L\.=>Remus Lupin Ron W\.=>Ron Weasley Sam W\.=>Sam Wilson&&category=>Avengers Severus S\.=>Severus Snape Sirius B\.=>Sirius Black Steve R\.=>Steve Rogers Susan B\.=>Susan Bones Tom R\. Jr\.=>Voldemort Tom Riddle Jr\.=>Voldemort Tom Riddle \| Voldemort=>Voldemort Tony S\.=>Tony Stark Wanda M\.=>Wanda Maximoff #Fandom category=> (- All Media Types|- Ambiguous Fandom|- Fandom|\(Marvel\)|\(Movies\)|\(Marvel Movies\)|\(Movie [0-9]+\)|\(Comics\)|\(TV\))$=> ^Avengers=>The Avengers&&category=>Avengers Harry Potter \- J\. K\. Rowling=>Harry Potter Marvel Cinematic Universe=>Marvel Universe Stargate\: Atlantis=>Stargate Atlantis X-Men\: The Movie=>X-Men #Friendships exclude_metadata_pre: ships=~& |
![]() |
![]() |
![]() |
#2482 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New test version posted
2017-10-02 - Remove empty chars from ships when doing sort_ships / ships_CHARS Quote:
FYI, in future please also include a story URL. I tested using this story which is just the first I could find with Pepper/Tony. (Ironman comic fics on ffnet use [A. E. Stark/Tony, V. Potts/Pepper], BTW.) |
|
![]() |
![]() |
![]() |
#2483 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Is there anyway to change the identifier url from
http://www.fanfiction.net/s/12618034/1/Hell-Hotel to https://www.fanfiction.net/s/12618034/1/Hell-Hotel without having to look through all the metadata? When I search for duplicates using the "Find Duplicates" plugin I almost only use the URL option and then I won't get the duplicates because of the difference in the url. |
![]() |
![]() |
![]() |
#2484 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
|
|
![]() |
![]() |
![]() |
#2485 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2015
Device: Kindle
|
|
![]() |
![]() |
![]() |
#2486 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2017-10-12 - adapter_literotica: Treat 410(removed) same as 404: StoryDoesNotExist - adapter_storiesonlinenet: Fix for premium stories author link. - adapter_ponyfictionarchivenet: Fix for site change. |
![]() |
![]() |
![]() |
#2487 |
Enthusiast
![]() Posts: 45
Karma: 10
Join Date: Dec 2014
Device: Kindle Paperwhite
|
I'm having trouble with downloading the SB fic Copacetic (https://forums.spacebattles.com/thre...c-worm.283578/ ). Specifically, chapter 1 isn't downloaded. I only get the title, followed by the text for the previous 'chapter', Index.
I'm running FFF 2.17.1, Calibre 3.8 I don't think there's anything relevant in my personal.ini, but it's included just in case. Spoiler:
|
![]() |
![]() |
![]() |
#2488 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
The threadmark for the first chapter is wrong, it points to Index. But first chapter post is still tabbed as a threadmark and shows up in Reader mode. And it's been around since Nov 2016 at least, since it's in my copy of Copacetic too. You could download it using the Index post URL(https://forums.spacebattles.com/posts/15112415/) instead, but that will also pick up all the Omake listed in index. I've posted a report about it to the SB tech support forum. We'll see what they say. |
|
![]() |
![]() |
![]() |
#2489 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jul 2013
Device: Android Galaxy 10.1 Tablet
|
Fic Updates
Hello
For a while now, I have found that I some of my fics (from AO3 and FF.Net) don't update. It appears to have 'updated' as being modified, but there are no new chapters showing up. I need to find the fic online, delete the old ebook on Calibre and then redownload it again. Is this a common problem? Or is something wrong with my settings? Hope someone can assist! Thanks C> |
![]() |
![]() |
![]() |
#2490 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
The only thing that comes to mind is if you've set 'Default If Story Already Exists' to 'Update Calibre Metadata from Website' when you really want 'Update EPUB if New Chapters'. It's on the 'Basic' tab of FFF config: |
|
![]() |
![]() |
![]() |
Tags |
fanfiction |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 523 | 07-15-2025 06:45 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 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 |