[PATCH] Adding Google's XML-RPC ping service

Discussion corner for Developers of Serendipity.
Post Reply
atiensivu
Regular
Posts: 5
Joined: Wed Oct 11, 2006 7:01 pm
Location: Michigan - USA
Contact:

[PATCH] Adding Google's XML-RPC ping service

Post by atiensivu »

Normally I would stick extra XML-RPC ping services in the custom field, where they belong, but since this is Google, I figured it was worth patching the serendipity_event_weblogping to add it into the list of options.

Code: Select all

--- serendipity-nightly/plugins/serendipity_event_weblogping/servicesdb_en.inc.php.orig 2006-10-11 12:38:53.000000000 -0400
+++ serendipity-nightly/plugins/serendipity_event_weblogping/servicesdb_en.inc.php      2006-10-11 12:47:51.000000000 -0400
@@ -15,7 +15,7 @@
               'host'       => 'rpc.pingomatic.com',
               'path'       => '/',
               'extended'   => true,
-              'supersedes' => array('blo.gs', 'blogrolling.com', 'technorati.com', 'weblogs.com', 'Yahoo!')
+              'supersedes' => array('blo.gs', 'blogrolling.com', 'technorati.com', 'weblogs.com', 'Yahoo!', 'Blogbot.dk', 'Google')
             ),

             array(
@@ -58,6 +58,12 @@
             array(
               'name' => 'Blogbot.dk',
               'host' => 'blogbot.dk',
-              'path' => '/io/xml-rpc.php')
+              'path' => '/io/xml-rpc.php',
+            ),
+           array(
+              'name' => 'Google',
+              'host' => 'blogsearch.google.com',
+              'path' => '/ping/RPC2',
+            ),
         );
 ?>

Please feel free to send me any feedback on it.
Love the software, BTW.
My own blog is located at: http://blog.tiensivu.com/aaron/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: [PATCH] Adding Google's XML-RPC ping service

Post by garvinhicking »

Hi!

Thanks for the good suggestion, I just committed that to our 1.1 branch!

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/
Post Reply