]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Schema.org authors: relate properties to the right context user/dbs/schema_holdings_rdfa_lite
authorDan Scott <dscott@laurentian.ca>
Sun, 25 Aug 2013 04:41:37 +0000 (00:41 -0400)
committerDan Scott <dscott@laurentian.ca>
Sun, 25 Aug 2013 04:41:57 +0000 (00:41 -0400)
commitd69e8881c1afb01155da31f824520cee3ef27845
tree3f9c0ec10d3a3149dc3bc6f22ca38d4d2fdf92fb
parentf68edc2c9d988237f44949c9830053b8764c7ef4
Schema.org authors: relate properties to the right context

While the approach of using the existing <a href> to launch a new search
based on the author name was workable, it may have been confusing for
schema.org processors such as Google Rich Snippets who expected that URI
to identify a resource for the author, not a set of search results.

Using @resource / @about attribute pairing, and wrapping the whole type
in an extra <span> element, enables us to avoid associating the
properties within the <a href> with the implicitly chained type.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/record/authors.tt2