From 86375876a45a2ed3f5735a11cb78e302ee68430f Mon Sep 17 00:00:00 2001
From: Jim Miller
Date: Fri, 18 May 2012 15:45:44 -0500
Subject: [PATCH] Integrate new adapter www.checkmated.com.
---
app.yaml | 2 +-
calibre-plugin/__init__.py | 2 +-
defaults.ini | 8 ++++++++
fanficdownloader/adapters/__init__.py | 1 +
index.html | 20 ++++++++------------
plugin-defaults.ini | 8 ++++++++
6 files changed, 27 insertions(+), 14 deletions(-)
diff --git a/app.yaml b/app.yaml
index a0db594..49b3efd 100644
--- a/app.yaml
+++ b/app.yaml
@@ -1,6 +1,6 @@
# ffd-retief-hrd fanfictiondownloader
application: fanfictiondownloader
-version: 4-4-9
+version: 4-4-10
runtime: python27
api_version: 1
threadsafe: true
diff --git a/calibre-plugin/__init__.py b/calibre-plugin/__init__.py
index a9b76e3..cf2778b 100644
--- a/calibre-plugin/__init__.py
+++ b/calibre-plugin/__init__.py
@@ -27,7 +27,7 @@ class FanFictionDownLoaderBase(InterfaceActionBase):
description = 'UI plugin to download FanFiction stories from various sites.'
supported_platforms = ['windows', 'osx', 'linux']
author = 'Jim Miller'
- version = (1, 5, 21)
+ version = (1, 5, 22)
minimum_calibre_version = (0, 8, 30)
#: This field defines the GUI plugin class that contains all the code
diff --git a/defaults.ini b/defaults.ini
index eae7928..c38fc11 100644
--- a/defaults.ini
+++ b/defaults.ini
@@ -382,6 +382,14 @@ extratags: FanFiction,Testing,HTML
## personal.ini, not defaults.ini.
#is_adult:true
+[www.checkmated.com]
+## 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:YourName
+#password:yourpassword
+
[www.fanfiction.net]
[www.ficbook.net]
diff --git a/fanficdownloader/adapters/__init__.py b/fanficdownloader/adapters/__init__.py
index 741e3be..c534b27 100644
--- a/fanficdownloader/adapters/__init__.py
+++ b/fanficdownloader/adapters/__init__.py
@@ -55,6 +55,7 @@ import adapter_archiveskyehawkecom
import adapter_squidgeorgpeja
import adapter_libraryofmoriacom
import adapter_wraithbaitcom
+import adapter_checkmatedcom
## This bit of complexity allows adapters to be added by just adding
## importing. It eliminates the long if/else clauses we used to need
diff --git a/index.html b/index.html
index e58ee91..92fb4db 100644
--- a/index.html
+++ b/index.html
@@ -54,18 +54,9 @@
much easier.
- New Sites
+ New Site
- We now support www.wraithbait.com and
- www.libraryofmoria.com, thanks to Ida for adding these!
-
-
- Support for the Wonderful World of MakeBelieve(WWOMB)
- archive at
- http://www.squidge.org/peja/cgi-bin/index.php
- has also been added. This does not support other sections of
- www.squidge.org, or the other files under www.squidge.org/peja that
- aren't in the eFiction instance.
+ We now support www.checkmated.com, thanks to Ida for adding this!
Questions? Check out our
@@ -75,7 +66,7 @@
If you have any problems with this application, please
report them in
the FanFictionDownLoader Google Group. The
- Previous Version is also available for you to use if necessary.
+ Previous Version is also available for you to use if necessary.
{{ error_message }}
@@ -316,6 +307,11 @@
http://www.squidge.org/peja/cgi-bin/viewstory.php?sid=1234.
This is
only for squidge.org/peja, not other parts of squidge.org.
+
www.checkmated.com
+
+ Use the URL of the story's first chapter, such as
+
http://www.checkmated.com/story.php?story=10898.
+
A few additional things to know, which will make your life substantially easier:
diff --git a/plugin-defaults.ini b/plugin-defaults.ini
index 69ae1cf..cab7f58 100644
--- a/plugin-defaults.ini
+++ b/plugin-defaults.ini
@@ -368,6 +368,14 @@ extratags: FanFiction,Testing,HTML
## personal.ini, not defaults.ini.
#is_adult:true
+[www.checkmated.com]
+## 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:YourName
+#password:yourpassword
+
[www.fanfiction.net]
[www.ficbook.net]