From 95141a7775a15316e3dd8ebe50a75b369bc9a027 Mon Sep 17 00:00:00 2001 From: Julien Chaumond Date: Wed, 4 Dec 2013 17:26:15 +0100 Subject: [PATCH] Update README --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 98f9d49..2b68c32 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,7 @@ Available fields: * **language** Language code (*en* or *en-us* etc.) * **subject** Topic of the book (*Fantasy*) * **date** creation of the file (*2006-08-12*) + * **description** ## flow @@ -71,6 +72,10 @@ Load chapter text from the ebook. ... epub.getChapter("chapter1", function(error, text){}); +## getChapterRaw(chapter_id, callback) + +Load raw chapter text from the ebook. + ## getImage(image_id, callback) Load image (as a Buffer value) from the ebook. @@ -79,3 +84,11 @@ Load image (as a Buffer value) from the ebook. ... epub.getImage("image1", function(error, img, mimeType){}); +## getFile(file_id, callback) + +Load any file (as a Buffer value) from the ebook. + + var epub = new EPub(...); + ... + epub.getFile("css1", function(error, data, mimeType){}); +