MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   ePub (https://www.mobileread.com/forums/forumdisplay.php?f=179)
-   -   refined metadata in epub2? (https://www.mobileread.com/forums/showthread.php?t=196703)

mzmm 11-14-2012 12:53 PM

refined metadata in epub2?
 
hi all - i'm working on an epub2.0 and am looking for a way to refine two different <description> elements in the opf, one for the english description of the book, the other for the german description.

seems like <description> is repeatable, so i guess it wouldn't explode if i simply put two <description> elements in there, but i'd like to find a way to refine it to
Code:

<dc:description opf:lang="en"> ... </dc:description>
<dc:description opf:lang="de"> ... </dc:description>

or something.

googling "description element attributes" isn't really working out for me.

any help is appreciated!

Jellby 11-14-2012 01:54 PM

I think it should be:

Code:

<dc:description xml:lang="en"> ... </dc:description>
<dc:description xml:lang="de"> ... </dc:description>

and you can do the same with <dc:title> and other elements... Of course, I know of no reading or managing software that handles this in any meaningful way.

mzmm 11-14-2012 02:52 PM

thanks!

checked it on calibre thinking that there's a chance it might be recognized, but seems like the second <description> entry is just over-writing the first, as that's the only one that shows up in the book's summary window.

oh well.


All times are GMT -4. The time now is 08:50 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.