/[drupal]/contributions/modules/technorati/technorati.module
ViewVC logotype

Diff of /contributions/modules/technorati/technorati.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.11.2.1, Sun Jul 27 23:54:22 2008 UTC revision 1.11.2.2, Wed Sep 24 15:35:53 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: technorati.module,v 1.11 2008/07/27 16:28:34 kbahey Exp $  // $Id: technorati.module,v 1.11.2.1 2008/07/27 23:54:22 kbahey Exp $
3    
4  /*  /*
5   * @file   * @file
# Line 344  function _technorati_taxonomy($node) { Line 344  function _technorati_taxonomy($node) {
344  function technorati_ping($name = '', $url = '') {  function technorati_ping($name = '', $url = '') {
345    $result = xmlrpc('http://rpc.technorati.com/rpc/ping', 'weblogUpdates.ping', $name, $url);    $result = xmlrpc('http://rpc.technorati.com/rpc/ping', 'weblogUpdates.ping', $name, $url);
346    if ($result) {    if ($result) {
347      watchdog("directory ping", 'Successfully notified technorati.com site.', WATCHDOG_NOTICE);      watchdog('directory ping', 'Successfully notified technorati.com site.', array(), WATCHDOG_NOTICE);
348    }    }
349    else {    else {
350      watchdog('directory ping', 'Failed to notify technorati.com site.', WATCHDOG_WARNING);      watchdog('directory ping', 'Failed to notify technorati.com site.', array(), WATCHDOG_WARNING);
351    }    }
352  }  }
353    

Legend:
Removed from v.1.11.2.1  
changed lines
  Added in v.1.11.2.2

  ViewVC Help
Powered by ViewVC 1.1.2