WebService::ReutersConnect::Item - A ReutersConnect SNI (Simple News Item).
Origin WebService::ReutersConnect::Channel of this Item.
Absolute ID of this item and version.
ID of this item regardless of its version.
A DateTime
In case of an image.
In case of a Video. Duration in seconds.
Convenience method that uses WebService::ReutersConnect::fetch_package tp fetch a richer version of this object. Dies if $this is not composite.
Usage:
if( $this->is_composite() ){ $this->fetch_richer_me(); ## This now contains richer content (according to ReutersConnect's package method. }
Returns true if this item is composite. A composite item is typically a NEP (News Event Package), or a SNEP (Super News Event Package pointing to other NEPs).
usage:
if( $this->is_composite() ){ my ( $rich_version ) = $reuters->fetch_package( $this->channel() , [ $this ] ); }
Build a new instance from a XML::LibXML::Node. Internal Use.
To install WebService::ReutersConnect, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::ReutersConnect
CPAN shell
perl -MCPAN -e shell install WebService::ReutersConnect
For more information on module installation, please visit the detailed CPAN module installation guide.