Bug 15169

Summary: Add for NORMARC transformation to new metadata formats
Product: Koha Reporter: Frédéric Demians <f.demians>
Component: MARC Bibliographic data supportAssignee: Magnus Enger <magnus>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: hector.hecaxmmx, magnus, mirko
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13642
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on:    
Bug Blocks: 13642    
Attachments: Bug 13642 - Add NORMARCslim2RDFDC.xsl and NORMARCslim2SRWDC.xsl

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.