#768: BibFormat: support non-HTML output modes easier (a simple tag?)
--------------------------+-----------------
  Reporter:  jblayloc     |      Owner:
      Type:  enhancement  |     Status:  new
  Priority:  major        |  Milestone:
 Component:  BibFormat    |    Version:
Resolution:               |   Keywords:
--------------------------+-----------------

Comment (by jblayloc):

 Two additional thoughts:

 1. Alternately (and aesthetically preferable to me (though a more radical
 departure from previous usage (and consequently probably impractical)))
 there could be a bft tag that gets interpreted to mean "wrap this page in
 the standard template infrastructure", so that all BFT output would be
 produced as raw text by default and you would say like
 {{{<bfe_invenio_page>}}} at the top of most of your BFTs.

 2. I forgot about content types.  If your format is producing latex or
 json it should say so, like so:
 {{{
 <bft:setnohtml content_type="text/json">
 ...
 }}}
 with the understanding that if no content_type is set it defaults to
 something reasonable like "text/plain".

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

Reply via email to