View Single Post
Old 12-11-2015, 06:45 AM   #794
edeniz
Zealot
edeniz began at the beginning.
 
Posts: 132
Karma: 10
Join Date: Oct 2015
Device: Sony Reader, Tolino Shine, Samsung Galaxy S3
I have a problem with tthfanfic.org. It has an annoying habit of putting tags like "xy-Centered" and pairing and genre (such as Romance, Action/Adventure) into "category", so that I have these things in my fandom column after download. Naturally, I'd like to move them from there to "pairings" and "genre" and "character", but try as I might, I could not come up with a working solution. Any ideas on what to do?

Another question: In fanficfare, when I'm, for example, renaming a tag like "characters=>Harry P\." I can make it "characters=>Harry P\.=>Harry Potter&&category=>Harry Potter" to make sure that change occurs only in that fandom and nowhere else. So what I'm wondering is why something similar won't work if I were to use, say, genre or pairing instead of category. Like, "rename this tag only if genre is this". (I should add that this is not terribly important, just something I'd been wondering when it didn't work when I tried it out of curiosity on a link where it seemed like it could help. I've since decided to just use replace_metadata to split one list item into multiple list entries.)

Lastly: Apparently I've screwed up something in my personal.ini without realizing, and now I get tag duplications because I renamed several tags to one. Because I'm using calibre plugin, I'd always looked at the book details browser after the download to check if all is okay, so it's now only that I'm noticing the problem. I've been going spare trying to hunt down the source the last few days, but can't find it. The problem is somewhere in this part here:


Spoiler:
Code:
[overrides]
dateCreated_format:%%Y-%%m-%%d
datePublished_format:%%Y-%%m-%%d
dateUpdated_format:%%Y-%%m-%%d

is_adult:true

[defaults]

titlepage_entries: storyId,seriesHTML,category,genre,language,characters,ships,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,numWords,site,description

website_encodings: auto, utf8, Windows-1252
include_subject_tags: extratags, genre, category, characters, ships, status
add_to_include_subject_tags:,rating

extratags: Fanfiction

add_genre_when_multi_category: Crossover

default_value_status:Unknown
default_value_category:Fanfiction
default_value_rating:Not Rated

slow_down_sleep_time:4
connect_timeout:60.0

replace_hr: false
replace_br_with_p: true

keep_summary_html:true

keep_style_attr: true

keep_title_attr: true

title_chapter_range_pattern:${title} (Ch ${first}-${last})

strip_chapter_numbers:true

chapter_title_strip_pattern:^([0-9]+[\.: -]+)?(Chapter *[0-9]+[\.:, -]*)?

add_chapter_numbers:true


add_to_extra_valid_entries:,ships2chars
include_in_ships2chars:ships.NOREPL

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

include_in_characters:characters,ships2chars

replace_metadata:
 genre=>^Unrepentant fluff!universe$|^where everything is rainbows and nothing hurts$|^More gratuitous fluff stories$|^And yet somehow fluff still works its way in argh$|^Gratuitous Fluff Story \(Not Really Meant to Be Taken Seriously\)$|^Self-Indulgent Ficcage Fluff$=>Fluff
 genre=>^All good and positive things in this fic$=>Fluff


[epub]

output_filename: ${title} by ${author} -${siteabbrev}${formatext}


titlepage_use_table: true

wide_titlepage_entries: storyUrl, authorUrl, seriesUrl



[archiveofourown.org]

do_update_hook:false

extra_valid_entries:fandoms,freeformtags,freefromtags,ao3categories,comments,kudos,hits,bookmarks,collections,series00,series01,series02,series03,series00Url,series01Url,series02Url,series03Url
fandoms_label:Fandoms
freeformtags_label:Freeform Tags
freefromtags_label:Freeform Tags
ao3categories_label:AO3 Categories
comments_label:Comments
kudos_label:Kudos
hits_label:Hits
collections_label:Collections
bookmarks_label:Bookmarks
series00_label:Series
series00Url_label:Series URL
series01_label:Series
series01Url_label:Series URL
series02_label:Series
series02Url_label:Series URL
series03_label:Series
series03Url_label:Series URL

add_to_extra_valid_entries:,series00HTML,series01HTML,series02HTML,series03HTML
series00HTML_label:Series
series01HTML_label:Additional Series
series02HTML_label:Additional Series
series03HTML_label:Additional Series

make_linkhtml_entries:series00,series01,series02,series03

titlepage_entries: storyId,seriesHTML,series01HTML,series02HTML,series03HTML,category,genre,language,characters,ships,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,numWords,site,description

keep_in_order_genre:true 
keep_in_order_freeformtags:true 

slow_down_sleep_time:4



Here are two example links:
http://archiveofourown.org/works/719270 (-->duplicate "Crossover")
http://archiveofourown.org/works/1805503 (--->triple "Fluff")


I'd be very grateful for any and all help.

Last edited by edeniz; 12-11-2015 at 06:52 AM.
edeniz is offline   Reply With Quote