#911: Jinja2 instead of BibConvert
--------------------------+-----------------------------------------------
  Reporter:  skaplun      |      Owner:
      Type:  enhancement  |     Status:  new
  Priority:  minor        |  Milestone:
 Component:  BibConvert   |    Version:
Resolution:               |   Keywords:  WebSubmit record creation marcxml
--------------------------+-----------------------------------------------

Comment (by skaplun):

 Or go further and have a Jinja2 MARCXML extension such as:

 {{{
 {% record %}
 {% if authors %}
   {% datafield "100" %} {% subfield "a" %} {{ authors[0] }} {% endsubfield
 %} {% enddatafield %}
   {% for author in authors[1:] %}
     {% datafield "700" %} {% subfield "a" %} {{ author }} {% endsubfield
 %} {% enddatafield %}
   {% endfor %}
 {% endif %}
 {% endrecord %}

-- 
Ticket URL: <http://invenio-software.org/ticket/911#comment:1>
Invenio <http://invenio-software.org>

Reply via email to