View Single Post
Old 11-11-2007, 11:10 AM   #1
BlackVoid
Evangelist
BlackVoid ought to be getting tired of karma fortunes by now.BlackVoid ought to be getting tired of karma fortunes by now.BlackVoid ought to be getting tired of karma fortunes by now.BlackVoid ought to be getting tired of karma fortunes by now.BlackVoid ought to be getting tired of karma fortunes by now.BlackVoid ought to be getting tired of karma fortunes by now.BlackVoid ought to be getting tired of karma fortunes by now.BlackVoid ought to be getting tired of karma fortunes by now.BlackVoid ought to be getting tired of karma fortunes by now.BlackVoid ought to be getting tired of karma fortunes by now.BlackVoid ought to be getting tired of karma fortunes by now.
 
Posts: 415
Karma: 510423
Join Date: Nov 2006
Device: Sony PRS-505
Batch conversion of txt

I have a lot of text in txt format and I would like to batch convert all of them to lrf. Yes, I know I could convert 1 by 1, but I would like to put the books on SD cards. The way the Reader handles txt files is quite bad (line breaks).

Is there a good tool to batch convert a lot of files? I have tried libprs500, but that program is a JOKE. If I try to convert a lot of text files, I have to specify formatting information for each book (margin), because it forgets the settings (???). txt2lrf cannot handle *.txt which is just plain weird. Really. I appreciate the effort that went into libprs500, but it really is a major pain to use. It is not good for batch conversion at all. Also it is weird. Conversion does not save? Output goes into separate sub directories? Major weirdness!

Is there a nice program that can batch-convert?

My other issue is, that some of my files have something like this every couple of pages:
file:///K|/eMule/Incoming/Poe,%20Edgar%20-%20Crow%20(v1.0)%20[html].html (3 of 252)8-12-2006 23:41:53
Crow

Any good tool that can remove such garbage from txt files?

And my 3rd question:
Where can I find specification for the lrf format? I am a programmer myself and contemplating to write a nice converter that it is not a major pain in the a**.
BlackVoid is offline   Reply With Quote