Jerome Eteve > WebService-ReutersConnect > WebService::ReutersConnect::Channel

Download:
WebService-ReutersConnect-0.06.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

WebService::ReutersConnect::Channel - A ReutersConnect Channel

alias

The 'Primary ID' of the channel.

description

A short descriptive string.

last_update

A DateTime of .. the last channel update.

categories

Retuns an ArrayRef of WebService::ReutersConnect::Category's

Usage:

  foreach my $cat ( @{$channel->categories()} ){
    print('  Category: '.$cat->id().' - '.$cat->description());
  }

is_online_report

Returns true if this Channel contains the OLR category. Online report channel can be used to fetch edited NEPs (News Event Packages) with the WebService::ReutersConnect::packages method.

Usage:

 if( $this->is_online_report() ){
   ...
 }

from_node

Builds a new instance from the given WebService::ReutersConnect and XML node object.

syntax highlighting: