Hello Alexander,

Alexander Wagner <[email protected]> wrote:
[...]
> /SN/  == recid
> /SuE/ == mail of submitter
> /rn/  == report number generated by Invenio (e.g. FZJ-2013-0001)
> /act/ == SBI or MBI or ...
> /sub/ == act + doctype (e.g. SBIjournal)
>
> I think these are all the "magics".

It turns out that I couldn't make 'curdir' nor 'sub' to appear in my
records, but 'doctype', the obvious choice that I overlooked, works!
You can update your magic list.

>>   etc/bibconvert/config/DEMOART.tpl:curdir---<:curdir:>
>>   etc/bibconvert/config/DEMOARTcreate.tpl:FFT::REPL(EOL,)---<datafield  
>> tag="FFT" ind1=" " ind2=" "><subfield 
>> code="a"><:curdir::curdir:>/files/DEMOART_FILE/<:DEMOART_FILE::DEMOART_...
>
> I admit, we dropped bibconvert as we can't get repeatable fields to
> work. So we based our websubmitssion on python and also do the
> necessary conversion in pythonic functions.

Interesting.  I can make repeatable fields work using the *, as
documented in
http://cdsweb.cern.ch/help/admin/bibconvert-admin-guide#C.1.  However,
bibconvert falls short, and we end up enriching the records using
Python.  I'll think about your strategy, that is, using Python from the
ground up.

Thanks for your ideas,

Ferran

Reply via email to