inveniosoftware / invenio

Invenio digital library framework
https://invenio.readthedocs.io
MIT License
622 stars 291 forks source link

subfield mismatch when creating META tag for journal issue #1716

Open sbujam opened 10 years ago

sbujam commented 10 years ago

Originally on 2014-03-05

It seems that when bfe_meta creates the meta tag for journal issue, it reads 773i [CERN specific] marc subfield instead of 773n which is defined in "HOWTO MARC Your Bibliographic Data" and used in CERN records.

For example, in record http://cds.cern.ch/record/1646405 that is contained in issue 10, volume 83 of a Phys. Rev. B journal, the meta tag for the journal issue is not created.

This is a CERN specific issue, so the usage of 773i/n may have changed in the meantime. If not, the fix is attached in the patch.

kaplun commented 10 years ago

@tiborsimko can you recover the corresponding attached patch from Trac?

tiborsimko commented 10 years ago

@kaplun Here it is:

--- modules/bibformat/etc/format_templates/Default_HTML_meta.bft.orig   2014-03-05 15:49:00.295083941 +0200
+++ modules/bibformat/etc/format_templates/Default_HTML_meta.bft        2014-03-05 15:59:19.388329052 +0200
@@ -11,7 +11,7 @@
 <BFE_META tag="773__v" tag_name="journal volume" name="citation_volume" />
 <BFE_META tag="773__c" tag_name="journal page" name="citation_firstpage" />
 <BFE_META tag_name="journal lastpage" name="citation_lastpage" />
-<BFE_META tag="773__i" tag_name="journal issue" name="citation_issue" />
+<BFE_META tag="773__n" tag_name="journal issue" name="citation_issue" />
 <BFE_META tag="773__t" name="citation_conference" />
 <BFE_META tag_name="abstract url" tag="8564_a" name="citation_abstract_url" />
 <BFE_META tag_name="date" tag="269__c,260__c" name="citation_publication_date" />
tiborsimko commented 9 years ago

@kaplun Have you had a look at the recovered patch?

kaplun commented 9 years ago

Well I am looking at it now :smile: . It looks nice. I guess it's really specific to the overlay anyway.

kaplun commented 9 years ago

I guess it is safe to integrate.