I had to change the position of your new code as I kept getting repeated images. Seems OK though, any significance in this change?
my @news;
for (my $i = 0; $i < $count; $i++) {
push @news, $ref->{channel}->{item}[$i];
$ref->{channel}->{item}[$i]->{image} = $ref->{channel}->{item}[$i]->{'media:thumbnail'}->{url};
}
~ ERASER
Free JavaScripts @ Insight Eye