This commit is contained in:
Kovid Goyal 2012-01-06 20:57:37 +05:30
parent 74d8de937b
commit 6608c79f2a
3 changed files with 8 additions and 4 deletions

View File

@ -11,7 +11,6 @@ class AssociatedPress(BasicNewsRecipe):
language = 'en'
no_stylesheets = True
max_articles_per_feed = 15
html2lrf_options = ['--force-page-break-before-tag="chapter"']
preprocess_regexps = [ (re.compile(i[0], re.IGNORECASE | re.DOTALL), i[1]) for i in

View File

@ -77,7 +77,7 @@ def get_google_data():
'path_map_location':'/var/www/status.calibre-ebook.com/googlepaths',
# If you change this remember to change it in the
# status.calibre-ebook.com server as well
'project':'calibre-ebook-ii'
'project':'calibre-ebook'
}
def get_sourceforge_data():

View File

@ -5,13 +5,18 @@
Copyright 2011, Kovid Goyal <kovid@kovidgoyal.net>
Released under the GPLv3 License
Based on code originally written by Peter Sorotkin
(http://code.google.com/p/epub-revision/source/browse/trunk/src/samples/cfi/epubcfi.js)
http://code.google.com/p/epub-revision/source/browse/trunk/src/samples/cfi/epubcfi.js
Improvements with respect to that code:
1. Works on all browsers (WebKit, Firefox and IE >= 8)
2. Works for elements that are scrollable (i.e. have their own scrollbars)
2. Works for content in elements that are scrollable (i.e. have their own scrollbars)
3. Much more comprehensive testing/error handling
4. Properly encodes/decodes assertions
To check if this script is compatible with the current browser, call
window.cfi.is_compatible() it will throw an exception if not compatible.
Tested on: Firefox 9, IE 9, Chromium 16, Qt WebKit 2.1
###
log = (error) -> # {{{