定制CNMARC涉及的源码文件

    技术2022-07-11  118

    https://wiki.koha-community.org/wiki/Add_support_for_NORMARC

    SQL

    /installer/data/mysql/nb-NO… /2-Valgfritt/z3950servers.sql /2-Valgfritt/z3950servers.txt /marcflavor/normarc/Obligatorisk/normarc.sql /marcflavor/normarc/Obligatorisk/normarc.txt

    XSLT Done:

    koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslimUtils.xsl

    Missing: XSLT for Intranet.

    Code changes The following subroutines have this structure:

    if ($marcflavour eq ‘MARC21’) { else { # assume unimarc if not marc21 } }

    Which will be turned into this:

    if ($marcflavour eq ‘UNIMARC’) { else { # assume marc21, normarc etc if not unimarc }

    See Default MARC dialect on koha-devel for rationale/discussion. C4/Biblio.pm

    GetMarcNotes GetMarcSubjects GetMarcAuthors GetMarcSeries

    C4/Koha.pm

    GetNormalizedUPC GetNormalizedISBN GetNormalizedEAN Other subroutines that need attention:

    C4/Charset.pm

    SetMarcUnicodeFlag MarcToUTF8Record

    Processed: 0.012, SQL: 9