View Single Post
Old 05-10-2019, 11:07 AM   #3412
Silbermieze
Junior Member
Silbermieze began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2019
Location: Germany
Device: tolino shine 3
Custom columns with FF.net and AO3

Hey there. I already searched the forum as well as this thread specifically, but while I found the topics I'm looking for, I couldn't find answers (or I just didn't understand them - I don't know). So I apologize if those are already answered and please just point me in the right direction.




I'm trying to organize fanfictions in calibre with a few custom columns. Now, those columns are already set (see attachment) and most of them work with the fetched metadata, but I can't get the data for words and chapters from either site. I'm not sure if I just don't get the right "label" for it or if it doesn't work at all? I know the plugin "count pages", but I could never make sense of those numbers, so if there's a chance I can get the original data from FF.net and AO3, I'd prefer them.

Secondly, while I looked around this thread I found the possibility to exclude relationships with an "&", but I can't get that to work either. Maybe I put something in my personal.ini that clashes against each other?

Spoiler:
Code:
[defaults]

sort_ships:true
sort_ships_splits:
 [ ]*/[ ]*=>/
 [ ]*&[ ]*=>\s&\s
keep_in_order_characters:true
keep_in_order_ships:true







[www.fanfiction.net]
username:XXXXXXXX
password:XXXXXXXX
is_adult:true

extra_valid_entries:reviews,favs,follows,pairings,status,rating,words,chapters,characters
check_next_chapter:false

ships_label:Pairings
reviews_label:Reviews
favs_label:Favs
follows_label:Follows
status_label:Status
rating_label:Rated
words_label:Words
chapters_label:Chapters
characters_label:Characters

custom_columns_settings:
 status=>#status
 ships=>#pairings
 rating=>#rating
 words=>#wordcount
 chapters=>#chapters
 characters=>#characters
 favs=>#kudos
 follows=>#bookmarks
 reviews=>#comments
 genre=>#genre

 

[archiveofourown.org]
username:XXXXXXXX
password:XXXXXXXX
is_adult:true

extra_valid_entries:fandoms,freeformtags,ao3categories,comments,kudos,bookmarks
add_to_extra_valid_entries:,onlyromships,ships2chars

include_in_onlyromships:ships
exclude_metadata_post: 
 onlyromships=~[ ]*&[ ]*
 onlyromships=~[ ]*&[ ]*

include_in_ships2chars:ships.NOREPL
# NOREPL prevents any ships patterns from being applied to ships2chars.

add_to_replace_metadata:
 ships2chars=>[ ]*/[ ]*=>/
 ships2chars=>[ ]*&[ ]*=>/
 ships2chars=>([^/]+)/([^/]+)/([^/]+)/(.+)=>\1\,\2\,\3\,\4
 ships2chars=>([^/]+)/([^/]+)/(.+)=>\1\,\2\,\3
 ships2chars=>([^/]+)/(.+)=>\1\,\2

include_in_characters:characters,ships2chars

fandoms_label:Fandoms
freeformtags_label:Freeformtags
ao3categories_label:AO3 Categories
comments_label:Comments
kudos_label:Kudos
bookmarks_label:Bookmarks
warnings_label:Warnings
rating_label:Ratings
ships_label:Relationships
status_label:Status

include_in_genre:freeformtags,ao3categories
include_in_category:fandoms
extra_subject_tags:fandoms,freeformtags,ao3categories
exclude_notes:authorheadnotes,chaptersummary,chapterheadnotes,chapterfootnotes,authorfootnotes,inspiredlinks

custom_columns_settings:
 status=>#status
 ships=>#pairings
 rating=>#rating
 warnings=>#warnings
 fandoms=>#fandoms
 numwords=>#wordcount
 numchapters=>#chapters
 characters=>#characters
 ao3categories=>#categories
 kudos=>#kudos
 bookmarks=>#bookmarks
 comments=>#comments
 freeformtags=>#genre


I guess I overshoot a bit with those "extra valid entries" and "labels" (which I don't understand at all), but those were my first tries to get the metadata I want and now I don't know any more what I can and can't delete to have everything still working.



And thirdly, I have one column for genre, which works perfectly for FF.net, but not AO3 (for obvious reasons). I guess there's no further breakdown of the tags beneath characters, ships, and freeformtags? So I have to either fill in the genre manually or remove the other tags manually? Also: Can I move the tags from the original tags-section to my "genre" column so they won't appear in both sections?
Attached Thumbnails
Click image for larger version

Name:	custom_columns.jpg
Views:	376
Size:	189.7 KB
ID:	171402  
Silbermieze is offline   Reply With Quote