My vanity website reads various RSS feeds, displaying a preview of their content. I use HTML::TokeParser to break apart the HTML inside the RSS feed. One RSS feed is from my sports BLOG, but a recent change (the BLOG moved from one site to another) started causing the preview text to be blank.
I spend a lot of time in the DOS Command Window. And I spend a lot of time being curious about my Windows PATH. Examining the directories in your PATH can be a demoralizing exercise, but a Perl one-liner makes reading it very manageable.
In the previous post, I showed how WWW::Mechanize and HTML::TokeParser can grab content from a website, and parse that content to produce the information required for an RSS feed. So how do I make a feed with all that?
In the previous part, I showed the main loop to grab the "interesting bits" from the HTML of my Sporting News' BLOG. Let me dig into this a little more.
I have a separate BLOG on sports at The Sporting News. However, if you wanted to point your RSS feed reader (say, Bloglines or Google Reader) to that BLOG, you'd be out of luck. For some reason, Sporting News doesn't provide RSS feeds for their blogging public. So I set out to create my own RSS feed.