NAME
Net::ITE - OOP-ish interface to the Internet Topic Exchange
SYNOPSIS
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");
DESCRIPTION
OOP-ish interface to the Internet Topic Exchange.
NOTES
This is alpha quality software. Buyer beware.
The error handling sucks and will be addressed in future releases.
Net::ITE
__PACKAGE__->new($blogname)
Returns an object.Woot!
$ite->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.
$ite->topic($topic)
Returns a Net::ITE::Topic object.
$ite->new_topic($topic)
Returns true or false.
Net::ITE::Topic
$topic->title()
$topic->about()
Not implemented (yet)
$topic->url()
$topic->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.
$topic->ping(\%args)
blog_name
If this property is not passed then the value passed to the Net::ITE constructor will be used.
title
url
excerpt
Returns true or false.
Net::ITE::Post
$post->title()
$post->url()
$post->excerpt()
Net::ITE::Iterator
$it->count()
$it->next()
Returns an object.Woot!
VERSION
0.03
DATE
January 17, 2003
AUTHOR
Aaron Straup Cope
REQUIREMENTS
LWP::UserAgent
HTTP::Request
XML::RSS
XML::TrackBack
SEE ALSO
http://topicexchange.com
http://www.mplode.com/tima/files/TrackBack.pm
LICENSE
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.