XML::RAI::Image - An interface to the image elements of a RSS feed.
# Copyright (c) 2004-2009 Timothy Appnel
# http://appnel.com/
# This code is released under the Artistic License.
#
# XML::RAI::Image - An interface to the image elements of a RSS feed.
#
package XML::RAI::Image;
use strict;
use vars qw(@ISA $XMap);
@ISA = qw( XML::RAI::Object );
$XMap = {
description => [
'/channel/image[0]/description',
'/channel/image[0]/rss091:description'
],
height => ['/channel/image[0]/height', '/channel/image[0]/rss091:height'],
'link' => ['/channel/image[0]/link'],
title => ['/channel/image[0]/title', '/channel/image[0]/dc:title'],
url => [
'/channel/image[0]/@rdf:resource', '/channel/image[0]/@rdf:about',
'/channel/image[0]/url'
],
width => ['/channel/image[0]/width', '/channel/image[0]/rss091:width']
};
1;
__END__