Digg and XMLRPC

Creating and modifying plugins.
Post Reply
martoq
Regular
Posts: 41
Joined: Thu Mar 10, 2005 5:05 pm

Digg and XMLRPC

Post by martoq »

Has anyone gotten Digg to work with the XMLRPC plugin? There are a few digg articles I want to cross post to my blog from their site. But I cannot seem to get it working.

If you goto digg and view the comments in an article, right at the top theres an option to "Blog This" and based on the prefs you set up on your account it should be able to send the blog straight to your site.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Digg and XMLRPC

Post by garvinhicking »

I don't have a digg account, but how can you configure the blog there? Can you specify Blogger or metaweblog API?

Did you install the XMLRPC posting plugin for serendipity?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
martoq
Regular
Posts: 41
Joined: Thu Mar 10, 2005 5:05 pm

Post by martoq »

here are the options:
type of blog:
Typepad, Blogger, LJ, Wordpress, Moveable Type, and Manual

blogapi:
Blogger, Metaweblog

blog username:

blog password:

url of blog:

url of xml-rpc for blog:
I have it set to manual, i use my blog address with the url serendipity_xmlrpc.php

Is there a way to test if I have the plugin installed correctly? It is installed yes.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Maybe you could try some other XMLRPC posting plugin to check if it is generally working. Like w.bloggar, flickr or ecto?

Make sure you are using the latest xmlrpc plugin listed on spartacus.s9y.org!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
martoq
Regular
Posts: 41
Joined: Thu Mar 10, 2005 5:05 pm

Post by martoq »

Cool. Will check them out and get back to you. Definitely have the latest one as I just installed it today. :)

Thanks for the assist will let you know how I make out.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

If you know some basic PHP code, you could edit the serendipity_xmlrpc.inc.php plugin file and set the $debug variable to true to create a logfile of what DIGG is sending to you and getting returned...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
martoq
Regular
Posts: 41
Joined: Thu Mar 10, 2005 5:05 pm

Post by martoq »

Well I tried the LJ/myspace plugin and it errored back saying I need PHP curl installed. Any hints on where to start on that?

I did some digging on my server and I already have libcurl and curl installed.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

LJ/MySpace is not XMLRPC! It requires PHP Curl extension (phpinfo() needs to report CURL), you need to contact your sysadmin for that. But it's a whole different thing than XMLRPC. :)

All CURL functions are AFAIK only required if you want to post to LJ/MySpace. The XML-RPC functionality should work without CURL...

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
martoq
Regular
Posts: 41
Joined: Thu Mar 10, 2005 5:05 pm

Post by martoq »

LOL alright, I will check out one of the ones you recommended.
martoq
Regular
Posts: 41
Joined: Thu Mar 10, 2005 5:05 pm

Post by martoq »

Well right now the problem looks like its Digg. They don't appear to be sending anything to my server. I will keep an eye out, as always thanks for the prompt response!
Post Reply