Tag: code
-
—
An Approach for Tetris Shapes in C++
I've been noodling with a Win32 version of Tetris , the ubiquitous "shape placing" game. I'm working in C++ using the Simple Directmedia Layer for my graphics. One of the interesting things in working out the game is…
-
—
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…