#!/usr/bin/perl -w use strict; use XML::RSS; use LWP::Simple; use HTML::Entities; sub findurl ($$) { my $title = shift; my $pagein = shift; if ($pagein =~ /$title<\/a>/i) { return "http://www.michaelmoore.com/words/diary/$1"; } } my $rss = new XML::RSS (version => '1.0'); my $page = get("http://www.michaelmoore.com/words/diary/index.php"); $rss->channel(title => "Mike's Blog", link => "http://www.michaelmoore.com/words/diary/index.php", description => "Michael Moore's blog"); foreach (split ('