Bug 38743 - Links to UNIMARC fields manuals are broken
Summary: Links to UNIMARC fields manuals are broken
Status: RESOLVED DUPLICATE of bug 31019
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-18 13:07 UTC by Baptiste Wojtkowski (bwoj)
Modified: 2024-12-18 17:16 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Baptiste Wojtkowski (bwoj) 2024-12-18 13:07:05 UTC
In UNIMARC, links to IFLA are broken and referring to a very old version of MARC format.

 502     function _UNIMARCFieldDoc(field) {
 503         /* http://archive.ifla.org/VI/3/p1996-1/ is an outdated version of UNIMARC, but
 504            seems to be the only version available that can be linked to per tag.  More recent
 505            versions of the UNIMARC standard are available on the IFLA website only as
 506            PDFs!
 507         */
 508         var url;
 509         if (field == 0) {
 510             url = "http://archive.ifla.org/VI/3/p1996-1/uni.htm";
 511         } else {
 512             var first = field.substring(0,1);
 513             url = "http://archive.ifla.org/VI/3/p1996-1/uni" + first + ".htm#";
 514             if (first == 0) url = url + "b";
 515             url = first == 9
 516                   ? "http://archive.ifla.org/VI/3/p1996-1/uni9.htm"
 517                   : url + field;
 518         }
 519         window.open(url);
 520     }

To my knowledge, there is no good solution to this pb :
- According to the code and to my investigation, IFLA is not providing split files, field by field (except fields which have been updated after 2008, which can be accessed through the atomic updates)
- transition-bibliographique.fr is providing such a work but only in french
Comment 1 Phil Ringnalda 2024-12-18 16:42:02 UTC

*** This bug has been marked as a duplicate of bug 31019 ***