Summary: | Improve RDFa schema.org mappings in prog and bootstrap | ||
---|---|---|---|
Product: | Koha | Reporter: | Dan Scott <dan> |
Component: | OPAC | Assignee: | 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)
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 |