Changes between Version 10 and Version 11 of MacroChainMacro


Ignore:
Timestamp:
Aug 28, 2016, 10:53:04 AM (8 years ago)
Author:
figaro
Comment:

Further cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • MacroChainMacro

    v10 v11  
    11[[PageOutline(2-5,Contents,pullout)]]
    22
    3 = Chain Multiple Macros/Processors
     3= Chain multiple macros and processors
    44
    55== Description
    66
    7 This macro allows you to chain multiple macros (including WikiProcessors) together (think Unix command line pipes). That means it allows you to feed the output from one macro as input to the next.
     7This macro allows you to chain multiple macros (including WikiProcessors) together, similar to Unix command line pipes. That means it allows you to feed the output from one macro as input to the next.
     8
     9The following mimicks the [t:MacroBazaar#MimeInclude MimeInclude] macro:
     10{{{
     11[[MacroChain(Include(http://www.example.com/), text/html)]]
     12}}}
     13
     14This uses the CsvMacro to display a csv file from the repository as a table:
     15{{{
     16[[MacroChain(Include(trunk/foo/bar.csv), CsvMacro)]]
     17}}}
     18
     19The following uses the XsltMacro and GraphvizPlugin to create a graph of some xml data:
     20{{{
     21[[MacroChain(Xslt(graph.xslt, doc.xml), graphviz.dot)]]
     22}}}
    823
    924== Bugs/Feature Requests
     
    3045or `macrochainmacro/0.9` (if running Trac 0.9 or 0.10), run `python setup.py bdist_egg` and copy the resulting `dist/macrochain-0.X-pyY.Z.egg` to your plugins directory.
    3146
    32 == Example
    33 
    34 The following mimicks the [t:MacroBazaar#MimeInclude MimeInclude] macro:
    35 {{{
    36 [[MacroChain(Include(http://www.example.com/), text/html)]]
    37 }}}
    38 
    39 This uses the CsvMacro to display a csv file from the repository as a table:
    40 {{{
    41 [[MacroChain(Include(trunk/foo/bar.csv), CsvMacro)]]
    42 }}}
    43 
    44 The following uses the XsltMacro and GraphvizPlugin to create a graph of some xml data:
    45 {{{
    46 [[MacroChain(Xslt(graph.xslt, doc.xml), graphviz.dot)]]
    47 }}}
    48 
    4947== Recent Changes
    5048