Latest News

30th July 2007
Send to twitter Send to Facebook

If you are using the Perl module XML::RSS in the following way:

my $R = XML::RSS->new;
foreach my $url (@urls) {
  my $content = wget($url);
  $R->parse($content);
}

In older versions of the XML::RSS module, this code worked fine. However, if you have upgraded the module recently, you might have noticed the error message: Modification of non-creatable array value attempted, subscript -1 at /usr/local/lib/perl5/site_perl/5.8.5/XML /RSS.pm line 792.

It is not the feed that has gone rancid on you, but the library. Try instantiating a RSS object within the loop like this:

foreach my $url (@urls) {
  my $content = wget($url);
  my $R = XML::RSS->new;
  eval{$R->parse($content)};
  if ($@) {
    warn("Parse error: $@");
    next;
  }
}

I've added some "exception" handling for free in this example so that parse errors don't blow up your program.

I'm afraid I did not dive into XML::RSS.pm to figure out the problem, but if someone with that knowledge wishes to post below, I'm sure won't be the only one who welcomes enlightenment.

30th November 2001
Send to twitter Send to Facebook

I've been playing with Image::Magick lately. I started with photomosaics, which require a lot of CPU power and time. Although I had some success at creating them, I problem need to use larger source JPGs for a better mosaic.

The next thing I did was create a montage of graphics pulled from Rich Site Summary files. Check out these at Taskboy. Unfortunately, I don't have a general solution for creating these yet. To make them interesting, they should follow the links mentioned in each RSS item. Oh well. It's a fun toy anyway.

[Original use.perl.org post and comments.]

15th October 2006
Send to twitter Send to Facebook

In my continuing quest to implement hot technology from the year 2000, I've created an RSS aggregator.

This application is more than a rehash of Rael Dornfest's Meerkat, which I miss.

I'm very fond of Firefox's Live Bookmarks, but I don't always have my computer with me. This way, I can get to the important feeds from any machine.

All VC funding offers should be directed to the email at the bottom of this page. The gravy train is pulling out of the station!

I'm also working on a sort of Wiki for Taskboy, but it's not quite ready for prime time yet.

About this blog

The taskboy blog is a exploration of computer technology by Joe Johnston. Topics of posts include practical examples Perl, PHP, Python and Java as well as book reviews, industry insights and miscellaneous good stuff.

Current Status

Watching _Brass Latern_. Ah IF, your coyness is your charm.

Posted: Sun Sep 05 16:02:15 +0000 2010