Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 04-13-2012, 01:57 PM   #46
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
I see,
Does that include pictures, or not?

While the HTML's may be software limited to this file size, I'm sure there are files hardware limited too. Some reading devices may not have enough memory to load up certain files, while maybe future ebook readers may be equipped with enough memory, to load up 10MB HTML files within a book.

I actually fail to understand the filesize limit for HTML's, as 280kB is quite a bit for text, but nothing for text/pictures and hyperlinks; and most reading devices have at least double if not over 32 times the memory to load such a file in their direct memory (like ram or flash)!
ProDigit is offline   Reply With Quote
Old 04-13-2012, 02:30 PM   #47
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 ProDigit View Post
I see,
Does that include pictures, or not?

While the HTML's may be software limited to this file size, I'm sure there are files hardware limited too. Some reading devices may not have enough memory to load up certain files, while maybe future ebook readers may be equipped with enough memory, to load up 10MB HTML files within a book.

I actually fail to understand the filesize limit for HTML's, as 280kB is quite a bit for text, but nothing for text/pictures and hyperlinks; and most reading devices have at least double if not over 32 times the memory to load such a file in their direct memory (like ram or flash)!
This does not include pictures. It is due to the file being loaded into ram memory all at once. Pictures are in separate files and only loaded when they are referenced from the text.

Dale
DaleDe is offline   Reply With Quote
Advert
Old 04-13-2012, 03:22 PM   #48
Elfwreck
Grand Sorcerer
Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.
 
Elfwreck's Avatar
 
Posts: 5,185
Karma: 25133758
Join Date: Nov 2008
Location: SF Bay Area, California, USA
Device: Pocketbook Touch HD3 (Past: Kobo Mini, PEZ, PRS-505, Clié)
The limit is about 40,000 words per HTML file, if there's no complex coding involved. (Some fanfic has more than 40,000 word chapters; while AO3 has recently fixed their ebook exports for extra-long chapters, at first they put 1 chapter = 1 html file, which froze up on my Sony. A bit of trial-and-error showed where the breakpoint needed to be.)
Elfwreck is offline   Reply With Quote
Old 04-13-2012, 09:36 PM   #49
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,313
Karma: 129333690
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
One of the reasons for this limitation is that Mobile ADE was first installed on a PRS-505. The choice was so that ADE could run with lesser hardware and it does as Sony was able to put a version of ADE on the 500.
JSWolf is offline   Reply With Quote
Old 04-14-2012, 03:20 AM   #50
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
Thank you for your valuable input guys!

I'm a little taken aback with the filesize limitation.

For the new testament,I managed to encode books upto 137kB per html, per bible book (that is without hyperlinks);but I suppose not to have any direct issues with that for now.

For the old testament, I surely will have problems with Psalms,as it has 152 books, and several hundreds of chapters.
In fact, I presume the pentateuch (first five books), will also surpass the 280kB size limit per book, which means splitting...
I don't mind splitting, just as long as it will be invisible to the end user (reading on his device).

The 280kB file limit (or 40k words) you mentioned, is it a software or hardware limitation?

Thank you.
ProDigit is offline   Reply With Quote
Advert
Old 04-14-2012, 03:27 AM   #51
Elfwreck
Grand Sorcerer
Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.
 
Elfwreck's Avatar
 
Posts: 5,185
Karma: 25133758
Join Date: Nov 2008
Location: SF Bay Area, California, USA
Device: Pocketbook Touch HD3 (Past: Kobo Mini, PEZ, PRS-505, Clié)
Firmware limitation for most of the ereaders. (Software, but not easily tweakable by the end user.) Sony readers can't read ePubs with larger than ~280kb HTML files; my PEZ froze up on some of them as well. No idea if Nooks can deal with them or not. Also no idea about phones, but for those, each PDF reading software would need to be checked.

The splitting is invisible to the end user, but most people who hand-code them put the splits where you'd put page breaks--start of a chapter or other major section.
Elfwreck is offline   Reply With Quote
Old 04-14-2012, 04:11 AM   #52
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
Thank you for clarifying this!


Just an update on my progress:
I've ran into issues while making epubs, seemingly 7z does not work updating every epub.
I'll listen to the advise given to compress/make epubs with some pack, as some readers can read 7z compressed epubs, and others can't. So I'm reading up on that now...
So far the book I'm making is ready in HTML, hyperlinks need to be added but I wanted to do this after I know more about epub itself, and what makes sense and what does not adding as code within the html.

Last edited by ProDigit; 04-14-2012 at 04:25 AM.
ProDigit is offline   Reply With Quote
Old 04-14-2012, 04:22 AM   #53
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
Hmm, yes...

What program should I use to compress a complete new epub?
I'm not too fond of command line programs.. Is there anything out there, free, that looks like 7z or winrar, but compresses the files as an epub (not compressing mimetype)?

Also, concerning the compression mentode, I am sure it'll be compressed less well than winrar or 7z, as they can use LZMA compression method, while epub seems to be limited to the aged zip / bzip2 compressor.

I looked for advanced Comp package, but all I could find is a debian package.
I'm running windows xp.

Last edited by ProDigit; 04-14-2012 at 04:24 AM.
ProDigit is offline   Reply With Quote
Old 04-14-2012, 07:20 AM   #54
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
Ok,one of you guys is incorrect,
280kB equals 280.000 characters, 40k characters means a max filesize of 40kB;in which case I'm in trouble...
ProDigit is offline   Reply With Quote
Old 04-14-2012, 07:21 AM   #55
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Please read posts more carefully before criticising. It clearly says "40,000 words", not characters.
HarryT is offline   Reply With Quote
Old 04-14-2012, 07:51 AM   #56
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
Words is very flexible. 40k 2letter words is a lot smaller than spell breakers.

Well, I'm testing some things on my reader, but still can't figure out why the title page works perfect, but when I replace the HTML file of the first chapter within the epub, with another html (which I name the same, and give exactly the same <head>, just a different text in the body), the page does not display.
It shows the amount of pages, but the screen is blank, and when I press next page, it says it's an illegal action....

I'm just trying to find out where the error is in my epub, no offense meant...
ProDigit is offline   Reply With Quote
Old 04-14-2012, 08:36 AM   #57
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
If you want to tinker with ePUB's like you do, stuff is bound to get broken. In any case, keep the validation tools close. Use the tools FlightCrew and EpubCheck to see if the ePUB is still structurally valid. It will tell you what is wrong with it if they think there is a problem.
Toxaris is offline   Reply With Quote
Old 04-14-2012, 09:40 AM   #58
Elfwreck
Grand Sorcerer
Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.
 
Elfwreck's Avatar
 
Posts: 5,185
Karma: 25133758
Join Date: Nov 2008
Location: SF Bay Area, California, USA
Device: Pocketbook Touch HD3 (Past: Kobo Mini, PEZ, PRS-505, Clié)
Quote:
Originally Posted by ProDigit View Post
Words is very flexible. 40k 2letter words is a lot smaller than spell breakers.
40k average words. If you have lots and lots of very short words, the word count will be higher. (It's often easier to get a word count than a character count for a given text.) The exact character count can be calculated--probably should be, if you want to put in lots of links & maybe other coding--but I haven't done that.

A quick check turns up that ~40,000 words is ~215,000 characters, including spaces. You'll have to experiment to sort out a more exact number.
Elfwreck is offline   Reply With Quote
Old 04-14-2012, 10:23 AM   #59
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by Elfwreck View Post
40k average words. If you have lots and lots of very short words, the word count will be higher. (It's often easier to get a word count than a character count for a given text.) The exact character count can be calculated--probably should be, if you want to put in lots of links & maybe other coding--but I haven't done that.

A quick check turns up that ~40,000 words is ~215,000 characters, including spaces. You'll have to experiment to sort out a more exact number.
The actual limit is the amount of memory available to store the XML "parse tree", so file size limits are only going to be approximate anyway. Really the best we can do is to say that if you restrict the size of a flow to a 280k file, or to 40k words, you should be safe enough.
HarryT is offline   Reply With Quote
Old 04-14-2012, 10:50 AM   #60
Elfwreck
Grand Sorcerer
Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.
 
Elfwreck's Avatar
 
Posts: 5,185
Karma: 25133758
Join Date: Nov 2008
Location: SF Bay Area, California, USA
Device: Pocketbook Touch HD3 (Past: Kobo Mini, PEZ, PRS-505, Clié)
Quote:
Originally Posted by HarryT View Post
The actual limit is the amount of memory available to store the XML "parse tree", so file size limits are only going to be approximate anyway. Really the best we can do is to say that if you restrict the size of a flow to a 280k file, or to 40k words, you should be safe enough.
Character count will be relevant if there are extensive links or other coding. If every paragraph has a link, it'll be a lot less than 40k words; most word-count systems will assume <a href="../Text/Lamentations05.xhtml#Verse15"> is two words, and the anchor point is one word--unless the program reads it as attached to the word itself.

An anchor point & potential links to every verse is a lot of characters that don't count as extra words to most programs. But an estimate like "200k characters and then wrap it up" would still work.

Last edited by Elfwreck; 04-14-2012 at 10:52 AM.
Elfwreck is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
new ereader wanted, but cant make up mind which... loulou123 Which one should I buy? 10 01-20-2012 02:06 PM
added epub, now wanted to get metdata salines Calibre 12 11-24-2011 01:28 AM
'Amazon couldn’t make a Kindle [in the U.S.] if it wanted to' RockdaMan News 54 08-25-2011 09:39 AM
Wanted: EPUB testbed e-reader - what's good and cheap Greg Anos Which one should I buy? 4 10-11-2010 10:58 AM
Just suppose AlexBell Kindle Formats 4 04-06-2009 07:08 AM


All times are GMT -4. The time now is 10:28 AM.


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