Make this default appengine version, downloader.py honors -f, remove extratags from default title page.

This commit is contained in:
Jim Miller 2011-05-23 17:36:56 -05:00
parent 215552af00
commit ac74918005
3 changed files with 34 additions and 18 deletions

View file

@ -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

View file

@ -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:

View file

@ -48,19 +48,25 @@
<div id='greeting'>
<p>Hi, {{ nickname }}! This is a fan fiction downloader, which makes reading stories from various websites
much easier. </p>
<p>For Amazon Kindle use Mobi output(see notice below), for Sony Reader, Nook and iPad use ePub</p>
<p>Or see your personal list of <a href="/recent">previously downloaded fanfics</a>.</p>
</div>
<h3>Experimental New Version!</h3>
<h3>New Version!</h3>
<p>
This version is a new re-org/re-write of the code.
</p>
<p>
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.
</p>
<p>
Mobi support (for Kindle) is only via EPub conversion in this version.
</p>
<p>
If you have any problems with this new version, please
report them in
the <a href="http://groups.google.com/group/fanfic-downloader">Fanfiction
Downloader Google Group</a>. The
<a href="http://3-0-2.fanfictionloader.appspot.com">Old
Version</a> is also available for you to use if necessary.
</p>
<div id='error'>
{{ error_message }}
@ -75,14 +81,21 @@
<input type='radio' name='format' value='epub' checked>EPub</input>
<input type='radio' name='format' value='html'>HTML</input>
<input type='radio' name='format' value='txt'>Plain Text</input>
<p><i>For Mobi (Kindle) select EPub and use the Convert link when it's finished.</i></p>
</div>
<div>
<br />
<input type="submit" value="Download">
<p><i>For most readers, including Sony Reader, Nook and iPad, use EPub.</i></p>
<p><i>For Kindle and other Mobi readers, select EPub and use the Convert link when it's finished.</i></p>
</div>
</div>
<div id='typebox'>
Customize your <a href="/editconfig">User Configuration</a>.
<p>
Customize your <a href="/editconfig">User Configuration</a>.
</p>
<p>
Or see your personal list of <a href="/recent">previously downloaded fanfics</a>.
</p>
</div>
</form>
{% else %}
@ -174,7 +187,7 @@
A few additional things to know, which will make your life substantially easier:
<ol>
<li>
First thing to know: I do not use your login and password. In fact, all I know about it is your ID &ndash; password
First thing to know: I do not use your Google login and password. In fact, all I know about it is your ID &ndash; password
is being verified by Google and is absolutely, totally unknown to anyone but you.
</li>
<li>
@ -193,8 +206,7 @@
not something else.
</li>
<li>
If you think that something that should work in fact doesn't, drop me a mail
to <a href='mailto:sigizmund@gmail.com'>sigizmund@gmail.com</a>, or, even better, write an email to
If you think that something that should work in fact doesn't, post a message to
our <a href="http://groups.google.com/group/fanfic-downloader">Google Group</a>. I also encourage you to join it so
you will find out about latest updates and fixes as soon as possible
</li>