Quote:
Originally Posted by bugstomper
1. Is there provision in the plugin for me to set some option or tag in a story's metadata that can be read in the adapter to enable the option?
|
Not intentionally. You might be able to do something with the 'Pass Calibre Columns into FanFicFare on Update/Overwrite' feature, but I don't think it's necessary because:
Quote:
Originally Posted by bugstomper
2. If not, does personal.ini allow me to have a section to customize just for one story instead of for the entire royalroad.com?
|
Yes! You can put the story URL as a section name in personal.ini. So in this case:
Code:
[https://www.royalroad.com/fiction/51335]
#settings for this story only.
(If an adapter implements
get_section_url(), you can also use title-containing story URLs. royalroad doesn't have that yet. grep existing adapters for examples.)
Quote:
Originally Posted by bugstomper
3. Are there any existing options or methods in the code that I should be aware of if I wanted to add such an option to the adapter?
|
I believe the
exclude_notes feature of adapter_archiveofourownorg is the most complex/complete equivalent. Note that adapter_archiveofourownorg's
use_view_full_work feature may make it look more complicated than it needs to be.
Quote:
Originally Posted by bugstomper
4. What if I wanted to not only specify options to include pre-chapter author's notes and post-chapter author's notes, but also be able to somehow specify the formatting or css for them, are there existing methods I should make use of?
|
Add class attribs to the tags in question. Again, see
exclude_notes in adapter_archiveofourownorg for an example. I'd suggest the same class names where they match, add new ones if needed. Then output_css settings for the actual CSS.
Quote:
Originally Posted by bugstomper
5. Is this useful enough to make part of the adapter if I have a patch to submit, or would it remain my personal customization?
|
Absolutely!
The AO3 adapter uses an exclude list because they were all included originally and the feature was added to suppress them.
If it makes more sense for royalroad, feel free to have an include list instead of exclude.
Quote:
Originally Posted by ownedbycats
Would it be much effort to have an additional option somewhere in FFF to check only the first chapter of a fic to see if it's still valid and update the error column if not? I'm not sure how much of a corner case this is.
|
IMO, it would be too much effort for very little gain. And that such a feature would likely encourage such checks
more often.