From a57a93911f38f760db2c075c2dc583f029d17408 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Mon, 9 Feb 2015 15:26:17 -0500 Subject: [PATCH] LP#1419977: Map subject headings to schema:about http://schema.org/about is a more specific fit for subject headings, which describe what a given title is about, than the more generic http://schema.org/keywords. This is the emerging standard mapping seen in other implementations. Signed-off-by: Dan Scott Signed-off-by: Ben Shum --- Open-ILS/src/templates/opac/parts/record/subjects.tt2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/parts/record/subjects.tt2 b/Open-ILS/src/templates/opac/parts/record/subjects.tt2 index e074f89158..a89a1be27f 100644 --- a/Open-ILS/src/templates/opac/parts/record/subjects.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/subjects.tt2 @@ -30,6 +30,7 @@ BLOCK render_subject; xpath = xpath || '//*[starts-with(@tag,"6")]'; FOR node IN ctx.marc_xml.findnodes(xpath); + ''; all_terms = []; graphics = []; FOR subfield IN node.childNodes; @@ -55,6 +56,7 @@ link880.value | html; ''; END; + ''; END; END %] @@ -68,7 +70,7 @@ [% subj.label %] - [% content %] + [% content %] -- 2.11.0