On Fri, 25 Nov 2011, Theodoros Theodoropoulos wrote: > There is a need to store some 'sensitive' data in the MARC record, > that should be viewable/editable by the librarian, however it should > not appear in the xm/MARCXML/(text)MARC output format of the search > interface.
Invenio v1.0 release series offers this functionality out of the box; see CFG_BIBFORMAT_HIDDEN_TAGS in `invenio.conf'. > I verified that if I force "on_the_fly=True" in format_record function > of bibformat.py, I get what I want with HUUUUUGE performance drop and > this is unacceptable. Assuming people don't view MARCXML as often as they view HTML formats, this performance penalty may be acceptable perhaps? If in your concrete use case people download MARCXML very often, then the best solution would probably be to introduce two MARCXML versions, one complete and one `public', and cache both... Best regards -- Tibor Simko

