Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Other formats

Notices

Reply
 
Thread Tools Search this Thread
Old 04-27-2013, 03:30 PM   #1
tleon
Member
tleon began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Apr 2011
Device: Kindle
Looking for OEB reader and converter

I've got some ebooks in OEB format and want to convert them to epub. But I was unable to find a working converter. The only one I found is the hamster ebook converter and it is crashing right at startup.

Any ideas?
tleon is offline   Reply With Quote
Old 04-29-2013, 05:02 PM   #2
tleon
Member
tleon began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Apr 2011
Device: Kindle
Ok, I found a workable solution. The oeb format is actually just a mulitpart mime format. First I simply tried to just change the file extension to eml and open it with Thunderbird. This nearly works but has the draw back that only the first html file is opened as an email and the pictures are identified as attachments. As the second html file contains the book that didn't help much.

What helped was Total Commander's option to decode files in its File menu. That extracts all files. Than it is a little effort to rename the files and remove the text string that separates the parts in the mime file (a line starting with -- and then some chars). If you now zip the files and add them to Calibre it's possible to convert them to a new format.
tleon is offline   Reply With Quote
Advert
Old 04-30-2013, 03:37 PM   #3
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
The OEB format is covered in our wiki. I am glad you found a way to convert it. It is interesting that you were able to use email as a method of separating the parts but the individual pieces are really a defined standard that was later evolved into ePub.

Dale
DaleDe is offline   Reply With Quote
Old 05-02-2013, 03:59 PM   #4
tleon
Member
tleon began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Apr 2011
Device: Kindle
The problem was not the format as it is described in the wiki. The problem was that it wasn't in a ZIP file, what it usually seams to be. The files contained in the multipart MIME were as described in the wiki.
tleon is offline   Reply With Quote
Old 07-30-2013, 05:18 PM   #5
mike05
Junior Member
mike05 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2013
Device: Tolino Shine, Trekstor Pyrus
I have the same problem how tleon, i want to convert an oeb file to an epub file. I have extracted the oeb file with Total Commander and now i have around 100 .bin files and two .txt files. The next step of tleon was to rename the files and remove some text strings but I have no idea which file i have to rename and to remove. Hope someone can help me.
Mfg

mike05 is offline   Reply With Quote
Advert
Old 07-30-2013, 07:28 PM   #6
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
the bin files can be ignored. The OEB can be referenced directly by Sigil I believe. Open it in Sigil and see what happens. These are Open Ebook files (version 1 ePub). It can also be referenced by MobiCreator to create a mobi file. If Sigil doesn't like it then try making a Mobi and then converting with Calibre.
DaleDe is offline   Reply With Quote
Old 07-31-2013, 01:06 PM   #7
mike05
Junior Member
mike05 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2013
Device: Tolino Shine, Trekstor Pyrus
I think I have nearly solved it. I wasn't successful with Sigil and MobiCreator, both haven't worked with oeb, but i found out that the bin files are pictures the first txt ist like the content.opf in an epub and the second txt is the whole text with html code, now i think the last step is to convert it in calibre to an epub, but i have no idea how i should do this.
mike05 is offline   Reply With Quote
Old 07-31-2013, 01:41 PM   #8
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 mike05 View Post
I think I have nearly solved it. I wasn't successful with Sigil and MobiCreator, both haven't worked with oeb, but i found out that the bin files are pictures the first txt ist like the content.opf in an epub and the second txt is the whole text with html code, now i think the last step is to convert it in calibre to an epub, but i have no idea how i should do this.
Try renaming the files to the correct extensions and then try Sigil again.

The oeb should be .oeb and the second text should be .htm or .html or .xhtml
The images should be whatever extension to match the type.

Dale
DaleDe is offline   Reply With Quote
Old 07-31-2013, 02:29 PM   #9
mike05
Junior Member
mike05 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2013
Device: Tolino Shine, Trekstor Pyrus
Thank you its working with MobiCreator and Sigil now, one last question, the left margin has always a different size, can i set the left margin for all sentences to the same size?
mike05 is offline   Reply With Quote
Old 07-31-2013, 11:07 PM   #10
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 mike05 View Post
Thank you its working with MobiCreator and Sigil now, one last question, the left margin has always a different size, can i set the left margin for all sentences to the same size?
Since there is no CSS the left margin must be in the file itself as a style entry in the HTML file. You can take a look at the code view in Sigil or use a text editor like Notepad++ and view the html file. You may need a search and replace to find the various left margins and remove them so that a single setting in the body statement can be used to set a uniform margin.

For ePub you can build a CSS to handle this sort of thing but MobiCreator does not support CSS.

Dale
DaleDe is offline   Reply With Quote
Old 08-01-2013, 07:27 AM   #11
mike05
Junior Member
mike05 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2013
Device: Tolino Shine, Trekstor Pyrus
How can i build a css which sets all left margins to the same size if i am not using mobicreator but sigil or calibre instead
mike05 is offline   Reply With Quote
Old 08-01-2013, 01:21 PM   #12
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 mike05 View Post
How can i build a css which sets all left margins to the same size if i am not using mobicreator but sigil or calibre instead
See the wiki on what you can set in CSS and examples on its use.
A sample might be:

body {margin-left: 5px; margin-right: 3px }

but the current settings on the paragraphs would override this setting since they are more local. You need to remove the current settings before using the CSS.

Dale
DaleDe is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OEB to ePub Conversion Wasgo ePub 1 03-15-2012 03:01 AM
Header Support with oeb-page-head Tag Working/Examples? EatingPie ePub 1 12-23-2010 05:31 AM
oeb:redirect Hyperlinks to different ebook (on the Kindle) Kitard Kindle Developer's Corner 1 07-17-2010 01:02 PM
OEB to Single HTML File Converter? James Bryant Workshop 3 06-29-2008 09:28 AM
New format? (OEB) Tscherno iRex 21 07-24-2006 02:35 AM


All times are GMT -4. The time now is 02:08 AM.


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