Bug 11786

Summary: Improve RDFa schema.org mappings in prog and bootstrap
Product: Koha Reporter: Dan Scott <dan>
Component: OPACAssignee: Dan Scott <dan>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: fridolin.somers, gmcharlt
Version: 3.14   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Improves schema.org RDFa mappings (assumes 11310 is merged first)
Improves schema.org RDFa mappings
Bug 11786: Improve RDFa structured data schema.org mappings
[PASSED QA] Bug 11786: Improve RDFa structured data schema.org mappings

Description Dan Scott 2014-02-18 18:34:30 UTC Comment hidden (obsolete)
Comment 1 Dan Scott 2014-02-21 16:47:45 UTC Comment hidden (obsolete)
Comment 2 Chris Cormack 2014-03-31 19:30:48 UTC Comment hidden (obsolete)
Comment 3 Katrin Fischer 2014-03-31 20:25:08 UTC
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.
Comment 4 Galen Charlton 2014-04-01 13:57:06 UTC
Pushed to master.  Thanks, Dan!
Comment 5 Fridolin Somers 2014-07-11 06:54:28 UTC
Pushed to 3.14.x, will be in 3.14.09