]> git.koha-community.org Git - koha.git/commit
Bug 11786: Improve RDFa structured data schema.org mappings
authorDan Scott <dan@coffeecode.net>
Tue, 18 Feb 2014 18:29:35 +0000 (13:29 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 1 Apr 2014 13:54:14 +0000 (13:54 +0000)
commit3bc1021deb851db8965e9ac3a8ff89aba71f6acc
tree6a7e35e8c3bc03d2f8632d29867f8f4dc71c3059
parent7378d488414d1859c75f0d3b40e5ce99cde67cb7
Bug 11786: Improve RDFa structured data schema.org mappings

This patch updates both the prog and bootstrap themes to provide better
schema.org mappings for catalogue elements in the following ways:

* More granular author attributes (one "author" property per author in records
  with multiple contributors; wrap in a Person or Organization type instead of
  using a simple literal value)
* Use "byArtist" instead of "author" for music recordings to respect schema.org
  preferences
* Use alternateName instead of alternativeHeadline, as the former is a better
  parallel to the "name" property

Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Only covers MARC21, but that is no reason not to move it forward

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests. Looked at the source code of a few records in both
prog and bootstrap and took a look at the properties using
http://www.google.com/webmasters/tools/richsnippets.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl
koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl