| 1 | = Chain Multiple Macros/Processors = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | This macro allows you to chain multiple macros (including WikiProcessors) |
| 6 | together (think unix command line pipes). I.e. it allows you to feed the |
| 7 | output from one macro as input to the next. |
| 8 | |
| 9 | |
| 10 | == Bugs/Feature Requests == |
| 11 | |
| 12 | Existing bugs and feature requests for MacroChainMacro are |
| 13 | [report:9?COMPONENT=MacroChainMacro here]. |
| 14 | |
| 15 | If you have any issues, create a |
| 16 | [http://trac-hacks.org/newticket?component=MacroChainMacro&owner=roadrunner new ticket]. |
| 17 | |
| 18 | == Download == |
| 19 | |
| 20 | Download the zipped source from [download:macrochainmacro here]. |
| 21 | |
| 22 | == Source == |
| 23 | |
| 24 | You can check out MacroChainMacro from [http://trac-hacks.org/svn/macrochainmacro here] using Subversion, or [source:macrochainmacro browse the source] with Trac. |
| 25 | |
| 26 | == Example == |
| 27 | |
| 28 | The following mimicks the [http://trac.edgewall.org/wiki/MacroBazaar#MimeInclude MimeInclude] macro: |
| 29 | {{{ |
| 30 | [[MacroChain(Include(http://www.example.com/, None), text/html)]] |
| 31 | }}} |
| 32 | This uses the CsvMacro to display a csv file from the repository as a table: |
| 33 | {{{ |
| 34 | [[MacroChain(Include(trunk/foo/bar.csv, None), CsvMacro)]] |
| 35 | }}} |
| 36 | The following uses the XsltMacro and GraphvizPlugin to create a graph of some xml data: |
| 37 | {{{ |
| 38 | [[MacroChain(Xslt(graph.xslt, doc.xml), graphviz.dot)]] |
| 39 | }}} |
| 40 | |
| 41 | == Recent Changes == |
| 42 | |
| 43 | [[ChangeLog(macrochainmacro, 3)]] |
| 44 | |
| 45 | == Author/Contributors == |
| 46 | |
| 47 | '''Author:''' [wiki:roadrunner] [[BR]] |
| 48 | '''Contributors:''' |