Contents
Embed RSS feed into wiki page
Description
This is a macro to embed a RSS feed into a Trac wiki page. This is useful for embedding the output or a ticket query from other Trac instances into a wiki page.
To display the RSS feed, the existing HTML is stripped out. A parameter controls the display of a preview of the first 512 characters of each item. See the examples below.
Parameters are given as key-value pairs, such as in param=value
.
Embedding the RSS feed from local ticket query:
[[RssEmbed(url=http://127.0.0.1:8000/test/query?status=!closed&format=rss&order=priority)]]
Adding the options parameter to display the first 512 characters of each item:
[[RssEmbed(url=http://127.0.0.1:8000/test/query?status=!closed&format=rss&order=priority,details=true)]]
Adding a proxy server:
[[RssEmbed(url=http://127.0.0.1:8000/test/query?status=!closed&format=rss&order=priority,details=true,proxy=http://trac-hacks.org:3128)]]
Ticket details in RSS feed output are displayed also:
Ticket details in RSS feed output are not displayed:
Bugs/Feature Requests
Existing bugs and feature requests for RssEmbedMacro are here.
If you have any issues, create a new ticket.
defect |
5 / 11 |
||
---|---|---|---|
enhancement |
0 / 3 |
||
task |
1 / 1 |
Download
Download the zipped source from here.
Source
You can check out RssEmbedMacro from here using Subversion, or browse the source with Trac.
Installation
Make sure you install feedparser, or this macro won't work.
Recent Changes
- 17482 by rjollos on 2019-08-31 17:42:15
-
Fix example in README
Fixes #6619.
- 6230 by smithsos on 2009-07-19 11:18:10
-
Resolves #5488. Adds proxy support. I've tested with an anonymous proxy though as it is not enforced it is difficult to be sure. Syntax is proxy=http.proxy.company.com:3128
- 6229 by smithsos on 2009-07-19 11:15:16
-
Adds the correct setup.py back to svn. Had been overwritten with a default one.
(more)
Author/Contributors
Author: smithsos
Maintainer: Simon Smithson
Contributors:
Attachments (2)
-
rssEmbedDetail.png (59.8 KB) - added by 16 years ago.
Screenshot with detail enabled
-
rssEmbedNoDetail.png (13.0 KB) - added by 16 years ago.
Screenshot without detail
Download all attachments as: .zip