View Single Post
Old 04-14-2021, 08:40 PM   #5798
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,985
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Can generate_cover_settings use different profiles depending on whether a cover image is found? (Preferably, I'd also want to do this only for FanFiction.net; I use a different cover profile with different colours and oversized logo for AO3.)
What Ascello said. As I recall, you can are not limited to only one entry in the template part, eg '${cover_image} ${category}' then match both.

Quote:
Originally Posted by Ascello View Post
And is there a way to add prefix to title of Anthology conditional on category? I mean for fics that have series turned into anthology title. For example this series: https://archiveofourown.org/series/2222022 I want to have prefix MC. Is there a way to automate it, or just by hand?

And also how do I change Anthology title from "title" to "origtitle"? Typing ${origtitle} did not work.
Anthology title is not nearly as configurable as individual story title. All of FFF's complex replace_metadata etc is done at the story level and is already finished before the anthology is stitched together.

This setting exists:
Code:
## Uses a python template substitution.  The ${title} is the default
## title of a new anthology, <series name> in the case of a series, or
## the first book title otherwise.  This is only applied to new
## anthologies.
anthology_title_pattern:${title} Anthology
...but title is literally the only variable available. So you could add an 'MC:' prefix with it, but how widely would that be applied? You'd have to try it to see if [https://archiveofourown.org/series/2222022] as an INI section would work.

(anthology_title_pattern only exists because of some users hating the word 'Anthology' back when the feature was introduced.)
JimmXinu is offline   Reply With Quote