View Single Post
Old 07-11-2014, 10:47 AM   #893
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
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 View Post
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,
KevinH is offline   Reply With Quote