[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. e4ff6afb7be2176d71241baa98500d28f226d210

Evergreen Git git at git.evergreen-ils.org
Thu Jul 10 15:45:30 EDT 2014


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 "Evergreen ILS".

The branch, master has been updated
       via  e4ff6afb7be2176d71241baa98500d28f226d210 (commit)
       via  3acadb64e75f1fe82f528869482da6ea4e871f3e (commit)
      from  f956df518e07abed2f153e3c33621000401a6ac5 (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 e4ff6afb7be2176d71241baa98500d28f226d210
Author: Dan Scott <dscott at laurentian.ca>
Date:   Thu Jul 3 16:20:08 2014 -0400

    LP# 1337550 remove schema.org itemOffered, add price property
    
    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 at laurentian.ca>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2
index 409964b..3ae8504 100644
--- a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2
+++ b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2
@@ -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' %]

commit 3acadb64e75f1fe82f528869482da6ea4e871f3e
Author: Dan Scott <dscott at laurentian.ca>
Date:   Thu Jul 3 15:53:25 2014 -0400

    LP# 1337550 Remove AggregateOffer schema.org instance
    
    As our record details page lists each copy as a separate Offer (well, in
    many cases anyway, unless paging gets invoked), the AggregateOffer
    entity is not really necessary--and using it on the same page as
    separate Offer entities is not recommended by at least one search engine
    (per Google https://support.google.com/webmasters/answer/146750?hl=en
    says a given page should include "_one_ of the following: Offer or
    Offer-aggregate").
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/templates/opac/parts/record/copy_counts.tt2 b/Open-ILS/src/templates/opac/parts/record/copy_counts.tt2
index 9f86bc7..6e95ae7 100644
--- a/Open-ILS/src/templates/opac/parts/record/copy_counts.tt2
+++ b/Open-ILS/src/templates/opac/parts/record/copy_counts.tt2
@@ -17,10 +17,7 @@
             ou_name = cp_org_unit.name;
             displayed_ous.$ou_name = 1;
     %]
-    <li property="offers" typeof="AggregateOffer">
-        <link property="itemOffered" href="#schemarecord">
-        <meta property="offerCount" content="[% ou_avail %]">
-        <meta property="seller" content="[% ou_name | html %]">
+    <li>
     [% l('[quant,_1,copy,copies] at [_2].', ou_avail, ou_name) | html %]
     [%- this_depth = ctx.get_aou(ou_id).ou_type.depth;
         IF ou_avail > 0 && this_depth != ctx.copy_depth %]
@@ -38,10 +35,7 @@
         UNLESS depth < 0 || displayed_ous.exists(ou_name);
     %]
     [%- IF attrs.plib_copy_counts.$depth.count > 0; %]
-    <li class="preferred" property="offers" typeof="AggregateOffer">
-        <link property="itemOffered" href="#schemarecord">
-        <meta property="offerCount" content="[% ou_avail %]">
-        <meta property="seller" content="[% ou_name | html %]">
+    <li class="preferred">
     [%-
         l('[_1] of [quant,_2,copy,copies] available at [_3].',
             attrs.plib_copy_counts.$depth.available,

-----------------------------------------------------------------------

Summary of changes:
 .../templates/opac/parts/record/copy_counts.tt2    |   10 ++--------
 .../src/templates/opac/parts/record/copy_table.tt2 |    2 +-
 2 files changed, 3 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list