Net::ITE - OOP-ish interface to the Internet Topic Exchange
use Net::ITE; my $ite = Net::ITE->new(); # Get all the posts for a topic my $topic = $ite->topic("montreal_quebec_canada"); my $posts = $topic->posts(); while (my $item = $posts->next()) { print $item->title()."\n"; print $item->excerpt()."\n"; } # Add your post to a topic listing $topic->ping({title=>"foo", url=>"http://foo.com/123", excerpt=>"yadda yadda yadda"}); # Create a new topic $ite->new_topic("foobars");
OOP-ish interface to the Internet Topic Exchange.
The error handling sucks and will be addressed in future releases.
Returns an object.Woot!
When called in a scalar context, returns an Net::ITE::Iterator object of Net::ITE::Topic objects.
When called in an array context, returns a list of Net::ITE::Topic objects.
Returns a Net::ITE::Topic object.
Returns true or false.
Not implemented (yet)
When called in a scalar context, returns an Net::ITE::Iterator object of Net::ITE::Post objects.
When called in an array context, returns a list of Net::ITE::Post objects.
blog_name
If this property is not passed then the value passed to the Net::ITE constructor will be used.
title
url
excerpt
0.05
$Date: 2003/03/20 05:09:14 $
Aaron Straup Cope
http://topicexchange.com
Copyright (c) 2003 Aaron Straup Cope, All Rights Reserved.
This is free software, you may use it and distribute it under the same terms as Perl itself.
To install Net::ITE, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::ITE
CPAN shell
perl -MCPAN -e shell install Net::ITE
For more information on module installation, please visit the detailed CPAN module installation guide.