This evening a wrote a Perl script using Mojolicious to generate a RSS and Atom feed for the BlitzMax website. I did this because that website has been lacking it. I use Google Reader to stay up to date with countless websites. Any website that doesn’t provide a RSS or Atom feed I’ve got to visit manually and scan through it to see if anything new and interesting has been posted. Which in turn can takes some time.
Below is the script I’ve written that uses some modules of the Mojolicious toolkit. Mojo::DOM makes it very easy to get specific content from a page and the CSS selector support is great. On top of that I’ve hardly had to use the documentation to figure out how to do what I wanted. Very clear API! For the feed generation I’ve used XML::Feed. I’m also using CHI to cache page content so it doesn’t need to fetch this every time the script runs.
You can host the script yourself, or you can add one of the links below to your RSS/Atom reader. As long as traffic doesn’t get too high I’ll be providing public access to the feeds.
2 Months ago I quit my full time job so I could go back to school and get my Bachelor’s degree in Computer Science (or Engineering rather, I think the line is a bit vague at my school). In these 2 months I’ve been working part time (about 2 hours a day, sometimes a bit more, or less) and have been taking it easy. Very easy :-).
I really enjoyed these 2 months off and have been able to get back to a more relaxed state of mind, although a month (or two?) extra would’ve been nice as well. But, since life expenses don’t take a break I couldn’t really permit much more time off (technically I could pay for it, but I chose not to). In these 2 months I got to spend a lot of time with my dog which I greatly enjoyed. I also got to do other stuff I was postponing for a long time as well. I finally started with learning me some Haskell, released Maximus and later on a GUI for it as well. I’ve been picking up the guitar again, but have to be careful not to force my hands too much. Don’t want the pain in my hands to return.
These 2 months have also brought misery. After only 1.5 week my mother suffered from a Myocardial infarction. If help would’ve come only a bit too late (or not at all… she amazingly enough made the right decisions and must’ve had an angel on her shoulder and has been very strong to push through) it would’ve ended in certain death… Later in August she got struck again. This time by a pre-stage of a Myocardial infarction. Again, this time help was available soon and she was flown to a hospital. Although stabilized, the next day she got another Percutaneous coronary intervention (which was due to happen anyway, this was clear when the infarction happened). The next day she got released from the hospital and has been doing better.
Earlier this week my dog started to cripple. 4 Weeks earlier he stepped out of the car, but made a misstep and smacked to the ground. He was cripple, but it went away after a couple of days. This time however, it didn’t seem to restore. After bringing him to the veterinarian it was clear he had a fracture in his elbow. Because he’s an old(er) dog surgery isn’t the first choice. So he’s now getting pain medication and the fracture has to restore by itself.
With all that has happened I’ve got mixed feelings about my 2 months ‘off’. I’m starting to think it somehow was meant to be for me to be at home for the things that were to happen. Aside from the not so fun things that happened, I’m glad I did take 2 months ‘off’ before starting school.
Today was introduction day. Got to meet most of my classmates, got a tour through the building, was handed my timetable (which looks rather nice for now) and had my picture taken. Luckily I’m not the oldest dude around. At least, that’s what I think. Some look older than me :-).