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 04-14-2009, 02:59 PM   #1
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
on-the-fly epub creation

Need some (major) help...

I have a modified PHP script (based on FLAG) that dynamically creates a Stanza catalog for my favorite FanFiction.Net categories. It basically allows me to browse FanFiction.Net in real-time and creates epub-format ebooks on the fly using Calibre for reading in Stanza iPhone. The script currently runs on my Windows PC running XAMPP.

I have a shared Linux hosting account on 1and1 and I wish to upload the script there. My current dilemma is the epub creation part. I'm currently researching what methods I can use to create epub files using utilities/etc already installed or are user-installable on the shared account. The Linux host has Perl, Python and PHP installed and the operating system is CentOS, iirc.

Options I'm considering:
  1. Install Calibre on Linux Host
    Pros:
    • no changes to the PHP script required
    Cons:
    • no idea how to do this or if it's even feasible
  2. BookGlutton API
    Pros:
    • seems like this might be the easiest to implement
    Cons:
    • dependent on another website
    • don't know how I'm supposed to handle the post request
  3. DocBook+XSLT
    Pros:
    • seems like the dependencies should already be installed or are user-installable (no admin rights required)
    Cons:
    • don't know a thing about docbook
    • don't know a thing about xslt
  4. Code my own PHP script to create epubs
    Pros:
    • highly customizable
    Cons:
    • I might be able to finish this in 2 years if I'm lucky
Right now, I'm thinking using the BookGlutton API might be the best option for me (unless, of course, it's possible to install Calibre or at least html2epub on a shared host). I'm just not sure how I'm supposed to handle the post requests via PHP. Currently, I have an epub.php script that calls html2epub and returns the epub file. I guess I could modify this to send a post request to BookGlutton instead. I just don't know how, particularly the part where you upload the html file.

Anyway, not really looking for a discussion on the merits of the different methods. Just asking for help on the how. If you know of another way to do this (preferably something even an inexperienced coder can do), please post it here.

Thanks!
ilovejedd is offline   Reply With Quote
Old 04-14-2009, 03:09 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
the calibre binary installer is (almost) fully self contained, so you should be able to install it on a shared host.
kovidgoyal is offline   Reply With Quote
Advert
Old 04-14-2009, 03:59 PM   #3
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Thanks! That's good to know.

I don't have secure shell/terminal access to the shared host. Can I just extract the tarball on my home computer and upload via ftp? What does calibre_postinstall do? The binary installer seems to call it at the end. Is it necessary to run it?

Again, thank you very, very much!
ilovejedd is offline   Reply With Quote
Old 04-14-2009, 04:01 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No you should be able to run it without running postinstall (postinstall just sets up integration with the host OS which you don't need if all you want to do is conversions). I don't know if the FTP will preserve execute permissions on the files in the tarball though
kovidgoyal is offline   Reply With Quote
Old 04-14-2009, 08:35 PM   #5
DigitalFeonix
Junior Member
DigitalFeonix began at the beginning.
 
DigitalFeonix's Avatar
 
Posts: 8
Karma: 10
Join Date: Dec 2008
Device: Sony PRS-505
Quote:
Originally Posted by ilovejedd View Post
Need some (major) help...

I have a modified PHP script (based on FLAG) that dynamically creates a Stanza catalog for my favorite FanFiction.Net categories. It basically allows me to browse FanFiction.Net in real-time and creates epub-format ebooks on the fly using Calibre for reading in Stanza iPhone. The script currently runs on my Windows PC running XAMPP.

I have a shared Linux hosting account on 1and1 and I wish to upload the script there. My current dilemma is the epub creation part. I'm currently researching what methods I can use to create epub files using utilities/etc already installed or are user-installable on the shared account. The Linux host has Perl, Python and PHP installed and the operating system is CentOS, iirc.

Options I'm considering:
  1. Install Calibre on Linux Host
    Pros:
    • no changes to the PHP script required
    Cons:
    • no idea how to do this or if it's even feasible
  2. BookGlutton API
    Pros:
    • seems like this might be the easiest to implement
    Cons:
    • dependent on another website
    • don't know how I'm supposed to handle the post request
  3. DocBook+XSLT
    Pros:
    • seems like the dependencies should already be installed or are user-installable (no admin rights required)
    Cons:
    • don't know a thing about docbook
    • don't know a thing about xslt
  4. Code my own PHP script to create epubs
    Pros:
    • highly customizable
    Cons:
    • I might be able to finish this in 2 years if I'm lucky
Right now, I'm thinking using the BookGlutton API might be the best option for me (unless, of course, it's possible to install Calibre or at least html2epub on a shared host). I'm just not sure how I'm supposed to handle the post requests via PHP. Currently, I have an epub.php script that calls html2epub and returns the epub file. I guess I could modify this to send a post request to BookGlutton instead. I just don't know how, particularly the part where you upload the html file.

Anyway, not really looking for a discussion on the merits of the different methods. Just asking for help on the how. If you know of another way to do this (preferably something even an inexperienced coder can do), please post it here.

Thanks!
I created my own script similar to FLAG some time ago to create .oeb files for my EB-1150 from stories on portkey.org and fanfiction.net. I have updated it to output .epub using a class to zip up the data. If you have customized FLAG, this is pretty easy to integrate as an output method.

Usage as follows:

PHP Code:
$tstamp time(); // timestamp for zip entries
$epub   = new ZipCreate();

$prev_encoding $epub->ztype;
$epub->ztype 'store';
$epub->add_file('application/epub+zip''mimetype'$tstamp);
$epub->ztype $prev_encoding;

// add container
$epub->add_file($container'META-INF/container.xml'$tstamp);

// add opf
$epub->add_file($opf'OEBPS/content.opf'$tstamp);

// add toc
$epub->add_file($toc'OEBPS/toc.ncx'$tstamp);

// add your xhtml and CSS and pictures and fonts here

// finish it up and download
$output_file $epub->build_zip();
$output_name $story['title'] . '.epub';
$output_mime 'application/epub+zip';

header('Content-Type: application/x-download');
header('Content-Length: 'strlen($output_file));
header('Content-Disposition: attachment; filename="' $output_name '"');
header('Content-Transfer-Encoding: binary');

echo 
$output_file
Attached Files
File Type: zip zipcreate.cls.zip (4.6 KB, 1693 views)
DigitalFeonix is offline   Reply With Quote
Advert
Old 04-14-2009, 09:45 PM   #6
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by DigitalFeonix View Post
I created my own script similar to FLAG some time ago to create .oeb files for my EB-1150 from stories on portkey.org and fanfiction.net. I have updated it to output .epub using a class to zip up the data. If you have customized FLAG, this is pretty easy to integrate as an output method.
Thanks! That looks pretty cool. If installing Calibre doesn't pan out, I might work with this. However, I didn't see any code for opf and ncx creation and those parts, I'm still trying to figure out how to handle. I tried reading the IDPF spec, but ADHD kicked in before anything could sink in.
ilovejedd is offline   Reply With Quote
Old 04-14-2009, 10:26 PM   #7
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by DigitalFeonix View Post
I created my own script similar to FLAG some time ago to create .oeb files for my EB-1150 from stories on portkey.org and fanfiction.net.
Wow, that would make a great Impserve plugin... but in reverse, that is, .epub to .imp and served up to the EBW1150.

p.s. care to share your .oeb script? Inquirying minds would like to know...
nrapallo is offline   Reply With Quote
Old 04-15-2009, 10:34 AM   #8
DigitalFeonix
Junior Member
DigitalFeonix began at the beginning.
 
DigitalFeonix's Avatar
 
Posts: 8
Karma: 10
Join Date: Dec 2008
Device: Sony PRS-505
Essentially the script takes three arguments; a site, a story id and an output format. I slurp the whole story into an associative array - using htmlpurifier as it's brought in - and output using the desired format.

For epub the .opf is created using this

PHP Code:
/******************************************************************************
    CONTENT.OPF
******************************************************************************/

// create info for XML
$manifest   '';
$spine      '';

for (
$i=1;$i<=$story['chapter_count'];$i++)
{
    
$id sprintf('%03d'$i);

    
$manifest  .= '        <item id="chapter-' $id '" href="chapter-' $id '.xhtml" media-type="application/xhtml+xml"/>' "\n";
    
$spine     .= '        <itemref idref="chapter-' $id '"/>' "\n";
}

$story_title $story['title'];

// add the OPF info
$opf = <<<EOM
<{$qm}xml version="1.0"{$qm}>
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="bookid" version="2.0">
    <metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
        <dc:title>
{$story_title}</dc:title>
        <dc:identifier id="bookid">urn:uuid:
{$UID}</dc:identifier>
        <dc:language>en</dc:language> 
        <dc:creator>
{$story['author']}</dc:creator>
        <dc:publisher>DigitalFeonix</dc:publisher> 
        <dc:rights>Public Domain</dc:rights> 
        <dc:subject>FanFiction</dc:subject>
    </metadata>
    <manifest>
        <item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/>
        <item id="cover" href="cover.xhtml" media-type="application/xhtml+xml"/>
{$manifest}
        <item id="backcover" href="backcover.xhtml" media-type="application/xhtml+xml"/>
    </manifest>
    <spine toc="ncx">
        <itemref idref="cover"/>
{$spine}
        <itemref idref="backcover"/>
    </spine>
</package>

EOM;

$epub->add_file($opf'OEBPS/content.opf'$tstamp); 
and the toc is created using
PHP Code:
/******************************************************************************
    TOC.NCX
******************************************************************************/

// create info for XML
$navpoint   '';

for (
$i=1;$i<=$story['chapter_count'];$i++)
{
    
$id     sprintf('%03d'$i);
    
$iplus  $i 1;

    
$chapter_title $story['chapters'][$i]['title'];

    
$navpoint  .= <<<EOM
        <navPoint id="navpoint-{$iplus}" playOrder="{$iplus}">
            <navLabel>
                <text>
{$chapter_title}</text>
            </navLabel>
            <content src="chapter-
{$id}.xhtml"/>
        </navPoint>

EOM;
}

$iplus $i 1;

//
$toc = <<<EOM
<{$qm}xml version="1.0" encoding="UTF-8" {$qm}>
<!DOCTYPE ncx PUBLIC "-//NISO//DTD ncx 2005-1//EN" "http://www.daisy.org/z3986/2005/ncx-2005-1.dtd">
<ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1">
    <head>
        <meta name="dtb:uid" content="
{$UID}"/>
        <meta name="dtb:depth" content="1"/>
        <meta name="dtb:totalPageCount" content="0"/>
        <meta name="dtb:maxPageNumber" content="0"/>
    </head>
    <docTitle>
        <text>
{$story_title}</text>
    </docTitle>
    <docAuthor>
        <text>
{$story['author']}</text>
    </docAuthor>
    <navMap>
        <navPoint id="navpoint-1" playOrder="1">
            <navLabel>
                <text>Cover</text>
            </navLabel>
            <content src="cover.xhtml"/>
        </navPoint>
{$navpoint}
        <navPoint id="navpoint-
{$iplus}" playOrder="{$iplus}">
            <navLabel>
                <text>Backcover</text>
            </navLabel>
            <content src="backcover.xhtml"/>
        </navPoint>
    </navMap>
</ncx>

EOM;

$epub->add_file($toc'OEBPS/toc.ncx'$tstamp); 
The .oeb script takes the same associative array and outputs the flat .oeb file with the mime wrapping, building the .opf part the same way. This .oeb script was intended to create files suitable for upload to the eBookwise personal content server.
DigitalFeonix is offline   Reply With Quote
Old 04-15-2009, 11:01 AM   #9
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by DigitalFeonix View Post
Essentially the script takes three arguments; a site, a story id and an output format. I slurp the whole story into an associative array - using htmlpurifier as it's brought in - and output using the desired format.

For epub the .opf is created using this

PHP Code:
**snip** 
The .oeb script takes the same associative array and outputs the flat .oeb file with the mime wrapping, building the .opf part the same way. This .oeb script was intended to create files suitable for upload to the eBookwise personal content server.
Good to know. I take it that the server side .php code would have to be installed on a personal server. Would this be easy to port to Python i.e. Impserve plugin?

I'm working on a Perl script, Epub2IMP.pl, that will convert any .epub to .imp after it is tweaked to accomodate some shortcomings of the ETI eBook Publisher software. It seems that any <img src> with a width=100% stretches the image without regard to the image's aspect ratio. Also, any CSS applied to <div class=>'s doesn't appear to be honoured so must be wrapped within a <p class=> </p> with the same CSS class reference.

To boot, within a .opf, even capiltalized Dublin Core metadata elements i.e. <dc:Title> cause problems. My Perl script will do many text subtitutions to alleviate these issues. Hopefully, ETI will improve their .epub support, especially since they co-authored many of the standards involved.
nrapallo is offline   Reply With Quote
Old 04-15-2009, 12:40 PM   #10
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Thanks DigitalFeonix! Those scripts really help a lot. I'm still going to try to get Calibre working, but if it doesn't, I now have fallback #4, except you've done the job for me. Haven't been able to test anything, though, since I'm experiencing some weird issues with 1and1 mod_rewrite. The .htaccess file I use for my local XAMPP server doesn't want to work with 1and1 so I'm slowly trying to troubleshoot it.

If/when I get this working, I can start on making the covers look spiffy with ImageMagick.

@nrapallo
The PHP scripts don't look complicated at all, barring for the ZipCreate class. That, though, I attribute to my lack of knowledge of the zip file structure. Seems like that's the only thing you really need to port to Python. The rest is basically just creating text files.

Last edited by ilovejedd; 04-15-2009 at 12:46 PM.
ilovejedd is offline   Reply With Quote
Old 04-15-2009, 12:54 PM   #11
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by ilovejedd View Post
@nrapallo
The PHP scripts don't look complicated at all, barring for the ZipCreate class. That, though, I attribute to my lack of knowledge of the zip file structure. Seems like that's the only thing you really need to port to Python. The rest is basically just creating text files.
Thanks for the heads up!

I'm still not proficient at coding in Python and really need my hand held...
nrapallo is offline   Reply With Quote
Old 04-15-2009, 03:45 PM   #12
DigitalFeonix
Junior Member
DigitalFeonix began at the beginning.
 
DigitalFeonix's Avatar
 
Posts: 8
Karma: 10
Join Date: Dec 2008
Device: Sony PRS-505
The zipcreate class was not written by me and is a little over my head. I did work with the author to make sure that epubs that it created worked within ADE and that the native zip utilities on both Mac and PC could open them.

I have looked at python as a possible language to pick up, but my scripts should be easy to port for someone with knowledge in both.

The scripts should be hosted wherever you are going to download or create the epubs from. There is nothing in them that most hosting companies would disallow (ie no exec() calls).
DigitalFeonix is offline   Reply With Quote
Old 04-16-2009, 01:15 PM   #13
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Tried Calibre last night (still haven't fixed mod_rewrite, though). Looks like some of the commands used in the html2epub shell script requires admin access and we're only given user rights. I even changed permissions to 777 and still no go. Created a test.sh and that worked just fine with shell_exec(). I'll probably try the ZipCreate method tonight or at least attempt to create a wrapper for the whole epub creation process.

Thanks again for all the help!
ilovejedd is offline   Reply With Quote
Old 04-16-2009, 01:30 PM   #14
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
html2epub shouldn't require admin access. What errors do you get when running it?
kovidgoyal is offline   Reply With Quote
Old 04-16-2009, 03:19 PM   #15
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: 73,866
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DigitalFeonix View Post
The zipcreate class was not written by me and is a little over my head. I did work with the author to make sure that epubs that it created worked within ADE and that the native zip utilities on both Mac and PC could open them.

I have looked at python as a possible language to pick up, but my scripts should be easy to port for someone with knowledge in both.

The scripts should be hosted wherever you are going to download or create the epubs from. There is nothing in them that most hosting companies would disallow (ie no exec() calls).
Did you check that the ePub works on a 505 or 700?
JSWolf 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
Atlantis Word Processor - ePub creation tool awp ePub 408 01-07-2021 07:13 AM
ePub creation is a breeze mtravellerh Sigil 12 12-07-2009 03:21 AM
epub creation tools jbenny ePub 20 03-13-2009 12:30 PM
ePub creation / conversion philippd ePub 8 06-04-2008 04:23 AM
ePub Creation Utility KoopaOne ePub 13 04-30-2008 10:38 AM


All times are GMT -4. The time now is 01:09 AM.


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