Loading ...
Sorry, an error occurred while loading the content.
 

Re: perl and XML-RPC

Expand Messages
  • vahakmatavosian
    Hi, Could somebody send me an PHP code that works for syndic8.FindFeeds? Thanks, Vahak; ... if I ... without a
    Message 1 of 4 , Oct 8, 2004
      Hi,
      Could somebody send me an PHP code that works for syndic8.FindFeeds?

      Thanks,
      Vahak;
      --- In syndic8@yahoogroups.com, "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
      if I
      > use the Delphi package, I get a similar error when I use FindFeeds
      without a
      > pattern to match, whereas it works if I pass a pattern.
      >
      > The difference with Get FeedCount is that the latter doesn't need an
      > argument.
      >
      > > 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;
    • Jason Trommetter
      Check out CaRP http://www.mouken.com/rss/ On Fri, 08 Oct 2004 19:45:52 -0000, vahakmatavosian
      Message 2 of 4 , Oct 12, 2004
        Check out CaRP

        http://www.mouken.com/rss/

        On Fri, 08 Oct 2004 19:45:52 -0000, vahakmatavosian
        <vahak_matavosian@...> wrote:
        >
        >
        > Hi,
        > Could somebody send me an PHP code that works for syndic8.FindFeeds?
        >
        > Thanks,
        > Vahak;
      Your message has been successfully submitted and would be delivered to recipients shortly.