Re: perl and XML-RPC
Could somebody send me an PHP code that works for syndic8.FindFeeds?
--- In firstname.lastname@example.org, "FGM" <fgm@o...> wrote:
> I'd say you're missing the required argument to FindFeeds, which is a
> pattern to match feeds. I don't know how the Perl package works, but
> use the Delphi package, I get a similar error when I use FindFeeds
> pattern to match, whereas it works if I pass a pattern.
> The difference with Get FeedCount is that the latter doesn't need an
> > Date: Thu, 07 Oct 2004 18:46:18 -0000
> > From: "vahakmatavosian" <vahak_matavosian@m...>
> > Subject: perl and XML-RPC
> > Hi,
> > I'm using perl Frontier::Client for a project and I have the following
> > code which doesn't work.
> > > use Frontier::Client;
> > > my $args=('soccer');
> > > my $size;
> > > $server_url='http://www.syndic8.com/xmlrpc.php;
> > > $server = Frontier::Client->new(url => $server_url);
> > > $result = $server->call('syndic8.FindFeeds', @args);
> > > $size = $result;
> > > print "$result\n";
> > > print "size: $size\n";
> > and when I run it I get this;
> > > ARRAY(0x854fd10)
> > > size: 0
> > Basically the server doesn't return anything. If I change
> > syndi8.FindFeeds to syndic8.GetFeedCount then I get the correct result
> > which tells me that I'm probably passing the arguments to FindFeed
> > incorrectly.
> > I was wondering if somebody could help me with the code.
> > thanks,
> > Vahak;