Hi tkeo,
Since the only possible values of EXTH orientation-lock are portrait or landscape, I will simply look to see if it is in the metadata.keys().
Items 10, 11, 12 are really just extensions of epub2 metatdata so I will not force things to epub3 for using them.
As for 14, I already check that any of the new meta tags with "property" are present so I guess this would catch all of these as well. I do look for the rendition namespace in the package attributes though.
Thanks,
Kevin
ps, I will be working on removing the redundancy from mobi_opf.py and then focusing on meta data more fully.
Take care,
KevinH
Quote:
Originally Posted by tkeo
Hi,
I have not used 6. yet.
Additionally, we can probably use,
9. "orientation-lock" (EXTH item 124) in the metadata has "portrait" or "landscap"
Note: "original-resolution" (EXTH item 126) requires 'fixed-layout" is "true"
10. "Title file-as"(EXTH item 508) in the metadata
11. "Creator file-as"(EXTH item 517) in the metadata
12. "Publisher file-as"(EXTH item 522) in the metadata
13. RESC metadata uses "rendition:" prefix
14. RESC metadata tag is <metadata xmlns:dc="http://purl.org/dc/elements/1.1/"> instead of <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns: opf="http://www.idpf.org/2007/opf" xmlns="http://www.idpf.org/2007/opf">
Thanks,
|