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.
new($blogname)
Returns an object.Woot!
topics()
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.
topic($topic)
Returns a Net::ITE::Topic object.
new_topic($topic)
Returns true or false.
title()
about()
Not implemented (yet)
url()
posts()
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.
ping(\%args)
If this property is not passed then the value passed to the Net::ITE constructor will be used.
title url excerptReturns true or false.
title()
url()
excerpt()
count()
next()
Returns an object.Woot!
0.05
$Date: 2003/04/17 13:25:47 $
Aaron Straup Cope
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.