Dear Nani(?), On 07/04/2010 02:32 PM, DSInani douna wrote:
Dear Sir/Madam, We have created 2 collections: communications (title zone 245_a) and Proceedings (title zone 111_a). While reading the bibliographic items, we noticed nothing missing in the displayed MARC 21 format. But, in the Public format, the titles of “proceedings” are missing. (proceedings only not communications). Here are some snaps to make you see clear So, would you please tell us which is the best way to make modifications? Will it be from the ‘title_bfe.py’ file or from the administration interface (Admin Bibformat)? Thank you for your help!
In this case the modification must take place in the bfe_title.py. The admin interface only lets you modify a) output formats, b) format templates, but not c) format elements (all the three can also be modifed from disk: the web interface just make it a bit easier at the beginning). I would strongly advise you to not directly modify bfe_title.py, but to duplicate bfe_title.py and rename it to something similar to bfe_FOO_title.py where `FOO' would be the name of your institution or company. That would ensure that your customization does not get overwritten by a new bfe_title.py if your re-install of upgrade Invenio. Then you would use <BFE_FOO_TITLE /> in your format templates. Note that instead of using bfe_title.py, you could use the more generic format element "bfe_field" in your template, which takes as parameter the field to print. For eg: <b><BFE_FIELD tag="111__a"/></b> However bfe_title.py should already display 111__a fields, when no other title field is found. <http://invenio-software.org/browser/modules/bibformat/lib/elements/bfe_title.py?rev=c99ca13c8537a12a841b4850d0b573d4ae7a80d7> Maybe you have some "title" fields left empty in your MARC? Or bfe_title.py has been modified, or simply removed from your proceedings template? Or maybe a cache of the record was created when there was no 111__a field in the metadata of the record? You can append `verbose=9' at the end of the URL to see if there are some errors produced by the bfe_title.py element (for eg: <http://invenio-demo.cern.ch/record/96?verbose=9>) Best regards -- Jerome Caffaro
