Thread: PRS-500 HTML2LRF
View Single Post
Old 01-03-2007, 08:08 PM   #43
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: 45,424
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You could use something like CLI
http://jakarta.apache.org/commons/cli/

Also setting the title on the command line doesn't seem to work
Code:
java -jar /home/kovid/download/BBeBook-0.2.jar -t'test title' test.html && lrf-meta test.html.lrf | grep Title
Title: test.html
Ditto for author
Code:
java -jar /home/kovid/download/BBeBook-0.2.jar -a'test author' test.html && lrf-meta test.html.lrf | grep Author
Author: Unknown Author

Last edited by kovidgoyal; 01-03-2007 at 08:12 PM.
kovidgoyal is online now   Reply With Quote