Hi Alexander,
Il giorno ven, 30/09/2011 alle 16.16 +0200, Alexander Wagner ha scritto:
> 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 ;)
What exactly happens? Could it be that it is just the HTTP header
content-type that is not set correctly as you expect and hence the
browser is confused (say it set as text/html, rather than
application/json?) The code to set the content type in bibformat, if I
recall correctly, has been recently improved (I am not sure if this has
already been committed to master though). In particular the content type
is no longer simply derived from the format initial, but it is first
used the content type you set explicitly for your specific output format
in the BibFormat admin interface.
As I was saying I am not sure if this has already been integrated so,
maybe my colleagues might give you a more correct answer on this...)
Could this be related to the mis-behaviours you are experiencing?
Cheers!
Sam
--
Samuele Kaplun
Invenio Developer ** <http://invenio-software.org/>