Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 04:49 PM   #10081
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,590
Karma: 4600349
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by TheOne320 View Post
I just got my new Kindle Colorsoft and now I am wondering how can I get FanFicFare to import stories with colours? Some RoyalRoad stories use colour in tables or just to highlight specific words. How can I setup FanFicFare to save these colours in the epub?
Depends on the story and how color is implemented.

Tag Styles

A lot of the time, it's style attributes on individual tags. By default, FFF removes style attributes from tags.

From defaults.ini:
Spoiler:
Code:
## Some attributes cause problems for EBook readers.  By default,
## FanFicFare will remove all attributes except the ones specified
## from all tags.  (The only exception is that <img> tags will also
## keep src, alt and longdesc attributes.  data-orighref is used by
## internalize_text_links to preserve links when chapters are
## inserted.)
## Example: To add 'style', 'title' and 'align' to the list to keep,
## in your personal.ini [defaults] put:
## add_to_keep_html_attrs:,style,title,align
keep_html_attrs:href,name,class,id,colspan,rowspan,data-orighref


You can keep style and align attrs for RR only, or all epubs like so:
Code:
[www.royalroad.com]
add_to_keep_html_attrs:,style
# use one or the other, not both
[epub]
add_to_keep_html_attrs:,style
Stylesheets

In some stories/sites, colors/styles are implemented in a separate CSS stylesheet tag or file and applied by tag/class/id.

There isn't a one-line solution for those. You'll need to identify the needed CSS and add it to personal.ini with add_to_output_css. Probably on a story-by-story basis; unless a site or author has a common CSS they use.

In either case, you'll have to do an overwrite always download to get these changes in stories you've already downloaded before.
JimmXinu is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 495 10-19-2024 07:06 AM
[GUI Plugin] Open With kiwidude Plugins 403 04-01-2024 09:39 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 01:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 07:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 06:17 PM.


MobileRead.com is a privately owned, operated and funded community.