Thread: LRF output
View Single Post
Old 08-15-2008, 07:26 AM   #719
pepak
Guru
pepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura about
 
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
Quote:
Originally Posted by kovidgoyal View Post
html2lrf will also read metadata from opf files that are in the same directory as the file you are trying to convert
Anyone, could you please post a sample OPF file? Just so that I can see how it looks like and be able to create my own :-)

(For now, I am putting my metadata inside HTML files, but since HTML2LRF does not and will not support that, I would have to write an application which would read them from the HTML and then construct a command line for HTML2LRF.

I might do that anyway, because it would allow a lot tidier directory structure. E.g.:

Code:
<meta name="lrf:author" content="John Smith">
<meta name="lrf:author-sort" content="SMITH JOHN">
...
<meta name="lrf:force-page-break-before-tag" content="h[123]">
I would much prefer to have this directly in HTML2LRF, but it should be easy enough to write my own application for that)
pepak is offline   Reply With Quote