diff --git a/defaults.ini b/defaults.ini index 30d4bc0c..e8bfdecb 100644 --- a/defaults.ini +++ b/defaults.ini @@ -65,7 +65,7 @@ version_label:FFD Version ## items to include in the title page ## Empty entries will *not* appear, even if in the list. ## All current formats already include title and author. -titlepage_entries: category,genre,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,numWords,site,extratags,description +titlepage_entries: category,genre,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,numWords,site,description ## include title page as first page. include_titlepage: true @@ -108,7 +108,7 @@ extratags: FanFiction [txt] ## Add URLs since there aren't links. -titlepage_entries: category,genre,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,numWords,site,extratags,storyUrl, author URL, description +titlepage_entries: category,genre,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,numWords,site,storyUrl, author URL, description ## use \r\n for line endings, the windows convention. text output only. windows_eol: true diff --git a/downloader.py b/downloader.py index d1e66a57..b9e4b73f 100644 --- a/downloader.py +++ b/downloader.py @@ -92,13 +92,17 @@ def main(): if options.metaonly: print adapter.getStoryMetadataOnly() return - ## XXX Use format. - ## XXX Doing all three formats actually causes some interesting - ## XXX config issues with format-specific sections. - print "format: %s" % options.format - writeStory(config,adapter,"epub") - writeStory(config,adapter,"html") - writeStory(config,adapter,"txt") + + if options.format == "all": + ## For testing. Doing all three formats actually causes + ## some interesting config issues with format-specific + ## sections. But it should rarely be an issue. + writeStory(config,adapter,"epub") + writeStory(config,adapter,"html") + writeStory(config,adapter,"txt") + else: + writeStory(config,adapter,options.format) + del adapter except exceptions.InvalidStoryURL, isu: diff --git a/index.html b/index.html index 0acbc2a5..e96b9f2b 100644 --- a/index.html +++ b/index.html @@ -48,19 +48,25 @@
Hi, {{ nickname }}! This is a fan fiction downloader, which makes reading stories from various websites much easier.
-For Amazon Kindle use Mobi output(see notice below), for Sony Reader, Nook and iPad use ePub
-Or see your personal list of previously downloaded fanfics.
This version is a new re-org/re-write of the code.
- Login/Password is asked for when required now, as is 'Are you an Adult?' where required. + Login/Password is only asked for when required now, as is 'Are you an Adult?' where required.
Mobi support (for Kindle) is only via EPub conversion in this version.
++ If you have any problems with this new version, please + report them in + the Fanfiction + Downloader Google Group. The + Old + Version is also available for you to use if necessary. +
For Mobi (Kindle) select EPub and use the Convert link when it's finished.
For most readers, including Sony Reader, Nook and iPad, use EPub.
+For Kindle and other Mobi readers, select EPub and use the Convert link when it's finished.
+ Customize your User Configuration. +
++ Or see your personal list of previously downloaded fanfics. +