LP# 1337550 remove schema.org itemOffered, add price property
authorDan Scott <dscott@laurentian.ca>
Thu, 3 Jul 2014 20:20:08 +0000 (16:20 -0400)
committerBen Shum <bshum@biblio.org>
Thu, 10 Jul 2014 19:45:16 +0000 (15:45 -0400)
We use the "offers" property to link the Product to the Offer, so there
is no reason to use a reciprocal "itemOffered" property to link back to
the Product from the Offer. The circular reference confuses some tools
(http://rdfa.info/play) and may complicate general processing, so let's
simply remove it.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/record/copy_table.tt2

index 409964b..3ae8504 100644 (file)
@@ -96,7 +96,7 @@ END; # FOREACH bib
             [%- ELSE %]<td headers='copy_header_library'>
             [%- INCLUDE "opac/parts/library_name_link.tt2"; -%]
                 <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
-                <link property="itemOffered" href="#schemarecord">
+                <meta property="price" content="0.00">
             </td>[% END %]
             <td headers='copy_header_callnumber'><span property="sku">[% callnum | html %]</span> [% IF ctx.get_org_setting(CGI.param('loc') OR ctx.aou_tree.id, 'sms.enable') == 1 %](<a href="[% mkurl(ctx.opac_root _ '/sms_cn', {copy_id => copy_info.id}) %]">Text</a>)[% END %]</td>
             [%- IF has_parts == 'true' %]