WaitReSS::Item - A RSS item
version 0.003
This class represents a simple RSS item.
The item title. Required.
The url (a string) to which the RSS item is pointing to. Required.
The item description, usually the whole article or a summary.
The item publication date (stored as an epoch integer).
my $id = $item->id;
Return a unique identifier for the item. Internally, it's a MD5 sum of the url pointed by the item.
my $str = $item->as_string;
Return a string representation of the item.
my $str = $item->timestamp;
Return a string representation (yyyy-mm-dd hh:mm:ss format) of the pub_date attribute.
yyyy-mm-dd hh:mm:ss
pub_date
Jerome Quelin <jquelin@gmail.com>
This software is copyright (c) 2013 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install WaitReSS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WaitReSS
CPAN shell
perl -MCPAN -e shell install WaitReSS
For more information on module installation, please visit the detailed CPAN module installation guide.