[[PageOutline(2-5,Contents,pullout)]] = Chain Multiple Macros/Processors = == Description == This macro allows you to chain multiple macros (including WikiProcessors) together (think unix command line pipes). I.e. it allows you to feed the output from one macro as input to the next. == Bugs/Feature Requests == Existing bugs and feature requests for MacroChainMacro are [report:9?COMPONENT=MacroChainMacro here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=MacroChainMacro&owner=roadrunner new ticket]. == Download == Download the zipped source from [download:macrochainmacro here]. This macro must be installed as a plugin. To do so, change the directory to `macrochainmacro/0.11` (if running trac 0.11 or 0.12) or `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. == Source == You can check out MacroChainMacro from [http://trac-hacks.org/svn/macrochainmacro here] using Subversion, or [source:macrochainmacro browse the source] with Trac. == Example == The following mimicks the [http://trac.edgewall.org/wiki/MacroBazaar#MimeInclude MimeInclude] macro: {{{ [[MacroChain(Include(http://www.example.com/), text/html)]] }}} This uses the CsvMacro to display a csv file from the repository as a table: {{{ [[MacroChain(Include(trunk/foo/bar.csv), CsvMacro)]] }}} The following uses the XsltMacro and GraphvizPlugin to create a graph of some xml data: {{{ [[MacroChain(Xslt(graph.xslt, doc.xml), graphviz.dot)]] }}} == Recent Changes == [[ChangeLog(macrochainmacro, 3)]] == Author/Contributors == '''Author:''' [wiki:roadrunner] [[BR]] '''Maintainer:''' [wiki:roadrunner] [[BR]] '''Contributors:'''