Hi all, I've set up a valid RSS Feed using a MySQL database and php. Now I want to "ping it out". I don't think the code should be that hard but I can't find out how to do it. I want to do something similar to wordpress where you have a list of sites like pingomatic and you somehow ping to those sites everytime your RSS Feed is updated. I think the answer might lie in XMLRPC but I don't even know what RPC stands for and I don't know how it relates to php. In what format do I need to send the data? Do the pingomatic sites just accept a set of $POST variables? So many questions so few answers. Any help on this would be very much appreciated. Thanks, Travis
You can always use exec or something similar to actually run a ping command. Other than that the closest thing I can think of would be to use get_headers.
I'm not talking about ping as in the ICMP protocol. It's ping as it relates to sending out RSS Feed information.
Yes, I think ping sites accept $_GET variables. I have never tried it, but I think I once found a page where they explained how to notify the site about your xml update. something like ping_site.com?feed_url=yourdomain.com or similar. Then yo u just need to call that URL like file_get_contents() or using curl. See this example for Technorati: http://technorati.com/ping/?url=http://www.ad4business.com/feed.php regards
Hi, Thanks I think I found a solution. http://www.cadenhead.org/workbench/weblog-pinger/ It seems to do everything I need.
chickenhouse... were you able to get this to work? I've been looking for something just like this. Seems time consuming though so I'm wondering how successful your were with this.