zotero/translators — pull request #306 by aurimasv (2012-04-14 08:41:05+00:00)
Title: [DON'T MERGE] RDF update for PRISM 2.0 spec

Some initial changes to bring this up to date with PRISM 2.0 spec.

Also added dome missing items from the 1.2 spec. A couple items were rearranged to prefer prism, og, and eprints over dc.

PRISM 2.0 adds prism:role attribute to the dc:creator and dc:contributor tags, which we can use to set proper roles. This might need extensive modifications to how creators are handled inside RDF.

PRISM 2.0 introduces xml:lang attribute to many of the tags. We might want to consider preparing the translator for localization.

We can also use prism:genre and prism:aggregatorType just like we do in EM to determine itemType. It might be safe to mostly just copy-paste.