Page 1 of 1

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

Posted: Wed Oct 11, 2006 7:07 pm
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/

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

Posted: Wed Oct 11, 2006 8:59 pm
by garvinhicking
Hi!

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

Best regards,
Garvin