Quote:
Originally Posted by Tharos
I changed my previous entry and now use [CODE]. Thanks for the Info.
I found "storytags" at lushstories. But I am more likely to misinterpret something. To describe my experience with codes as minimal would be an exaggeration.
My examples are deliberately vague, because I use FFF for a lot of pages.
I think my main problem is with the metadata. When should I use "add_to_replace_metadata", when "replace_metadata". Or when "exclude_metadata_pre" or "exclude_metadata_post".
I want to change certain tags immediately when the metadata is updated, delete others. However, certain metadata should only be changed or deleted if they appear on a specific page. Tthe basic metadata for fanfiction and lushstories are very different. It makes a difference to me how I do it.
I lack the information and understanding that explains to me how to proceed and when.
|
I don't see any immediate spacing issues in your code. But since it's not real code, I can't test it.
The
INI file wiki page describes how INI sections and add_to_ interact. I don't have time to repeat it all again, but here's a short-short version:
Basically, use
add_to_replace_metadata when you want to use settings from both [default] and [site.com] and use
replace_metadata when you want [site.com] to be used instead of the
replace_metadata value from [defaults].
The difference between "exclude_metadata_pre" and "exclude_metadata_post" is when they are applied: before
replace_metadata or after
replace_metadata. So you can 'pre'-filter items before
replace_metadata, but if you end up with something you still don't want
after all your
replace_metadata, you can 'post' filter it.
I'm going to need to see specifics ("in this specific story URL, this specific tag comes out like this when I want that and this is a (safe)copy of my INI file") to help you any further. NSFW content can be PM'd.