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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-31-2010, 01:20 PM   #1
jeasterling
Junior Member
jeasterling began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2010
Device: Nook, Kindle
Need help working with zip files

Hello all,
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.

Thanks,
Jonathan
jeasterling is offline   Reply With Quote
Old 04-11-2010, 09:28 AM   #2
jeasterling
Junior Member
jeasterling began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2010
Device: Nook, Kindle
Let me see if this works, how can I apply text filters / to files inside of a zip file?
jeasterling is offline   Reply With Quote
Advert
Old 04-11-2010, 01:02 PM   #3
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,779
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
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
kovidgoyal is offline   Reply With Quote
Reply

Tags
batch, parse, txt, zip

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Uploading Zip files?? crich70 Upload Help 1 10-02-2010 04:51 AM
Convert from HTML (zip) no longer working alhscw Calibre 2 08-03-2010 01:07 PM
ignore zip files? noelhx Calibre 2 06-25-2010 02:06 AM
How do I zip my files into an ePub? eosrose ePub 5 05-06-2010 05:07 PM
Convert zip with multiple text files to MOBI mindfire Calibre 1 03-27-2010 10:19 AM


All times are GMT -4. The time now is 11:34 AM.


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