RSS Lives! - Stay N Alive

RSS Lives!

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:

$rss => ”

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

%
% }

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!


Discover more from Stay N Alive

Subscribe to get the latest posts sent to your email.

Leave a Reply

Your email address will not be published. Required fields are marked *

Discover more from Stay N Alive

Subscribe now to keep reading and get access to the full archive.

Continue reading