Hi!
For several usecases, I want to "miss use" Invenio as a data backend,
that should return search results in a given text format upon request. I
implemented this by means of output formats that spit out the data I
need from some given set of records. I did this while ago on an older
version of Invenio (1.0rc0) all was well. As I'm still working on the
datasets I didn't instruct bibreformat to write static formats, but I
never had any performance issues anyway.
Now, recently we moved up on the master branchs head. I installed my
format elements, but it seems that "something" has changed. At least I
found that Invenio not always returns my format but sometimes I get
something similar to the HB-format, ie. some HTML formatting instead of
the lists I expected. Needless to say that the other end of my app
didn't like that too much ;)
Playing around I found that I can fix the issue by defining the output
formats in question static, ie. running bibreformat -o
HB,<allmyownstuff>. Thought this is planned to be done in the end anyway
and thus is no show stopper for me, I wonder if my observation may point
to some deeper problem.
The format in question are mainly some
<BFE_FIELD.../>|<BFE_FIELD.../>|<BFE_FIELD.../>
or a bit JSONish like
{
"label1" : <bfe_field.../>,
"label2" : <bfe_field.../>,
"label3" : <bfe_field.../>,
"label4" : <bfe_field.../>
}
So, nothing strange here, I guess. (I could provide them in case that
helps, but you'd also need a bunch of our Marc records and some format
elements I defined in python to test it with those.)
(Note to Sam: I wrote to you on Jabber about the issue but I had to
catch a train before you were back, so we didn't manage to discuss it.)
--
Kind regards,
Alexander Wagner
Subject Specialist
Central Library
52425 Juelich
mail : [email protected]
phone: +49 2461 61-1586
Fax : +49 2461 61-6103
http://www.fz-juelich.de/zb/mitarbeiter/fachinformation#wagner
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------