XML::NewsML_G2::Media_Topic - a subject covered in the news item, taken from a standardized controlled vocabulary
my $mm = XML::NewsML_G2::Media_Topic->new (name => 'mass media', qcode => 20000045); my $tv = XML::NewsML_G2::Media_Topic->new (name => 'television', qcode => 20000051, parent => $mm); $tv->add_translation(de => 'Fernsehen')
hash mapping IANA language codes to the translation of the name in that language
points to the broader media topic
whether the media topic has been manually specified by the editor
Philipp Gortan <philipp.gortan@apa.at>
<philipp.gortan@apa.at>
Copyright (c) 2013-2014, 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.