Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 09-21-2009, 03:18 AM   #1
DairyKnight
Connoisseur
DairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with others
 
Posts: 63
Karma: 2600
Join Date: Oct 2008
Device: PRS-505
Trailing & Padding of Mobi Pocket files

Hi all, I'm working on a tool to generate mobipocket files on Mac. (I know
mobiperl could do that... but there're reasons I'll need my own...)

As I go through the mobi files, I found that between the raw html files and the images, there's always a 2 bytes padding with 0, anyone knows why? Or I can simply specify 'first img record' to be 2?

Second thing is that I found in every mobi file there's a trailing record starting with 'FLIS', anyone knows what it is?

Thanks in advance.
DairyKnight is offline   Reply With Quote
Old 09-21-2009, 03:27 AM   #2
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,504
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
I can't answer either of your questions, but if you do find out, please add the information to the Mobipocket format page of the wiki:

https://wiki.mobileread.com/wiki/MOBI

Quote:
Originally Posted by DairyKnight View Post
Hi all, I'm working on a tool to generate mobipocket files on Mac. (I know
mobiperl could do that... but there're reasons I'll need my own...)

As I go through the mobi files, I found that between the raw html files and the images, there's always a 2 bytes padding with 0, anyone knows why? Or I can simply specify 'first img record' to be 2?

Second thing is that I found in every mobi file there's a trailing record starting with 'FLIS', anyone knows what it is?

Thanks in advance.
pdurrant is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil OPF to MOBI Pocket Creator crutledge Sigil 9 10-08-2010 01:26 PM
Rip out DRM off Mobi Pocket. rock Astak EZReader 23 12-19-2009 01:04 AM
User Guide to Mobi pocket and Mobileread natjusaj Amazon Kindle 2 10-26-2009 10:17 AM
Mobi Pocket Reader DavidP iRex 3 02-23-2009 03:13 PM
Detect Mobi pocket pagebreak in calibre 0.4.99 Icarusbop Calibre 5 10-24-2008 03:12 AM


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


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