aboutsummaryrefslogtreecommitdiff
path: root/epub
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-12-07 18:22:44 +0100
committercedricbonhomme <devnull@localhost>2010-12-07 18:22:44 +0100
commit27c39efff4ea31cd423abbe5b21cfc661948c6f5 (patch)
treedd7d3361f62a8dd8e8c5ebe7d99c62aecad26543 /epub
parentRemoved RSS generation. (diff)
downloadnewspipe-27c39efff4ea31cd423abbe5b21cfc661948c6f5.tar.gz
newspipe-27c39efff4ea31cd423abbe5b21cfc661948c6f5.tar.bz2
newspipe-27c39efff4ea31cd423abbe5b21cfc661948c6f5.zip
Better display of article's content.
Diffstat (limited to 'epub')
-rw-r--r--epub/epub.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/epub/epub.py b/epub/epub.py
index 16deaf1f..33193295 100644
--- a/epub/epub.py
+++ b/epub/epub.py
@@ -275,10 +275,6 @@ class EpubBook:
fout.close()
os.chdir(cwd)
- @staticmethod
- def checkEpub(checkerPath, epubPath):
- subprocess.call(['java', '-jar', checkerPath, epubPath], shell = True)
-
def createBook(self, rootDir):
if self.titlePage:
self.__makeTitlePage()
@@ -292,7 +288,6 @@ class EpubBook:
self.__writeContentOPF()
self.__writeTocNCX()
-
def test():
def getMinimalHtml(text):
return """<!DOCTYPE html PUBLIC "-//W3C//DTD XHtml 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
@@ -343,7 +338,6 @@ def test():
rootDir = r'd:\epub\test'
book.createBook(rootDir)
EpubBook.createArchive(rootDir, rootDir + '.epub')
- #EpubBook.checkEpub('epubcheck-1.0.5.jar', rootDir + '.epub')
if __name__ == '__main__':
test() \ No newline at end of file
bgstack15