Created attachment 25393 [details] [review] Improves schema.org RDFa mappings (assumes 11310 is merged first) Building on bug 11310, which brings the RDFa structured data implementation of schema.org mappings from prog to bootstrap, the attached patch improves both the prog and bootstrap themes in the following ways: * Provides 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) * Uses "byArtist" instead of "author" for music recordings to respect schema.org preferences * Uses alternateName instead of alternativeHeadline, as the former is a better parallel to the "name" property
Created attachment 25546 [details] [review] Improves schema.org RDFa mappings Updated patch rebased to current master now that 11310 has been merged - branch is at https://github.com/dbs/Koha/tree/improve_schemaorg_rdfa
Created attachment 26711 [details] [review] 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
Created attachment 26712 [details] [review] [PASSED QA] 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.
Pushed to master. Thanks, Dan!
Pushed to 3.14.x, will be in 3.14.09