Fix tOC in "The Awakening"
authorAkos Polster <akos@pipacs.com>
Wed, 15 Sep 2010 22:18:38 +0000 (00:18 +0200)
committerAkos Polster <akos@pipacs.com>
Wed, 15 Sep 2010 22:18:38 +0000 (00:18 +0200)
model/book.cpp
model/ncxhandler.h
pkg/changelog
pkg/version.txt

index 0f958b6..8b7bd4a 100644 (file)
@@ -186,6 +186,8 @@ bool Book::parse()
         ncxFileName = content["ncx"].href;
     } else if (content.contains("ncxtoc")) {
         ncxFileName = content["ncxtoc"].href;
+    } else if (content.contains("toc")) {
+        ncxFileName = content["toc"].href;
     } else {
         qDebug() << "No NCX table of contents";
     }
index e62d357..f04ade1 100644 (file)
@@ -31,13 +31,13 @@ public:
 
     bool endElement(const QString &namespaceUri, const QString &name,
                     const QString &qName) {
-        Trace t("NcxHandler::endElement" + name);
+        Trace t("NcxHandler::endElement " + name);
         (void)namespaceUri;
         (void)qName;
         if (name == "text") {
             contentTitle = currentText;
         } else if (name == "navPoint") {
-            qDebug() << "url" << contentUrl << "\ntitl" << contentTitle
+            qDebug() << "url" << contentUrl << "\ntitle" << contentTitle
                     << "\nid" << contentId;
             Book::ContentItem item;
             item.href = contentUrl;
index 4f45c49..6aa6142 100644 (file)
@@ -1,3 +1,9 @@
+dorian (0.2.1-1) unstable; urgency=low
+
+  * Fix TOC in "The Awakening" (and possibly other Google books)
+
+ -- Akos Polster <akos@pipacs.com>  Thu, 16 Sep 2010 02:00:00 +0200
+
 dorian (0.2.0-1) unstable; urgency=low
 
   * Add support for Windows
@@ -5,6 +11,7 @@ dorian (0.2.0-1) unstable; urgency=low
   * Fix tracing on Windows
   * Fix TOC and navigation with O'Reilly books
   * Reduce RAM footprint
+  * Fix library icon on Mac
 
  -- Akos Polster <akos@pipacs.com>  Sun,  5 Sep 2010 02:00:00 +0200
 
index 0a25d5a..fd32d72 100644 (file)
@@ -1 +1 @@
-"0.2.0"
+"0.2.1"