
eBay::API::Simple::RSS

my $call = ebay::API::Simple::RSS->new();
$call->execute(
'http://sfbay.craigslist.org/search/sss?query=shirt&format=rss'
);
if ( $call->has_error() ) {
die "Call Failed:" . $call->errors_as_string();
}
# getters for the response DOM or Hash
my $dom = $call->response_dom();
my $hash = $call->response_hash();
# collect all item nodes
my @items = $dom->getElementsByTagName('item');
foreach my $n ( @items ) {
print $n->findvalue('title/text()') . "\n";
}

Constructor for the RSS API call
my $call = ebay::API::Simple::RSS->new();
$call->execute(
'http://sfbay.craigslist.org/search/sss?query=shirt&format=rss'
);

Calling this method will make build and execute the api request.
$url = feed to fetch
$call->execute(
'http://sfbay.craigslist.org/search/sss?query=shirt&format=rss'
);

This methods supplies an empty request body for the RSS API call

This methods supplies the headers for the RSS API call

This method creates the request object and returns to the parent class

Tim Keefer <tim@timkeefer.com>

Tim Keefer 2009