Contact: (801) 853-8339 or jesse@staynalive.com
Twitter, FriendFeed, LinkedIn, or Facebook

RSS Lives!

Share

A lot of activity today! I have gotten rss working with HTML::Mason by converting the included template.rss into a format Mason can read. Then all that needs to be done is in autohandler, do something like this:

<%args>
$rss => ”
</%args>

% if (!$rss) {
# print default autohandler html
% }
% else {
% $r->content_type(“application/rdf+xml”);
<& rss.mas &>
%
% }

Then call any of your Mason components that use that autohandlers and add
?rss=1 to the uri. For instance, http://www.jessestay.com/index.html?rss=1

You can get the Mason module by clicking rss.tar.gz. I’ll add in atom support when I get some time later. You can try it out by adding my rss to your rss reader by clicking on the link to the right!

blog comments powered by Disqus