Embed RSS feed into wiki page

Description

Macro to embed a RSS feed into a wiki page. All HTML is stripped out.

Useful for embedding the output or a ticket query from other Trac instances into a wiki page.

A parameter controls the display of a preview of the first 512 characters of each item. See the examples below.

Parameters is the standard param=value. See below for a list of accepted parameters.

Bugs/Feature Requests

Existing bugs and feature requests for RssEmbedMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Make sure you install feedparser, or this macro won't work.

Source

You can check out RssEmbedMacro from here using Subversion, or browse the source with Trac.

Example

Embeding 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)]]

Screenshots

Screenshot with detail enabled

Screenshot without detail

Recent Changes

[6230] by smithsos on 07/19/09 13: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 07/19/09 13:15:16

Adds the correct setup.py back to svn. Had been overwritten with a default one.

[6228] by smithsos on 07/19/09 11:28:04

Resolves 5519, hudson feeds don't give an error any more.

[5902] by smithsos on 05/31/09 05:03:48

Update the arg parsing code not trim the last character incorrectly

Author/Contributors

Author: smithsos
Maintainer: smithsos
Contributors:

Attachments