Whenever I download a fic from Fanfiction.net, it always ends up center justified. And I have:
Code:
add_to_keep_html_attrs:,style,title,align
in my personal.ini. Help please?
Here's my personal.ini:
Code:
## This is an example of what your personal configuration might look
## like. Uncomment options by removing the '#' in front of them.
[defaults]
## [defaults] section applies to all formats and sites but may be
## overridden at several levels. Example:
## [defaults]
## titlepage_entries: category,genre, status
## [www.whofic.com]
## # overrides defaults.
## titlepage_entries: category,genre, status,dateUpdated,rating
## [epub]
## # overrides defaults & site section
## titlepage_entries: category,genre, status,datePublished,dateUpdated,dateCreated
## [www.whofic.com:epub]
## # overrides defaults, site section & format section
## titlepage_entries: category,genre, status,datePublished
## [overrides]
## # overrides all other sections
## titlepage_entries: category
## Some sites also require the user to confirm they are adult for
## adult content. Uncomment by removing '#' in front of is_adult.
is_adult:true
## Don't like the numbers at the start of chapter titles on some
## sites? You can use strip_chapter_numbers to strip them off. Just
## want to make them all look the same? Strip them off, then add them
## back on with add_chapter_numbers. Don't like the way it strips
## numbers or adds them back? See chapter_title_strip_pattern and
## chapter_title_add_pattern.
strip_chapter_numbers:true
#add_chapter_numbers:true
#chapter_title_add_pattern:${number}- ${title}
## Add this to genre if there's more than one category.
#add_genre_when_multi_category: Crossover
browser_cache_path:C:\Users\Kawah\AppData\Local\Mozilla\Firefox\Profiles\hdgtdnwa.default-release\cache2
browser_cache_age_limit:-1
## 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
[epub]
## include images from img tags in the body and summary of stories.
## Images will be converted to jpg for size if possible. Images work
## in epub format only. To get mobi or other format with images,
## download as epub and use Calibre to convert.
#include_images:true
## Quality level to use when converting images to jpg. Range is 0-100,
## reasonable values likely to be in the range 70-95.
jpg_quality: 95
## If not set, the summary will have all html stripped for safety.
## Both this and include_images must be true to get images in the
## summary.
#keep_summary_html:true
## If set, the first image found will be made the cover image. If
## keep_summary_html is true, any images in summary will be before any
## in chapters.
#make_firstimage_cover:true
## Resize images down to width, height, preserving aspect ratio.
## Nook size, with margin.
#image_max_size: 1200, 1200
## Change image to grayscale, if graphics library allows, to save
## space.
#grayscale_images: false
## Most common, I expect will be using this to save username/passwords
## for different sites. Here are a few examples. See defaults.ini
## for the full list.
[archiveofourown.org]
## Some sites require login (or login for some rated stories) The
## program can prompt you, or you can save it in config. In
## commandline version, this should go in your personal.ini, not
## defaults.ini.
username:XXXXXXXX
password:XXXXXXXX
## In order to get bookmarktags and bookmarksummary, you need to login
## all the time. This defaults to off to save time and network
## traffic. Requires valid AO3 username and password when true.
always_login:true
## archiveofourown.org stories allow chapters to be added out of
## order. So the newest chapter may not be the last one. FanFicFare update
## doesn't like that. If do_update_hook is uncommented and set true,
## the adapter will discard all existing chapters from the newest one
## on when updating to enforce accurate chapters.
## Starting July 2015, FFF stores chapter URLs in the chapter files.
## Stories downloaded after that shouldn't need this setting anymore.
do_update_hook:false
[www.fanfiction.net]
## browser cache will only be used if use_browser_cache:true and ONLY
## for a few sites. Requires a browser_cache_path set in [defaults].
use_browser_cache:true
use_browser_cache_only:true
skip_author_cover:true
open_pages_in_browser:true
[fictionmania.tv]
## Turns all space characters into " " HTML entities to forcefully preserve
## formatting with spaces. Enabling this will blow up the filesize quite a bit
## and is probably not a good idea, unless you absolutely need the story
## formatting.
## Specific to fictionmania.tv
non_breaking_spaces:true
[www.fimfiction.net]
fail_on_password:XXXXXXXX
## fimfiction.net stories allow chapters to be added out of order. So
## the newest chapter may not be the last one. FanFicFare update doesn't
## like that. If do_update_hook is uncommented and set true, the
## adapter will discard all existing chapters from the newest one on
## when updating to enforce accurate chapters.
do_update_hook:true
## fimfiction.net chapters can have author notes attached to them.
## Setting include_author_notes:true will include them with the
## chapter text.
include_author_notes:true
[www.royalroad.com]
## This option if uncommented, will put a box around the spoiler
## blocks with the original spoiler button text as a label using
## fieldset and legend HTML tags. For a simple box, see the
## add_to_output_css example for [base_xenforoforum:epub].
#legend_spoilers:true
## royalroad.com chapters can have author notes attached to them.
## Setting include_author_notes:true will include them with the
## chapter text.
include_author_notes:true
## By default, FanFicFare will not update an existing EPUB that has
## more chapters than the story does on the source site. When
## force_update_epub_always:true FFF will ignore that check when using
## 'Update EPUB Always' (plugin) or -U/--update-epub-always (CLI) and
## will discard chapters in the EPUB that are not listed on the source
## site anymore.
## This can be useful for authors that remove and/or replace chapters.
## Recommended to be set for individual stories or sites rather than
## under [defaults] or [epub].
#force_update_epub_always:true
[www.scribblehub.com]
## Scribble Hub chapters can include author's notes, news blocks, spoilers,
## and inline footnotes. We've traditionally included them all in the chapter
## text, but this allows you to customize which you include. Copy this
## parameter to your personal.ini and list the ones you don't want.
exclude_notes:newsboxes,spoilers,footnotes
## Using cloudscraper can satisfy the first couple levels of
## Cloudflare bot-proofing, but not all levels. Older versions of
## OpenSSL will also raise problems, so versions of Calibre older than
## v5 will probably fail. Only a few sites are configured with
## use_cloudscraper:true by default, but it can be applied in other
## sites' ini sections. user_agent setting is ignored when
## use_cloudscrape
use_cloudscraper:true
## number of seconds to sleep between calls to the story site. May be
## useful if pulling large numbers of stories or if the site is slow.
## The actual sleep time used on each request is a random number
## between 0.5 and 1.5 times slow_down_sleep_time.
slow_down_sleep_time:5
[forum.questionablequesting.com]
## see [base_xenforoforum]
## QQ shows more posts per reader page than other XF sites.
reader_posts_per_page:30
## Some sites require login (or login for some rated stories) The
## program can prompt you, or you can save it in config. In
## commandline version, this should go in your personal.ini, not
## defaults.ini.
username:XXXXXXXX
password:XXXXXXXX