The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::Syndic8 - Object-oriented Perl interface to access and change information within the Syndic8 site

SYNOPSIS

  use Net::Syndic8;
  my $obj= new Net::Syndic8::;
  my $res=$obj->FindFeeds('unix');
 ...
  foreach my $feed (@$res) {
        my $hash_ref=$feed->Data;
        print join "\t"=> $feed->ID, map { $hash_ref->{$_} } qw/siteurl sitename dataurl/;
        print "\n";
 }
 ...
  while (my @bulk=splice(@$res,0,10)) {     #splice by ten items
    $obj->FeedsColl()->Load(@bulk);         #for bulk load (by one query to Syndic8)
    foreach my $feed (@bulk) {              # it use syndic8.GetFeedInfo for array
        my $hash_ref=$feed->Data;
        print join "\t"=> $feed->ID, map { $hash_ref->{$_} } qw/siteurl sitename dataurl/;
        print "\n";
        }
        }
 ...

DESCRIPTION

Syndic8.com is the place to come to find RSS and Atom news feeds on a wide variety of topics. It have XML-RPC web service calls, which can be used to access and change information within the Syndic8 site.

PUBLIC METHODS

  • FindFeeds (rpc function: syndic8.FindFeeds)

    This function takes the given pattern, matches it against all of the text fields of each feed in the feed list, optionally sorts, the results by the given field, and returns the FeedIDs of the matching feeds, optionally restricted to the given limit.

  • FindSites (rpc function: syndic8.FindSites)

    This function takes the given pattern, matches it against the SiteURL feed of each feed in the feed list, and returns the FeedIDs of the matching feeds.

SEE ALSO

http://www.syndic8.com/web_services/,

Net::Syndic8::FeedsCollection,

Net::Syndic8::RPCXML .

AUTHOR

Zahatski Aliaksandr, <zagap@users.sourceforge.net>

COPYRIGHT AND LICENSE

Copyright (C) 2004 by Zahatski Aliaksandr

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available.