LP#1608711: Update schema.org property name from "seller" to "offeredBy" user/dbs/lp1608711_seller_to_offeredBy
authorDan Scott <dscott@laurentian.ca>
Mon, 1 Aug 2016 22:09:04 +0000 (18:09 -0400)
committerDan Scott <dscott@laurentian.ca>
Mon, 1 Aug 2016 22:17:17 +0000 (18:17 -0400)
Per the 2015-11-05 release of schema.org
(http://schema.org/docs/releases.html#v2.2), the "offeredBy" property is now
the preferred property to use for non-commercial entities (such as libraries)
making an offer of an item for borrowing, sale, etc.

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

index 3179e5f..0d00644 100644 (file)
@@ -11,7 +11,7 @@
     UNLESS lib_url && prefer_external_url;
         lib_url = mkurl(opac_root _ '/library/' _ ctx.get_aou(copy_info.circ_lib).shortname, {}, 1);
     END; 
-    IF lib_url; '<a property="seller" typeof="Library" href="'; lib_url | url; '">'; END;
+    IF lib_url; '<a property="offeredBy" typeof="Library" href="'; lib_url | url; '">'; END;
     '<span property="name">'; org_name | html; '</span>';
     IF lib_url; '</a>'; END;
 -%]