Created attachment 93308 [details] xslt unimarc intranet detail In attachments the new xslt files UNIMARC and zebra configuration files. The xslt file call new index about the link fields(4xx). The news: -add fields for the bibliographic transition(181,182,183,214) -add fields 923 and 924 for display better the summaries of collection -display better the punctuation isbd -fields 600 à 608 : search the string with phr and not with number authority ..etc Test plan 1.Install the intranet xslt files into : ~/src/koha-tmpl/intranet-tmpl/prog/en/xslt 2.Install the opac xslt files into : :~/src/koha-tmpl/opac-tmpl/bootstrap/en/xslt 3.Install the file 'biblio-koha-indexdefs.xml' into /home/koha/etc/zebradb/marc_defs/unimarc/biblios/ 4.Install the file 'ccl.properties' into /home/koha/etc/zebradb/ 5.Install the file 'bib1.att' into/home/koha/etc/zebradb/biblios/etc/ 6.Run the indexation cd /home/koha/tools/zebra;update_xsl_config.sh -a -b;./rebuild_full.sh -b -a;
Created attachment 93318 [details] xslt intranet result
Created attachment 93319 [details] xslt intranet utils
Created attachment 93320 [details] xslt opac detail
Created attachment 93321 [details] xslt opac result
Created attachment 93322 [details] xslt opac utils
Created attachment 93331 [details] index file 1
Created attachment 93332 [details] index file 2
Created attachment 93333 [details] index file 3
Created attachment 93866 [details] UNIMARCslim2intranetDetail.xsl
Created attachment 93867 [details] UNIMARCslim2intranetResults.xsl
Created attachment 93868 [details] UNIMARCslim2OPACDetail.xsl
Created attachment 93869 [details] UNIMARCslim2OPACResults.xsl
Created attachment 93870 [details] OPAC UNIMARCslimUtils.xsl
After discussion with other french librarians, we thought that it could be useful to add to the last attachements the followings fields : for the OPAC : 506, 507, 576, 577, 623, 703, 713 et 723 For the intranet : 181, 182, 183, in addition of the fields above Thanks, Sonia
Created attachment 94369 [details] Opac detail OPAC detail :add the field 506, 507, 576, 577, 623, 703, 713 et 723
Created attachment 94370 [details] intranet detail xslt intranet detail : add the fields 181,182,183, 506, 507, 576, 577, 623, 703, 713 et 723
Created attachment 95581 [details] [review] Bug 23702 - New UNIMARC XSLT according to last IFLA updates
Is this still work in progress? (Status: Assigned)
I guess the status should be needs signoff, but there are some problems in the patch: FAIL koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetResults.xsl FAIL xml_valid 266: parser error : Entity 'nbsp' not defined 88: parser error : Entity 'nbsp' not defined 73: parser error : Entity 'nbsp' not defined FAIL koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl FAIL xml_valid 447: parser error : Opening and ending tag mismatch: for-each line 180 and when 224: parser error : Opening and ending tag mismatch: when line 184 and if 497: parser error : Opening and ending tag mismatch: stylesheet line 3 and span 446: parser error : Opening and ending tag mismatch: span line 181 and xsl:if 496: parser error : Opening and ending tag mismatch: template line 179 and choose 225: parser error : Opening and ending tag mismatch: choose line 183 and when 498: parser error : Extra content at the end of the document
Created attachment 95949 [details] Intranet xslt result new version change with  
Thanks Stéphane for the new file UNIMARCslim2intranetResults.xsl. But according to Julian's comment (comment 19 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23702#c19), there's also a problem on the file koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl I change the previous one to put it "obsolete".
Created attachment 97625 [details] OPAX -xslt utils
Created attachment 97830 [details] Bug 23702 - New UNIMARC XSLT according to last IFLA updates
Tried to apply the patch on a sandbox but it seems that there still some issues on the xslt files : - I don't see any bilbio information on the result pages (just place hold, request articles..) - in the detail page on intranet the link to see the biblio in the OPAC doesn't work
Created attachment 101417 [details] xslt opac new xslt opac
Created attachment 101418 [details] xslt intranet new xslt intranet
Created attachment 103375 [details] [review] Bug 23702 - New UNIMARC XSLT according to last IFLA updates
You may integrate changes from Bug 26032
Hello Frido, I'm not sure to see what we should do with the change in BZ26032 as it's not the same files changed. But, it's surely over my understanding of what BZ26032 is going to change.. Sonia
Apply? [(y)es, (n)o, (i)nteractive] y Applying: Bug 23702 - New UNIMARC XSLT according to last IFLA updates .git/rebase-apply/patch:325: trailing whitespace. </xsl:call-template> .git/rebase-apply/patch:448: trailing whitespace. <xsl:if test="marc:datafield[@tag=531]"> .git/rebase-apply/patch:538: trailing whitespace. .git/rebase-apply/patch:553: trailing whitespace. .git/rebase-apply/patch:601: trailing whitespace. warning: squelched 36 whitespace errors warning: 41 lines add whitespace errors. Using index info to reconstruct a base tree... M koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACDetail.xsl M koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACResults.xsl .git/rebase-apply/patch:325: trailing whitespace. </xsl:call-template> .git/rebase-apply/patch:448: trailing whitespace. <xsl:if test="marc:datafield[@tag=531]"> .git/rebase-apply/patch:538: trailing whitespace. .git/rebase-apply/patch:553: trailing whitespace. .git/rebase-apply/patch:601: trailing whitespace. warning: squelched 36 whitespace errors warning: 41 lines applied after fixing whitespace errors. Falling back to patching base and 3-way merge... Auto-merging koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACResults.xsl Auto-merging koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACDetail.xsl CONFLICT (content): Merge conflict in koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACDetail.xsl error: Failed to merge in the changes. Patch failed at 0001 Bug 23702 - New UNIMARC XSLT according to last IFLA updates The copy of the patch that failed is found in: .git/rebase-apply/patch When you have resolved this problem run "git bz apply --continue". If you would prefer to skip this patch, instead run "git bz apply --skip". To restore the original branch and stop patching run "git bz apply --abort". Patch left in /tmp/Bug-23702---New-UNIMARC-XSLT-according-to-last-IFL-dGv0oX.patch