Tag: perl
-
—
Fixing Blank Previews on My Website
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…
-
—
Printing PATHs Nicely (with Perl)
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…
-
—
Creating RSS Feeds (Part 3 of 3)
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?
-
—
Creating RSS Feeds (Part 2 of 3)
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. On the BLOG, a typical entry looks like this:
-
—
Creating RSS Feeds (Part 1 of 3)
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…