#rssurl #docs below, or perldoc rssurl package rssurl; sub start(){ 1; } sub head(){ my($pkg, $currentdir, $head_ref) = @_; if($currentdir =~ /^(.*?)\.([a-zA-Z0-9]+?)$/){ $rssurl::rss_url=$blosxom::url . "/" . $1 . ".rss"; } else{ if($currentdir ne ""){ $rssurl::rss_url=$blosxom::url . "/" . $currentdir . "/index.rss"; }else{ $rssurl::rss_url=$blosxom::url . "/index.rss"; } } 1; } 1; __END__ =head1 USAGE Put this plugin file in the blosxom plugin dir. the variable $rssurl::rss_url will now be replaced with the rss feed for the current page Consider the following: adding a alternate link to your HTML header and a http link directly to the rss page: RSS =head1 LICENSE Copyright 2004, Terrence Ezrol Permission to use this code, without restrictions of any kind is hereby granted. This includes the right to: copy, modify, merge, publish, distribute, sublicensee, and/or sell copies of this code, and/or software using this code. This notice is not required to be in any product based on, or using this code. I (Terrence Ezrol) provide this code "as is", without warranty of any kind. Please use this code at your own risk.