[thelist] rss feed pagination

John DeStefano john.destefano at gmail.com
Thu Dec 14 13:00:40 CST 2006

tim wrote:
> > Anyone know of a quick & dirty way to clean up an RSS feed?  There's a
> > lot of data being sent from this particular feed, and it would be
> > great to add pagination for easier navigation.
> Could you give us some more information?  Are you producing the feed
> yourself?  Could you show us the XSLT you are using?

Sorry... not much information to go on, huh?

We're using a user ticket-tracking system called RT [1].  There is
very little information available regarding the RSS feed capabilities
of the application [2], but one of the downsides is that a user must
be logged in in order to view this information (or a user's user/pass
can be included in the URL query string).  I suggested that an
anonymous account be created, so that its creds could be passed in
such a URL for feeds, but the folks here have concerns about allowing
unauthorized users any sort of access to CGI scripts (even just read
ones, like this one).

So, their solution is to develop a local script that generates the
feed data hourly using a system account, and then pushes this data to
a static page that can be viewed without an account.  I found a web
article [3] that gives some perl code that seems to do this, but I
haven't been able to figure out how to turn the RDF output from the
application into something the perl script can parse.  And, as always,
I assume there's likely a better|easier way to do this that I know
nothing about!

Since you have to log in in order to generate a feed (and since this
is work stuff and not my own, personal stuff), I can't post a link to
an example page.  But I would be glad to generate one and email it in
a file if that would be of any benefit.

Anyway ... <tangent> I just tried viewing some of this feed data in
Firefox 2, and it seems that the browser has a mind of its own when it
comes to displaying RSS feeds: the display completely ignored the
stylesheet or transformation provided by the feed.  The only RSS feed
configuration options I see in FF2 are:
- Show me a preview and ask me which Feed Reader to use. Or,
- Subscribe to the feed using: [application]

What about another option, like:
- Display the feed using the transform provided by the feed [if any]

I actually like the default display that Firefox now shows... but I'm
not sure I like the fact that the original transformation seems to be


[1] http://bestpractical.com/rt
[2] http://wiki.bestpractical.com/index.cgi?RssFeed
[3] http://www.ddj.com/showArticle.jhtml?documentID=new1013637407&pgno=8

More information about the thelist mailing list