View Single Post
Old 09-16-2018, 12:25 PM   #2922
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: 7,027
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by JDesat View Post
...
I was wondering if there was a way to download stories (I'm mainly thinking stories from forums like SB and SV here) while keeping coloured text that is in those stories? I read a few threads that have coloured text at points for various reasons (Taylor Varga for instance) and I'd like to be able to have the stories in the form FFF creates but with the colour included.
...
Yes, there is.

FFF strips many html tag attributes in order to standardize formatting, including style, which XenForo sites (SB/SV) use for color text. You can include them using this:

Code:
[https://forums.sufficientvelocity.com/threads/taylor-varga-worm-luna-varga.32119/]
add_to_keep_html_attrs:,style
You can apply it to all SB/SV stories by putting add_to_keep_html_attrs:,style under [base_xenforoforum] instead. Or individual sites.

However, because keep_html_attrs is applied when a chapter is downloaded and processed (which includes update, BTW), you'll need to re-download past chapters using one of the Overwrite options to get the style attrs previously removed.

There are some sites that instead use class attrs for color text. For those you need to add the appropriate color classes to output_css. I don't have any examples off hand. FFF keeps class attrs by default.
JimmXinu is offline   Reply With Quote