From cd9d96c7547618028e8729ae652e3dc45d41b07f Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Thu, 13 Feb 2014 22:02:50 -0500 Subject: [PATCH] Add schema.org RDFa to bootstrap theme We added schema.org structured data (RDFa) to the prog theme in 3.14, but then deprecated the prog theme in favour of the bootstrap theme for 3.14. However, bootstrap lacked the schema.org RDFa. This commit brings bootstap up to parity with prog. Signed-off-by: Dan Scott --- .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 63 ++++++++++++++++++++-- 1 file changed, 58 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 11c72be..43f2c4b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -91,6 +91,20 @@ + +
+ http://schema.org/ + + + Book + Map + MusicAlbum + CreativeWork + + Product + + #record + @@ -103,7 +117,7 @@ -

+

a @@ -145,6 +159,7 @@ +

@@ -308,20 +323,27 @@ Publisher: + + a + + b + + + @@ -329,6 +351,7 @@ + ; @@ -388,7 +411,7 @@ ISBN: - + .; @@ -397,7 +420,7 @@ ISSN: - + .; @@ -441,6 +464,7 @@ Other title: + @@ -448,6 +472,7 @@ + .; @@ -522,6 +547,7 @@ /cgi-bin/koha/opac-search.pl?q=su: + @@ -531,6 +557,7 @@ + @@ -628,7 +655,7 @@ -
+
@@ -743,9 +770,11 @@ Dissertation note: + abcdgo + @@ -762,10 +791,11 @@ Summary: + abcu - + @@ -938,11 +968,13 @@ +
+ ; @@ -964,11 +996,32 @@ /cgi-bin/koha/opac-search.pl?q=au: + + + + + byArtist + author + + + contributor + + + + + MusicGroup + Person + + + Organization + + + -- 1.8.5.3