View Full Version : refined metadata in epub2?


mzmm
11-14-2012, 12:53 PM
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 <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:

<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.