06-20-2011, 06:05 AM | #1 |
Enthusiast
Posts: 32
Karma: 10
Join Date: Jun 2011
Device: none
|
Embed EPUB in a webpage
Hello,
I was wondering if there's a way to embed EPUB visualization in a webpage. Like Scribd or Issuu. Thanks! |
06-20-2011, 12:28 PM | #2 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
07-27-2014, 09:55 PM | #3 | |
Junior Member
Posts: 1
Karma: 10
Join Date: Jul 2014
Device: none
|
embedding epub
Quote:
Much appreciated Jody |
|
07-27-2014, 10:26 PM | #4 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
Should the reader keep referring back to the ToC? (Not a guaranteed solution anyway.) |
|
07-28-2014, 01:32 AM | #5 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
By the way, the is exactly what epub reader does automatically. ePub reader has its on forum on this web site. Dale |
|
07-28-2014, 01:36 AM | #6 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
<a href="page1.html">Page 1</a> where page1.html is replaced with the actual name of the first file. Place this line at the bottom of the file and/or up at the top. Dale |
|
07-28-2014, 07:18 AM | #7 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
I second the EPUBReader suggestion. |
|
07-29-2014, 02:11 PM | #8 |
Software Developer
Posts: 189
Karma: 89000
Join Date: Jan 2014
Location: Germany
Device: PocketBook Touch Lux 3
|
I've just written a Java program which is supposed to do exactly that:
epub2html1 An EPUB2 file gets extracted to a standard local HTML file collection. An index.html isn't generated automatically yet, but such feature can be integrated easily. Some file references like embedded fonts (CSS @font-face) won't get recognized, I guess. Currently, I don't provide a binary executable download package for it, so you could either compile it for yourself, or I could prepare such a package on request. |
07-29-2014, 03:08 PM | #9 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
|
|
07-29-2014, 03:21 PM | #10 |
Software Developer
Posts: 189
Karma: 89000
Join Date: Jan 2014
Location: Germany
Device: PocketBook Touch Lux 3
|
I've just noticed that the original post #1 is quite old and now the topic has changed to JodyC's question. epub2html1 shouldn't get involved into generating the links between the extracted pages (since its responsibility is to get rid of EPUB specifics by creating a plain HTML collection), but it could indeed write a XML file with information about what was extracted (basically keeping the NCX more or less). From there, either another tool could take this XML file and incorporate the links into every HTML file as well as generating an index.html from it (HTML TOC), HTML frames are an even easier solution, or a PHP script on a server could add the links on each request while echoing the HTML files (with or without support of the XML file). Depends on if the HTML files should be used as standalone files, or if they're supposed to live on a webserver. As I'm currently investigating ways to post HTML programmatically to WordPress, you would get this features too out of the box.
Last edited by skreutzer; 07-29-2014 at 03:24 PM. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to embed fonts in ePub after Calibre | fiery | ePub | 79 | 12-05-2016 02:18 AM |
How to embed animation in epub | q5485 | ePub | 17 | 05-01-2012 11:41 AM |
Is it possible to embed PDFs in EPUB? | jsimms | ePub | 18 | 08-05-2011 12:20 PM |
Webpage with Pictures to MOBI or EPUB | maurices5000 | Conversion | 1 | 02-15-2011 12:28 PM |
Automatic convert webpage to epub? | bthoven | Calibre | 35 | 11-12-2010 03:48 AM |