View Single Post
Old 08-29-2022, 11:47 AM   #7451
AbyssalAriel
Member
AbyssalAriel began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2022
Device: none
Hello, I have a few questions.

1. Downloading from AO3 or other places, can I have each of the tags keep their link/HTML in the titlepage? When downloading from AO3 directly, their epub has links on each of the tags (as well as the series, and any collections), but FFF doesn't (except for series apparently).

If that's not possible, is there at least a way to make the titlepage underline each of the tags/entries? They're separated by comma, but it would be a lot more readable if each individual entry was underlined (so the lack of underlining between them breaks them up more).

2. How can I make a single metadata entry that's composed of others, plus some hardcoded text? I want to have the publish, update, wordcount and chapter count all on one line in the titlepage, and the only way I can think of to do this make an extra field and import the data inside, something like:

Code:
customfieldname: Published: {datePublished} | Updated {dateUpdated} | Chapters: {chapterslashtotal}
Unsurprisingly, that syntax doesn't work. But is there a way to achieve the same end goal, and what is it?

3. If accomplishing what I want in question 2, can I conditionally modify it? For example, I'd want to exclude/remove the "Updated" section if it's the same as the publish date.

4. How can I replicate `Status:Completed` for a custom column, inside personal.ini? I want to have a "Completed" custom column that tracks if a work is complete, but it doesn't seem to behave with sites other than AO3 (I assume because they don't have a `status` entry at all), so I want only AO3 to update that column (for the other sites I'll just enter it manually, but I don't want the value to be overwritten if I update from metadata again).

5. Can I somehow update/rebuild the epub titlepage, using the Saved Metadata instead of redownloading the whole work?

So that I can do things like, for example, mess with the titlepage_entries (adding or removing or re-ordering them), or normalize genre tags, without hitting the site servers again when I just want to change the titlepage, and in case it's deleted.

In case it helps at all, here is my personal.ini:

Spoiler:
Code:
[defaults]

is_adult:true

#################################################
#################################################

[epub]
extratags:

output_css:
 body { background-color: #%(background_color)s;
        text-align: left;
        margin: 2%%;
	adobe-hyphenate: none; }
 pre { font-size: x-small; }
 h1 { text-align: center; }
 h2 { text-align: center; }
 h3 { text-align: center; }
 h4 { text-align: center; }
 h5 { text-align: center; }
 h6 { text-align: center; }
 .label_value {
    display: block;
    margin: 0 0 1em 1em
    }
 .CI {
     text-align:center;
     margin-top:0px;
     margin-bottom:0px;
     padding:0px;
     }
 .center   {text-align: center;}
 .cover    {text-align: center;}
 .full     {width: 100%%; }
 .quarter  {width: 25%%; }
 .smcap    {font-variant: small-caps;}
 .u        {text-decoration: underline;}
 .bold     {font-weight: bold;}
 .big { font-size: larger; }
 .small { font-size: smaller; }

## To remove summary/description
wide_titlepage_entries: storyUrl, authorUrl, seriesUrl

## ${id}, ${label}, ${value}
titlepage_entry:<b>${label}:</b><br />
 <dd class="label_value">${value}</dd>

#################################################
#################################################

[archiveofourown.org]

add_to_extra_valid_entries:,romships,platships
romships_label:Romantic Ships
platships_label:Platonic Ships

include_in_romships:ships
include_in_platships:ships

# only include / ships in romships and & ships in platships.
# &amp; because HTML
add_to_include_metadata_post:
 romships=~/
 platships=~&amp;

keep_in_order_freeformtags:true
keep_in_order_ao3categories:true
keep_in_order_fandoms:true
keep_in_order_genre:true
keep_in_order_category:true
keep_in_order_characters:true
keep_in_order_ships:true
keep_in_order_romships:true
keep_in_order_platships:true

add_to_replace_metadata:
 publisher=>archiveofourown.org=>Archive of Our Own

exclude_metadata_pre:
 freeformtags,genre==Other Additional Tags to Be Added

titlepage_entries:rating,warnings,ao3categories,fandoms,
 romships,platships,characters,genre,
 bookmarked,bookmarktags,bookmarksummary,
 seriesHTML,series01HTML,series02HTML,series03HTML,collections,
 datePublished,dateUpdated,numWords,chapterslashtotal,
 description

## AO3 doesn't have anything it calls 'genre'.
include_in_genre:freeformtags
## Only includes the normal tags.
include_subject_tags:freeformtags
custom_columns_settings:
 ao3categories=>#ao3_category
 romships=>#ships
 platships=>#genships

strip_chapter_numbers:true
add_chapter_numbers:toconly
chapter_title_strip_pattern:^([0-9]+[\.: -]+)?(Chapter *[0-9]+[\.:, -]*)?
AbyssalAriel is offline   Reply With Quote