From 852bb18b1feb3dfedc4ca4b25bc4cbb5d2a43150 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Demians?= Date: Mon, 11 May 2009 13:41:50 +0200 Subject: [PATCH] Bug 3213 - Add UNIMARC XSLT stylesheet With those stylesheets result and detail pages render better UNIMARC biblio record than normal views. But works still have to be done in order to reach UNIMARC-ISBD compliant display. Signed-off-by: Galen Charlton --- .../prog/en/xslt/UNIMARCslim2OPACDetail.xsl | 618 ++++++++++++++++++ .../prog/en/xslt/UNIMARCslim2OPACResults.xsl | 182 ++++++ .../prog/en/xslt/UNIMARCslimUtils.xsl | 139 ++++ 3 files changed, 939 insertions(+) create mode 100644 koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACDetail.xsl create mode 100644 koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACResults.xsl create mode 100644 koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACDetail.xsl new file mode 100644 index 0000000000..988ebdc9b3 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACDetail.xsl @@ -0,0 +1,618 @@ + + + + + + + + + + + + + + + + + + + +

+ + + : + + + + [ + + ] + + + / + + + + ; + + +

+
+
+ +
+ + Normal View + + + MARC View + + + Expanded MARC View + + + Card View (ISBD) + +
+ + + + + + + Auteur principal: + + + + + /cgi-bin/koha/opac-search.pl?q=an: + + + + /cgi-bin/koha/opac-search.pl?q=au: + + + + + + , + + + + () + + + + + + + + + + Collectivité principale: + + + + /cgi-bin/koha/opac-search.pl?q=an: + + + /cgi-bin/koha/opac-search.pl?q=au: + + + + + + , + + + , + + + , + + + + () + + + + + + + + + Co-auteur: + + + + + /cgi-bin/koha/opac-search.pl?q=an: + + + /cgi-bin/koha/opac-search.pl?q=au: + + + + + + , + + + + () + + + + ; + + + + + + + Auteur: + + + + + + /cgi-bin/koha/opac-search.pl?q=an: + + + + + /cgi-bin/koha/opac-search.pl?q=au: + + + + + + + , + + + + () + + . + + + + . + + + ; + + + + + + + + + Collectivité co-auteur: + + + + + /cgi-bin/koha/opac-search.pl?q=an: + + + /cgi-bin/koha/opac-search.pl?q=au: + + + + + + , + + + , + + + , + + + + () + + + + ; + + + + + + + Langue: + + + + de la trad. intermédiaire, + de l'œuvre originale, + du résumé, + de la table des matières, + de la page de titre, + du titre propre, + d'un livret, + des textes d'accompagnement, + des sous-titres, + + + + + . + + + ; + + + + + + + + + + Pays: + + + + + + . + + , + + + + + + + + + + + + + ISBN: + + + + + + + + + . + + + ; + + + + + + + + + ISSN: + + + .; + + + + + + + Dewey: + + + .; + + + + + + + Résumé: + + + .; + + + + + + + Note sur la provenance: + + + + + + + + + Bibliographie: + + + .; + + + + + + + Thèse: + + + .; + + + + + + + Public: + + + .; + + + + + + Sujets: + + + + + /cgi-bin/koha/opac-search.pl?q=an: + + + /cgi-bin/koha/opac-search.pl?q=su: + + + + + + abcdjpvxyz + jpxyz + -- + + + + + + + | + + + + + + + + Online Resources: + + + + + + + + + y3z + + + + Click here to access online + + + + + + | + + + + + + + + + + + + Continues: + + + Continues in part: + + + Supersedes: + + + Supersedes in part: + + + Formed by the union: ... and: ... + + + Absorbed: + + + Absorbed in part: + + + Separated from: + + + + + + at + + + /cgi-bin/koha/opac-search.pl?q= + + + + + + + + + + + + + + + + + + + + Continued by: + + + Continued in part by: + + + Superseded by: + + + Superseded in part by: + + + Absorbed by: + + + Absorbed in part by: + + + Split into .. and ...: + + + Merged with ... to form ... + + + Changed back to: + + + + + + + at + + + + /cgi-bin/koha/opac-search.pl?q= + + + + + + + +
+ + + + + + aq + + + + :,;/ + + + + + + + + + + + + + + + + + cdn + + + + + + + acdeq + + + + + + + + bc + + + + + + + + + + n + n + fghkdlmor + + + + + p + p + fghkdlmor + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACResults.xsl new file mode 100644 index 0000000000..ea104f6548 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACResults.xsl @@ -0,0 +1,182 @@ + + + + + + + + + + + + + + + + + + + + + + + /cgi-bin/koha/opac-detail.pl?biblionumber= + + + + : + + + + [ + + ] + + + / + + + + ; + + + + + + + + + + + + + Disponibilité: + + + + + + + + + + + + + y3z + + + + Click here to access online + + + + + + | + + + + + + + Pas de copie disponible + + + + pour le prêt: + + + + [] + + ( + + ) + + + . + + + , + + + + + + + + + + Copies available for reference: + + + + [] + ( + + ) + + + . + + + , + + + + + + + + + Checked out ( + + ). + + + + + Withdrawn ( + + ). + + + + + Lost ( + + ). + + + + + Damaged ( + + ). + + + + + On order ( + + ). + + + + + In transit ( + + ). + + + + + + + diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl new file mode 100644 index 0000000000..296b21cb70 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl @@ -0,0 +1,139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + Édition: + + + : + + + + , + + + + + : + + + + , + + + + + + + + + + Description: + + + + : + + + ; + + + + + + + + + + + + + + + Extrait de: + + + + : + + + / + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.39.5