Originally Posted by DigitalFeonix
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.