Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 02-23-2013, 02:07 PM   #16
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
dgatwood's Avatar
 
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by carlosbcg View Post
I mean things can't be this seemingly difficult. EPUB is just XHTML underneat and every browser worth anything these days can read XHTML. Throw in some simple Javascript and voila...one should be able to have a cross browser, fully compatible, simple EPUB reader.
It's easy to get halfway there, with a reader that scrolls. Doing pagination in a normally scrolling browser window is a good bit harder. There are CSS tricks that might make it feasible to at least support full justification on the last line of the page, but it would still be a lot of code to handle splitting paragraphs correctly.
dgatwood is offline   Reply With Quote
Old 02-23-2013, 06:32 PM   #17
carlosbcg
Member
carlosbcg began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Feb 2013
Device: Linux laptop and iPhone
Quote:
Originally Posted by dgatwood View Post
...but it would still be a lot of code to handle splitting paragraphs correctly.
And if I may say so...a lot of work too!

That's why I was looking for a pre-made, cross browser solution of which I have yet to find just the right one though I may be able to do something with chunks of code from existing Javascript readers (where the license allows me to do that).

I haven't really run with this just yet as I am still working on finishing up my EPUB, content wise, which also involves a lot of work.

Once I finish it though I will come back to this issue of figuring out how best to present it for online reading through a browser which I have to do.

This thread was my attempt to find something quick without taking too much time out to implement it.

Carlos
carlosbcg is offline   Reply With Quote
Advert
Old 02-23-2013, 06:46 PM   #18
carlosbcg
Member
carlosbcg began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Feb 2013
Device: Linux laptop and iPhone
Quote:
Originally Posted by Jellby View Post
Some time ago I wrote a quick-and-dirty script (for linux) that allowed me at least to test an EPUB in the browser and check formatting and TOC. If you can do some programming, maybe you can turn it into some server-side scripting code, or find someone who can.
That's very gracious of you to provide that script Jellby. Thanks for offering to let me use it. I may play with it some or do something with parts of it (like getting the TOC which I have been looking to do on my own through a script).

But what I may do is just use some of your logic and implement it in a server side PHP script which should be able to do the same thing I think.

Carlos
carlosbcg is offline   Reply With Quote
Old 02-23-2013, 07:22 PM   #19
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,078
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
There is a plugin for Firefox that displays EPUB
You need 2 things: Firefox and the Plugin
Diehard IE users, and others are less lucky
theducks is offline   Reply With Quote
Old 02-24-2013, 04:58 AM   #20
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Hi

I just accidentally found - again - a Firefox extension which works pretty well at least to display EPUB (it can do other things but I did not try them). I had used it previously and thought it was dead. This version is said to be from the 9th of February 2013. It's really worth a try.

https://addons.mozilla.org/en-US/firefox/addon/lucifox/

Last edited by roger64; 02-24-2013 at 05:03 AM.
roger64 is offline   Reply With Quote
Advert
Old 02-24-2013, 11:16 AM   #21
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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:
Originally Posted by roger64 View Post
Hi

I just accidentally found - again - a Firefox extension which works pretty well at least to display EPUB (it can do other things but I did not try them). I had used it previously and thought it was dead. This version is said to be from the 9th of February 2013. It's really worth a try.

https://addons.mozilla.org/en-US/firefox/addon/lucifox/
There is also ePUBReader here on this forum. To avoid finding things by accident try our wiki.

Dale
DaleDe is offline   Reply With Quote
Old 02-24-2013, 07:35 PM   #22
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by DaleDe View Post
There is also ePUBReader here on this forum. To avoid finding things by accident try our wiki.

Dale
Thank you. I had a closer look on the wiki and did indeed find Lucifox but I added it in a new paragraph intended for web browsers (3).
Here is a view of the same file from ADE 1.72 (1) and another from Lucifox (2) to compare with. You may have to adjust the zooming and window size.

I think it's a decent choice.
Attached Thumbnails
Click image for larger version

Name:	ADE.png
Views:	183
Size:	122.4 KB
ID:	101922   Click image for larger version

Name:	Lucifox.png
Views:	195
Size:	104.3 KB
ID:	101923   Click image for larger version

Name:	wiki.png
Views:	211
Size:	26.2 KB
ID:	101924  

Last edited by roger64; 02-24-2013 at 08:09 PM. Reason: mistake
roger64 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Videos in the EPUB get automatically played when the EPUB is opened in the iBook rangaman ePub 9 12-20-2012 06:57 PM
How to automatically create chapter titles and breaks in an epub file? memenow Conversion 2 11-27-2012 09:54 PM
How to automatically split (x)html in epub? osnova ePub 15 03-13-2012 06:00 PM
Automatically resizing epub images dhume01 Conversion 4 03-15-2011 05:45 PM
Automatically convert file to EPUB upon import into library astrodad Calibre 6 07-23-2010 12:22 PM


All times are GMT -4. The time now is 06:35 AM.


MobileRead.com is a privately owned, operated and funded community.