#768: BibFormat: support non-HTML output modes easier (a simple tag?)
-------------------------+-----------------
 Reporter:  jblayloc     |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  major        |  Milestone:
Component:  BibFormat    |    Version:
 Keywords:               |
-------------------------+-----------------
 It would be really nice if there were an obvious way to produce non-HTML
 output in BFTs, for, e.g., production of raw LaTeX or csv.  I guess what
 I'm imagining is being able to have a BFT like:
 {{{
 <bft:setnohtml>
 <name>my cool format</name>
 <description>it formats things coolly</description>
 % and now everything we put in that isn't explicitly a <name>, a
 <description>
 % or a <bfe_foo> gets passed to the browser uninterpreted.
 % this is not really different from how it works now, except that the bft:
 tag
 % above says to not wrap the output in any of the normal page template
 % boilerplate
 This is a valid, though boring, \latex document.
 <BFE_PRODUCE_SOME_INTERESTING_STUFF arg1=val1 arg2=val2 arg3=val3>
 }}}

 As far as I can tell, if this flag existed and were used liberally, a lot
 of the output special casing in search_engine could be simplified, and it
 might even be possible to implement things like atom feeds as BFTs.

 I like the bibformat system so I think this would be a pretty big win.

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

Reply via email to