RSS::Video::Google - Perl extension for generating RSS XML feeds similar to those produced by Google Video web site.
use RSS::Video::Google; my $video = RSS::Video::Google->new $video->new_channel( items_per_page => ITEMS_PER_PAGE, start_index => $start_index + 1, total_results => $total_results, ); $video->channel->new_item( description => $item->description, title => $item->title, new_media => { new_content => { url => $item->content_url, duration => $item->duration, }, new_thumbnail => { url => $item->thumbnail_url, }, }, ); print $video->xml;
Produces XML RSS feeds similar to those return by google. http://video.google.com/videofeed?xxx
You might need something like this if you are writting software to interact with the Google video server and need to test with your own data sets.
Jeff B Anderson, jeff@pvrcanada.com
XML::Simple
To install RSS::Video::Google, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RSS::Video::Google
CPAN shell
perl -MCPAN -e shell install RSS::Video::Google
For more information on module installation, please visit the detailed CPAN module installation guide.