Quote:
Originally Posted by mijkala
Hello, I've tried to search how to add the series description to my title page, and I added what everyone else said to add but it never shows up?
|
Not technically an FFF feature
So everyone is on the same page: Title page is generated per story, and series description is not collected by FFF per story. So, by default, FFF story title pages will never contain a series description.
This code is forcing the issue by using
replace_metadata to prepend an arbitrary series desc chosen by the user to the
description of all stories in the series.
Get the seriesUrl right
First, you have to manually copy the series description and
seriesURL appropriately. Posted code had series/000000, and I'm leaving out most of the text:
Code:
add_to_replace_metadata:
description=>^(.*)$=><p>An AU where ...</p> \1&&seriesUrl==https://archiveofourown.org/series/1174943
There are different series URLs
Second,
https://archiveofourown.org/series/1423924 is
a series, but it's not
the series for all of those stores--it's the
series01Url series for several of them, including the first story.
replace_metadata conditionals (the part after &&) cannot reference more than one key value. The simplest solution is to just made a copy for each series URL field it could be:
Code:
add_to_replace_metadata:
description=>^(.*)$=><p>An AU where ...</p> \1&&seriesUrl==https://archiveofourown.org/series/1423924
description=>^(.*)$=><p>An AU where ...</p> \1&&series01Url==https://archiveofourown.org/series/1423924
A more general solution
But if you're into authors who like making multiple series, it will probably come up again -- and with even more series requiring even more copies.
So instead, you can make a single metadata entry containing all the different seriesUrl values in one place and look at it:
Code:
## Add to your existing extra valid line if you already have one in the section.
## 09 is the most any currently supported site uses by default.
add_to_extra_valid_entries:,allseriesUrls
include_in_allseriesUrls:seriesUrl,series00Url,series01Url,series02Url,series03Url,series04Url,series05Url,series06Url,series07Url,series08Url,series09Url
add_to_replace_metadata:
description=>^(.*)$=><p>An AU where ...</p> \1&&allseriesUrls==https://archiveofourown.org/series/1423924
A general note for all
FYI, wrap personal.ini quotes with [code] tags to preserve spacing -- it's important.
For example, the leading space mijkala has before
include_in_dateRange is actually important and should be removed as it's breaking the
add_to_extra_valid_entries line above it.