XML::NewsML_G2::Location - a location (city, region, country, ...)
my $at = XML::NewsML_G2::Location->new (name => 'Austria', qcode => 'at', relevance => 90, iso_code => 'AT') my $vie = XML::NewsML_G2::Location->new (name => 'Vienna', qcode => 'vie', relevance => 100, parent => $at)
Value (0..100) specifying how relevant the location is for the news item
points to the broader location (e.g., the city's country)
whether the location has been manually specified by the editor
for countries, the code in the ISO 3166-1a2 vocabulary - see http://www.iso.org/iso/home/standards/country_codes/country_names_and_code_elements.htm for a reference
Philipp Gortan <philipp.gortan@apa.at>
<philipp.gortan@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.