EPUB: Don't use opf:role in EPUB3.

This commit is contained in:
John MacFarlane
2012-11-02 21:23:02 -07:00
parent afa5a4da67
commit dfca59943d
+2 -1
View File
@@ -343,7 +343,8 @@ metadataElement version metadataXML uuid lang title authors date currentTime mbC
[ unode "dc:language" lang | not (elt `contains` "language") ] ++
[ unode "dc:identifier" ! [("id","BookId")] $ show uuid |
not (elt `contains` "identifier") ] ++
[ unode "dc:creator" ! [("opf:role","aut")] $ a | a <- authors ] ++
[ unode "dc:creator" ! [("opf:role","aut") | version == EPUB2]
$ a | a <- authors ] ++
[ unode "dc:date" date | not (elt `contains` "date") ] ++
[ unode "meta" ! [("property", "dcterms:modified")] $
(showDateTimeISO8601 currentTime) | version == EPUB3 ] ++