View Single Post
Old 02-16-2010, 01:24 AM   #293
Tactical Fart
Junior Member
Tactical Fart began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Nov 2009
Device: G1
I've been looking at the documentation a little harder (since my post about increasing the TOC past 50) and found a bunch of metadata arguments that I found useful. However, the program I'm writing has a flaw. It uses calibre's ebook-convert command by sending it to the OS as a command. My program gets data from the internet, parses and organizes it, then calls ebook-convert to make the ebook. But if an author's name has white space, like "John Doe", and I use the "--author" argument, it will only see
Code:
-- author "John
No, that's not a typo. It will accept the quotation marks as part of the argument. The only work around I can see is to put the information into the html file(s) and let calibre finish the job. Is there a way to make ebook-convert look in a certain file for metadata, such as author, comments, etc, when converting?
Tactical Fart is offline