Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 09-28-2012, 08:28 AM   #1
Chang
Connoisseur
Chang began at the beginning.
 
Posts: 77
Karma: 34
Join Date: Oct 2009
Device: none
A program for converting HTML pages into EPUB on a server side

I need a program which would be able to convert HTML pages into EPUB file on a server side on the fly. I guess the program I'm looking for is same or similar what these online epub converters use. Can you give me a hint where to start?
Chang is offline   Reply With Quote
Old 09-28-2012, 03:27 PM   #2
Iznogood
Guru
Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.
 
Iznogood's Avatar
 
Posts: 929
Karma: 15752887
Join Date: Mar 2011
Location: Norway
Device: Ipad, kindle paperwhite
If you are in a linux environment, epubs can be zipped from the command line or in bash:
zip -X0 "../$folder.epub" "mimetype"
zip -X9r "../$folder.epub" "META-INF"
zip -X9r "../$folder.epub" "OEBPS"

where $folder is a parameter in the bash script. Adjust the paths to your own folder structure. You first have to make the OEBPS folder with the html files (can be fetched from the internet using wget) and content.opf and toc.ncx, which can be created from the command line.

If you want to generate your own .ops and -ncx file you simply use something like this in your script:

"string to write to file" > content.opf

But if you're looking for a finished program to do it for you, I really have no idea. But it's possible to do it all from the command line or a bash script
Iznogood is offline   Reply With Quote
Old 09-28-2012, 04:08 PM   #3
Iznogood
Guru
Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.
 
Iznogood's Avatar
 
Posts: 929
Karma: 15752887
Join Date: Mar 2011
Location: Norway
Device: Ipad, kindle paperwhite
I forgot to mention eCub (see link here). eCub seem to have a command line interface to be run from a terminal or bash script after you have downloaded your html files
Iznogood is offline   Reply With Quote
Old 09-28-2012, 04:14 PM   #4
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: 2,898
Karma: 2909045
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
I believe some sites use Calibre in some form...
Toxaris is offline   Reply With Quote
Old 09-28-2012, 04:28 PM   #5
Tex2002ans
Evangelist
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 456
Karma: 360271
Join Date: Jul 2012
Device: Nook
Something along these lines may or may not be what you are looking for:

http://dotepub.com/
Tex2002ans is online now   Reply With Quote
Old 09-29-2012, 05:40 AM   #6
Janet16
Enthusiast
Janet16 ought to be getting tired of karma fortunes by now.Janet16 ought to be getting tired of karma fortunes by now.Janet16 ought to be getting tired of karma fortunes by now.Janet16 ought to be getting tired of karma fortunes by now.Janet16 ought to be getting tired of karma fortunes by now.Janet16 ought to be getting tired of karma fortunes by now.Janet16 ought to be getting tired of karma fortunes by now.Janet16 ought to be getting tired of karma fortunes by now.Janet16 ought to be getting tired of karma fortunes by now.Janet16 ought to be getting tired of karma fortunes by now.Janet16 ought to be getting tired of karma fortunes by now.
 
Janet16's Avatar
 
Posts: 34
Karma: 487354
Join Date: Jul 2011
Device: iPad
I think you may mean this Epub creator?
http://www.enolsoft.com/epub-creator-for-mac.html
support HTML input and get epub files.
Janet16 is offline   Reply With Quote
Old 09-29-2012, 10:59 AM   #7
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 161
Karma: 86115
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
i really like dotepub mentioned above. http://myebookmaker.com/ is another but i haven't really tried it out. think there's a few more available as chrome extensions
mzmm is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting .pdf to ePub - Pages jumbled. Xyo Workshop 4 07-31-2011 01:15 PM
Newbie Needs Help: HTML pages to ePub Amalthea Conversion 3 03-22-2011 09:03 PM
PDF 2 pages side by side convert to KINDLE Tono1 Amazon Kindle 4 11-18-2010 01:21 PM
Problem converting a webpage html to LRF, what program should I use? Long page turns seajewel Workshop 1 08-01-2008 06:32 AM
How to read a PDF format with 2 pages side by side ? henkvdg iRex 2 12-15-2006 05:38 AM


All times are GMT -4. The time now is 06:29 PM.


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