Bug 15169 - Add for NORMARC transformation to new metadata formats
Summary: Add for NORMARC transformation to new metadata formats
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: MARC Bibliographic data support (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Magnus Enger
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 13642
  Show dependency treegraph
 
Reported: 2015-11-11 09:01 UTC by Frédéric Demians
Modified: 2019-10-14 19:57 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 13642 - Add NORMARCslim2RDFDC.xsl and NORMARCslim2SRWDC.xsl (25.37 KB, patch)
2015-11-11 09:10 UTC, Frédéric Demians
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Demians 2015-11-11 09:01:03 UTC
NORMARC doesn't have XSL file to transform biblio records into RDF-DC and SRW-DC format.
Comment 1 Frédéric Demians 2015-11-11 09:10:40 UTC
Created attachment 44725 [details] [review]
Bug 13642 - Add NORMARCslim2RDFDC.xsl and NORMARCslim2SRWDC.xsl

Add missing xsls for NORMARC flavour
Comment 2 Frédéric Demians 2015-11-11 09:13:02 UTC
Hector: this is you parch, with Magnus as assignee since he's in the best position to sign it.

To test with an NORMARC Catalog:

- Open this URL

  /cgi-bin/koha/unapi?id=koha:biblionumber:41201&format=marcxml

  And play with id & format parameters
  Test format=rdfdc and format=srw_dc

- Or try with bug 13642
Comment 3 Héctor Eduardo Castro Avalos 2015-11-11 15:40:44 UTC
(In reply to Frédéric Demians from comment #2)
> Hector: this is you parch, with Magnus as assignee since he's in the best
> position to sign it.
> 
> To test with an NORMARC Catalog:
> 
> - Open this URL
> 
>   /cgi-bin/koha/unapi?id=koha:biblionumber:41201&format=marcxml
> 
>   And play with id & format parameters
>   Test format=rdfdc and format=srw_dc
> 
> - Or try with bug 13642

Just one question, Frédéric. Does this bug need to apply bug 15162 on top? This is because changes to unapi are made it only on bug 15162.
Comment 4 Frédéric Demians 2015-11-11 15:49:59 UTC
> Just one question, Frédéric. Does this bug need to apply bug 15162 on top?
> This is because changes to unapi are made it only on bug 15162.

No, it's not necessary. It seems that opac/unapi were wrong for NORMARC, referencing XSL files that didn't exist, and that your patch introduces.
Comment 5 Héctor Eduardo Castro Avalos 2015-11-11 16:44:40 UTC
Hi Frédéric

Just one comment NORMARC use MARC21 instead

    'NORMARC' => {
        'marcxml'      => 'identity.xsl',
        'marcxml-full' => 'identity.xsl',
        'mods'         => 'MARC21slim2MODS.xsl',
        'mods-full'    => 'MARC21slim2MODS.xsl',
        'mods3'        => 'MARC21slim2MODS3-1.xsl',
        'mods3-full'   => 'MARC21slim2MODS3-1.xsl',
        'oai_dc'       => 'MARC21slim2OAIDC.xsl',
        'rdfdc',       => 'MARC21slim2RDFDC.xsl',
        'rss2'         => 'MARC21slim2RSS2.xsl',
        'rss2-full'    => 'MARC21slim2RSS2.xsl',
        'srw_dc'       => 'MARC21slim2SRWDC.xsl',
    },
Comment 6 Frédéric Demians 2015-11-11 16:58:38 UTC
> Just one comment NORMARC use MARC21 instead

You're correct! I'd leave Magnus Enger decide whether it has to be fixed.
Comment 7 Mirko Tietgen 2016-01-28 13:06:48 UTC
Added Magnus and set to in discussion. Discuss. ;)
Comment 8 Owen Leonard 2018-05-29 16:26:46 UTC
NORMARC bugs can now be considered obsolete. See Bug 18984.