XML::NewsML_G2::News_Item_Picture - a picture news item
my $ni = XML::NewsML_G2::News_Item_Picture->new (guid => "tag:example.com,2013:service:date:number", title => "Story title", slugline => "the/slugline", language => 'de', provider => $provider, service => $service, photographer => 'Homer Simpson' ); my $pic = XML::NewsML_G2::Picture->new (mimetype => 'image/jpg', rendition => 'highRes', width => 1600, height => 1024 ); my $thumb = XML::NewsML_G2::Picture->new (mimetype => 'image/jpg', rendition => 'thumb', width => 48, height => 32 ); $ni->add_remote('file://tmp/files/123.jpg', $pic); $ni->add_remote('file://tmp/files/123.thumb.jpg', $thumb);
A photographer string
Christian Eder <christian.eder@apa.at>
<christian.eder@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.