Net::Syndic8 - Object-oriented Perl interface to access and change information within the Syndic8 site
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"; } } ...
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.
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.
http://www.syndic8.com/web_services/,
Net::Syndic8::FeedsCollection,
Net::Syndic8::RPCXML .
Zahatski Aliaksandr, <zagap@users.sourceforge.net>
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.
To install Net::Syndic8, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Syndic8
CPAN shell
perl -MCPAN -e shell install Net::Syndic8
For more information on module installation, please visit the detailed CPAN module installation guide.