View Single Post
Old 01-13-2009, 12:53 AM   #49
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,110
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 rgibbo View Post
Here's my version of flag for windows, it is now similar to the original so it *might* run on linux (i dont have linux so i don't know if it works on there or not)
Thanks for this. I have it installed on a virtual machine (VPC 2007: XP Pro SP2, Apache 2.2.11 and PHP 5.2.8) and it seems to be working quite well. I just copied the code from lrf.codec.php to get epub.codec.php working. Lol, I was too impatient to wait for an "official" fix. I had to copy all the contents of the calibre (v0.4.128) install directory to lib\calibre because of all the python dependencies of html2epub, though.

I appreciate how modular the code for this program is. It makes it very easy to add new sources and output file types. I'm currently attempting to make source files for other sites. I've also customized ffnet.source.php, epub.codec.php and lrf.codec.php to include the fanfic summary/description.

I'm attaching a source file for Fictionpress.com as well as codec and Fanfiction.net source files modified from rgibbo's Windows version. I reckon the source files should work for both Linux and Windows. I checked ffnet.source.php from the tarball and rgibbo's zip and there didn't seem to be any difference between the two.
Attached Files
File Type: zip fpress.zip (1.3 KB, 539 views)
File Type: zip ffnet.zip (1.3 KB, 555 views)
File Type: zip codec.zip (3.2 KB, 524 views)

Last edited by ilovejedd; 01-19-2009 at 04:04 PM.
ilovejedd is offline   Reply With Quote