May 05, 2007

AJAX RSS reader to pull UMJIRA feeds into your web site

I wrote an AJAX RSS reader to pull UMJIRA RSS feeds into generic web sites. Normally you'd have all kinds of trouble getting content between pages located in different domains (such as from this blog.lib.umn.edu to umjira.umn.edu, but I found a way to get around the problem without sacrificing security. Better still, I give all of the control over how the resulting data is presented to YOU, through CSS. So, if you ever wanted a handy little RSS feed from one of your JIRA projects, say, like this:

Issues for arete-1.0-alpha-05

Now's your chance.

I built it over the course of the last four evenings. I've added further refinement of the RSS reader this morning, and am ready to call it complete. In addition to the feed URL being completely configurable from inside of a remote client (like a blog entry or a TWiki topic), the URL of the CSS stylesheet for the feed can also be configured through a URL parameter. So, whatever the feed is that you're looking for on UMJIRA, you can now pull it directly into your web page. I'm going to build one for the UThink blogs next, but everyone's got a different RSS layout so I'll likely have to require that people standardize their RSS feed structures to use the UThink feed reader.

I have posted up the new code inside of the arete project site:
https://wiki.umn.edu/twiki/bin/view/Arete

You'll see it on the left bar.

This table is being drawn from the RssFeed-1_0-alpha-05 topic:
https://wiki.umn.edu/twiki/bin/view/Arete/RssFeed-1_0-alpha-05

You can see how I configured the target of the RSS feed and the CSS stylesheet by looking at:
https://wiki.umn.edu/twiki/bin/view/Arete/RssFeed-1_0-alpha-05?raw=on

The CSS stylesheet for this table is now an attachment of the WebStyleSheets topic at:
https://wiki.umn.edu/twiki/bin/view/Arete/WebStyleSheets

And, of course, the contents of this CSS file can be viewed online at:
http://wiki.umn.edu/twiki/pub/Arete/WebStyleSheets/twiki-sidebar.css

Once again, I send my heartfelt thanks to the University of Minnesota Science and Engineering library for providing late night and weekend study hours. What a difference it makes to have a safe and quiet place to work at night and on weekends!

The views and opinions expressed in this page are strictly those of the page author. The contents of this page have not been reviewed or approved by the University of Minnesota.