Information and Links

Join the fray by commenting, tracking what others have to say, or linking to it from your blog.


Other Posts

ExpressionEngine Ping Server List

Posted by jriordon on September 30th, 2009

Updated Ping List: October 21st 2009

This is a quick hack and a ping server list. The hack is to allow ping servers that require a port number that has more than 4 digits (i.e. icerocket.com requires port 10800). The list is mostly from this post, and has been edited due to a couple of bad reponses.

Please backup everything before doing these changes! I mean it!

The Hack:
First you need to update the DB table for pings so that you can store ports that are longer than 4 digits. This change will not delete anything from your databases.

CODE:
  1. alter table exp_ping_servers change column port port varchar(5) not null default 80

The next hack is to the core of EE (I hate doing this but don't know of a way to make a plugin for this).

Using your favourite editor, simply alter one line in /system/cp/cp.publish_ad.php. Change line 9154 (or there abouts) from:

CODE:
  1. $DSP->table_qcell($style, $DSP->input_text('server_port_'.$i, $row['port'], '2', '4', 'input', '30px'), '5%').

to:

CODE:
  1. $DSP->table_qcell($style, $DSP->input_text('server_port_'.$i, $row['port'], '2', '5', 'input', '35px'), '5%').

That's it! Now you can enter ports with more than 4 digits in them.

Here is the ping server list as promised formatted in MySQL so that you can easily import it into your ExpressionEngine install. If you already have ping servers installed, this list will not remove them, so you may end up with dupes.

CODE:
  1. insert into exp_ping_servers (site_id,member_id,server_name,server_url,port,ping_protocol,is_default,server_order) values
  2. (1,0,'blogrolling','http://rpc.blogrolling.com/pinger/',80,'xmlrpc','y',5),
  3. (1,0,'technorati','http://rpc.technorati.com/rpc/ping',80,'xmlrpc','y',5),
  4. (1,0,'weblogs','http://rpc.weblogs.com/RPC2',80,'xmlrpc','y',5),
  5. (1,0,'yahoo','http://search.yahooapis.com/SiteExplorerService/V1/ping',80,'xmlrpc','y',5),
  6. (1,0,'newsgator','http://services.newsgator.com/ngws/xmlrpcping.aspx',80,'xmlrpc','y',5),
  7. (1,0,'moreover','http://api.moreover.com/RPC2',80,'xmlrpc','y',5),
  8. (1,0,'blogpeople','http://www.blogpeople.net/servlet/weblogUpdates',80,'xmlrpc','y',5),
  9. (1,0,'feedburner','http://ping.feedburner.com/',80,'xmlrpc','y',5),
  10. (1,0,'syndic8','http://ping.syndic8.com/xmlrpc.php',80,'xmlrpc','y',5),
  11. (1,0,'blogsearch.google','http://blogsearch.google.com/ping/RPC2',80,'xmlrpc','y',5),
  12. (1,0,'icerocket','http://rpc.icerocket.com/',10080,'xmlrpc','y',5),
  13. (1,0,'pingomatic','http://rpc.pingomatic.com/',80,'xmlrpc','y',5),
  14. (1,0,'blog.goo','http://blog.goo.ne.jp/XMLRPC',80,'xmlrpc','y',5),
  15. (1,0,'pubsub','http://xping.pubsub.com/ping/',80,'xmlrpc','y',5),
  16. (1,0,'livedoor','http://rpc.reader.livedoor.com/ping',80,'xmlrpc','y',5),
  17. (1,0,'wordblog','http://ping.wordblog.de/',80,'xmlrpc','y',5),
  18. (1,0,'moreover','http://api.moreover.com/RPC2',80,'xmlrpc','y',5),
  19. (1,0,'blogsearch.google.at','http://blogsearch.google.at/ping/RPC2',80,'xmlrpc','y',5),
  20. (1,0,'weblogalot','http://ping.weblogalot.com/rpc.php',80,'xmlrpc','y',5),
  21. (1,0,'bloggers.jp','http://ping.bloggers.jp/rpc/',80,'xmlrpc','y',5),
  22. (1,0,'blogsearch.google.d','http://blogsearch.google.de/ping/RPC2',80,'xmlrpc','y',5),
  23. (1,0,'namaan.net','http://ping.namaan.net/rpc',80,'xmlrpc','y',5),
  24. (1,0,'technorati.jp','http://rpc.technorati.jp/rpc/ping',80,'xmlrpc','y',5),
  25. (1,0,'zhuaxia.com','http://zhuaxia.com/rpc/server.php',80,'xmlrpc','y',5),
  26. (1,0,'bloglines.com','http://www.bloglines.com/ping',80,'xmlrpc','y',5),
  27. (1,0,'bloggerei.de','http://rpc.bloggerei.de/ping/',80,'xmlrpc','y',5);

If you wish to wipe out clean your list of ping servers, first issue this in MySQL:

CODE:
  1. delete from exp_ping_servers;

From what I see, setting the member_id to zero, will allow for the ping servers to be viewed and used by any member with publishing rights. Otherwise, I presume you would set the member_id to a specific user. site_id = 1 is for single sites. If you have a MSM with more than one site, you will need to adjust as necessary.

Hopefully this helps some folks out.



Write a Comment

Take a moment to comment and tell us what you think. Some basic HTML is allowed for formatting.

Reader Comments

Nice article, thanks.