[koha-commits] main Koha release repository branch master updated. v3.12.00-beta1-996-gfa68cda
Git repo owner
gitmaster at git.koha-community.org
Wed Aug 28 15:49:06 CEST 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via fa68cda549a14fa0286c07035faa6bfa5654b536 (commit)
via 1a50854d4fd4154013ae35dfd397fffaa0210d83 (commit)
via aca2d54185611811725e9f610853e6acaf16cfab (commit)
via c2cd6ae10390346aaed4a09d5bc5da7a3d42a352 (commit)
from 452a4b7775ce10655543aa81f670e2fb497ccc9b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fa68cda549a14fa0286c07035faa6bfa5654b536
Author: Dan Scott <dan at coffeecode.net>
Date: Thu Aug 22 11:47:12 2013 -0400
Bug 6594: Schema.org span nesting improvements
So, it turns out that the <a href> was causing a new "chain" to be
invoked, thus nesting the <span> elements for properties within the <a
href> actually caused the properties to be attached to that new chain
rather than the containing object. Therefore, wrap the <span> elements
around the <a href> elements where applicable.
Thanks to Manu Sporny in #rdfa for helping me to sort this out.
Signed-off-by: Dan Scott <dan at coffeecode.net>
Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
I tested by validating against the Google rich snippet tool,
validator.nu, and linter.structured-data.org. All were satisfied
with the microdata markup, and the properties that are set make
sense.
These patches are only for MARC21 XSLT view, but I think it is worth
pushing them even without the NORMARC and UNIMARC markup, so that
people can start to test out schema.org microdata in Koha, and
refine the implementation.
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
FWIW I agree with Jared, it is essentially a no-op in terms of what
the user sees, so is safe.
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
commit 1a50854d4fd4154013ae35dfd397fffaa0210d83
Author: Dan Scott <dan at coffeecode.net>
Date: Thu Aug 22 11:29:28 2013 -0400
Bug 6594: Correct schema.org context for item status
We were inserting the <link> element inside an open <td> element, which
HTML parsers, even the most forgiving, do not like very much.
Signed-off-by: Dan Scott <dan at coffeecode.net>
Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
commit aca2d54185611811725e9f610853e6acaf16cfab
Author: Dan Scott <dan at coffeecode.net>
Date: Thu Aug 22 10:55:13 2013 -0400
Bug 6594: Move subject keywords schema.org markup into <span> element
Google's rich snippets tool gets confused by the <a property="keywords">
approach, so stuff another span inside the <a> element to remove
confusion with the href attribute.
Signed-off-by: Dan Scott <dan at coffeecode.net>
Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
commit c2cd6ae10390346aaed4a09d5bc5da7a3d42a352
Author: Dan Scott <dan at coffeecode.net>
Date: Thu Aug 22 07:00:12 2013 -0400
Bug 6594: Schema.org structured data for OPAC display
To support schema.org processors, such as Google, Bing, and Yandex,
structure our data so that it has machine-readable attributes. This pass
declares the CreativeWork sub-types as well as Product for the main
bibliographic record details, and uses the Offer type for holdings
information per the W3C Schema Bib Extend community group discussions.
Signed-off-by: Dan Scott <dan at coffeecode.net>
Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
Comments on final patch.
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
-----------------------------------------------------------------------
Summary of changes:
.../prog/en/includes/item-status-schema-org.inc | 11 +++
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 18 +++--
.../prog/en/xslt/MARC21slim2OPACDetail.xsl | 77 +++++++++++++++-----
3 files changed, 81 insertions(+), 25 deletions(-)
create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/item-status-schema-org.inc
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list