| 1 | = !RssEmbed Macro = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | Macro to embed a RSS feed into a wiki page. All HTML is stripped out. |
| 6 | |
| 7 | Useful for embeding the output or a ticket query from other trac instances into a wiki page. |
| 8 | |
| 9 | A parameter controls the display of a preview of the first 512 characters of each item. See the examples below. |
| 10 | |
| 11 | |
| 12 | == Bugs/Feature Requests == |
| 13 | |
| 14 | Existing bugs and feature requests for RssEmbedMacro are |
| 15 | [report:9?COMPONENT=RssEmbedMacro here]. |
| 16 | |
| 17 | If you have any issues, create a |
| 18 | [http://trac-hacks.org/newticket?component=RssEmbedMacro&owner=smithsos new ticket]. |
| 19 | |
| 20 | == Download == |
| 21 | |
| 22 | Download the zipped source from [download:rssembedmacro here]. |
| 23 | |
| 24 | == Source == |
| 25 | |
| 26 | You can check out RssEmbedMacro from [http://trac-hacks.org/svn/rssembedmacro here] using Subversion, or [source:rssembedmacro browse the source] with Trac. |
| 27 | |
| 28 | == Example == |
| 29 | |
| 30 | Embeding the RSS feed from local ticket query |
| 31 | |
| 32 | ![[RssEmbed(http://127.0.0.1:8000/test/query?status=!closed&format=rss&order=priority)]] |
| 33 | |
| 34 | Adding the options parameter to display the first 512 characters of each item. |
| 35 | |
| 36 | ![[RssEmbed(http://127.0.0.1:8000/test/query?status=!closed&format=rss&order=priority,true)]] |
| 37 | |
| 38 | == Recent Changes == |
| 39 | |
| 40 | [[ChangeLog(rssembedmacro, 3)]] |
| 41 | |
| 42 | == Author/Contributors == |
| 43 | |
| 44 | '''Author:''' [wiki:smithsos] [[BR]] |
| 45 | '''Contributors:''' |