XML::NewsML_G2::News_Item_Video - a video news item (story)
my $ni = XML::NewsML_G2::News_Item_Video->new (guid => "tag:example.com,2013:service:date:number", title => "Story title", slugline => "the/slugline", language => 'de', provider => $provider, service => $service, ); $ni->add_genre($genre1, $genre2); $ni->add_source('APA'); my $hd = XML::NewsML_G2::Video->new( width => 1920, height => 1080, size => '23013531', duration => 30, audiochannels => 'stereo' ); $ni->add_remote('file:///tmp/files/123.hd.mp4', $hd);
Stefan Hrdlicka <stefan.hrdlicka@apa.at>
<stefan.hrdlicka@apa.at>
Copyright (c) 2013, APA-IT. All rights reserved.
See XML::NewsML_G2 for the license.
To install XML::NewsML_G2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::NewsML_G2
CPAN shell
perl -MCPAN -e shell install XML::NewsML_G2
For more information on module installation, please visit the detailed CPAN module installation guide.