|03-31-2010, 02:20 PM||#1|
Join Date: Mar 2010
Device: Nook, Kindle
Need help working with zip files
I am trying to process a bunch of zip files (a couple of hundred), each has a formatted name (hopefully correct) containing author and title, and in the zip file has a text file (some of the newer ones have a html but most is just a .txt file) and some have a .jpg or a .gif file. I would like to parse them out to be read by my nook/kindle. I would like to put title / author / chapter etc and put the cover on there if it has one. I can see the zip file read it in, but none of the formatting etc is in there.
I guess what I need to ask is
1) where to begin
2) if the existing filters/plug ins can do this
3) if not where to start coding this plugin.
4) how to automate (batch file/script file?)
I am running on a Mac, if that makes a difference.
|04-11-2010, 02:02 PM||#3|
Creator of calibre
Join Date: Oct 2006
Location: Mumbai, India
write a filetype plugin that runs on import of zip files and a metadata reader plugin for reading metadata from zipfiles. You can work off the existing plugins in the calibre source code. See the sections on writing plugins in the user manual
|batch, parse, txt, zip|
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Uploading Zip files??||crich70||Upload Help||1||10-02-2010 05:51 AM|
|Convert from HTML (zip) no longer working||alhscw||Calibre||2||08-03-2010 02:07 PM|
|ignore zip files?||noelhx||Calibre||2||06-25-2010 03:06 AM|
|How do I zip my files into an ePub?||eosrose||ePub||5||05-06-2010 06:07 PM|
|Convert zip with multiple text files to MOBI||mindfire||Calibre||1||03-27-2010 11:19 AM|