Thread: LRF output
View Single Post
Old 08-15-2008, 01:57 PM   #722
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 llasram
The OPF spec itself includes a fair number of examples.
Thanks. For some reason my searches only returned other OPFs, not this one.

Still, the specification seems to have a whole lot of content which is not relevant to html2lrf, and others that seem to be missing (e.g. author-sort). Can anyone (kovidgoyal?) shed light on what is used and what is not?

Quote:
Originally Posted by kovidgoyal
html2lrf does read metadata from HTML files.
Heh, it was that dismissed ticket of mine about reading metadata from HTML files which caused my mistake.

Quote:
Originally Posted by kovidgoyal
IIRC the current code is optimized to recognize the metadata generated by the ereader2html script.
Is there a newer version of ereader2html than 0.03? That one doesn't seem to save any metadata.

Anyway, do you think that maybe specific html2lrf metadata might be useful? Metadata in the form <meta name="lrf-prefix:commandline-parameter-name" value="commandline-parameter-value"> should be easy enough to implement - it would simply reuse the code from commandline parser.
pepak is offline   Reply With Quote