From b2ea9c3e738063aa0b312c07db0bfbf1644884f7 Mon Sep 17 00:00:00 2001
From: wsuetholz
Date: Wed, 10 Nov 2010 11:18:48 -0600
Subject: [PATCH] Changed the title page generation to allow for easily adding
and removing entries from the table of information shown.
Modified ffnet.py to use the mangled story title if given instead of the name portion of the URL. As part of this, the Name and chapter number are now optional in the URL passed in.
---
adapter.py | 3 +++
constants.py | 18 +++++++-----------
ffnet.py | 34 ++++++++++++++++++++++++----------
fictionalley.py | 4 ++++
ficwad.py | 4 ++++
hpfiction.py | 4 ++++
output.py | 21 ++++++++++++++++++++-
twilighted.py | 4 ++++
8 files changed, 70 insertions(+), 22 deletions(-)
diff --git a/adapter.py b/adapter.py
index 246f417..b7708f4 100644
--- a/adapter.py
+++ b/adapter.py
@@ -29,6 +29,9 @@ class FanfictionSiteAdapter:
def setPassword(self, password):
pass
+ def getHost(self):
+ pass
+
def getStoryURL(self):
pass
diff --git a/constants.py b/constants.py
index 89b0ef0..294ae4b 100644
--- a/constants.py
+++ b/constants.py
@@ -27,20 +27,16 @@ h7 { text-align: left; font-size: large; font-weight: bold; }
MIMETYPE = '''application/epub+zip'''
-TITLE_PAGE = '''
+TITLE_HEADER = '''
%s - %s