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";
}
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;
+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
* 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