Initial support for ping service

It makes sense to use the weblogs.com ping service to alert people to
changes on the site. So, we do. Includes an extra ping queue handler.
This commit is contained in:
Evan Prodromou
2009-01-24 18:38:12 +01:00
parent 4c9f3297f2
commit 32f81b3c0e
4 changed files with 146 additions and 1 deletions

View File

@@ -1124,7 +1124,7 @@ function common_twitter_broadcast($notice, $flink)
function common_enqueue_notice($notice)
{
foreach (array('jabber', 'omb', 'sms', 'public') as $transport) {
foreach (array('jabber', 'omb', 'sms', 'public', 'ping') as $transport) {
$qi = new Queue_item();
$qi->notice_id = $notice->id;
$qi->transport = $transport;