How to add the Update and Notification Service into your weblog configuration
See also the PingSampleCode page for code samples.
XML-RPC format
If you're constructing your own XML-RPC pinger, your XML-RPC message should look like this:
POST /rpc/ping HTTP/1.0 User-Agent: YOUR AGENT HERE Host: rpc.technorati.com Content-Type: text/xml Content-length: 250 <?xml version="1.0"?> <methodCall> <methodName>weblogUpdates.ping</methodName> <params> <param> <value>YOUR WEBLOG NAME HERE</value> </param> <param> <value>http://www.YOURWEBLOGURL.com/</value> </param> </params> </methodCall>
JimWinstead: it should be specified how non-US-ASCII characters are handled. As an example, how this is handled by the ping service for http://blo.gs/ is specified at http://blo.gs/ping-example.php
KevinMarks: a reasonable point Jim, but in practice we use the title from the blog itself rather than what is sent here. XML itself defines how encoding is handled in some detail.
Movable Type
-
1 Go to you main blog editing menu
-
2 Under "manage" on the left-side, click on the "blog config" button
-
3 Click on "Preferences" at the top
-
4 Click on "Publicity / Remote Interfaces / TrackBack"
-
5 The first configuration item says:
When you update your blog, Movable Type will automatically notify the selected sites.
Under "Others: (separate URLs with a carriage return)", enter the following in the box:
http://rpc.technorati.com/rpc/ping
-
6 Click on the "Save" at the bottom of the page
-
7 "Rebuild" your site to see the changes reflected.
That's it! From now on, whenever you add or update your blog, Moveable Type will automatically let Technorati know, and we'll put it in our high priority queue for faster indexing.
boastMachine
boastMachine, starting from v3.0 has the ping functionality built in. To Ping Tecnorati every time you update your weblog, just follow these steps.-
Login to your blog ( you need to have admin privilages )
-
Click on the "Admin" link in your account page
-
Once in the admin area, click on "Settings"
-
Click on "Misc settings" on the settings page
-
Scroll down until you see the "Hosts to be pinged (XML-RPC method)" option
-
Add a new line to the textbox and add the url http://rpc.technorati.com/rpc/ping
-
Click on the "Save settings" button
Thats all ! boastMachine will now automatically ping Technorati every time you update your weblog!
Contributed: Kailash Nadh
Blogger
Just make sure that your weblog is listed as a "public" weblog. To do this:-
Log into your blogger account
-
Select your weblog
-
Click on "Settings"
-
Select "Yes" to the "Public Blog?" question
-
Click on "Save Changes"
That's it! Just edit your blog as usual, and Technorati will index your blog within minutes of posting.
blosxom
DasBlog
Contributed:![[WWW]](https://cdn.statically.io/img/web.archive.org/web/20060105013920im_/http://developers.technorati.com/content/rightsidebar/img/moin-www.png)
![[WWW]](https://cdn.statically.io/img/web.archive.org/web/20060105013920im_/http://developers.technorati.com/content/rightsidebar/img/moin-www.png)
-
Backup your existing codebase. If you use source control � even better!
-
Unzip the file into a temporary location.
-
The site.config file is included in the patch, however the only line that needs to be added is: <notifytechnorati>true</notifytechnorati>, so if you don�t want to have to re-add all your specific site settings, I suggest removing the site.config and only adding this line.
-
Copy the �dasBlog 1.7 Source" folder (or just contents of this folder if you have your root named differently).
-
Open the dasBlog source solution & recompile.
b2
-
1 Add this function in the b2-include/b2functions.php:
function pingTechnorati($blog_ID = 1) { global $use_technoratiping, $blogname,$siteurl,$blogfilename; if ((!(($blogname=="my weblog") && ($siteurl=="http://example.com") && ($blogfilename=="b2.php"))) && (!preg_match("/localhost\//",$siteurl)) && ($use_technoratiping)) { $client = new xmlrpc_client("/rpc/ping", "rpc.technorati.com", 80); $message = new xmlrpcmsg("weblogUpdates.ping", array(new xmlrpcval($blogname), new xmlrpcval($siteurl."/"))); $result = $client->send($message); if (!$result || $result->faultCode()) return(false); return(true); } else return(false); }
-
2: In the b2config.php file set the $use_technoratiping variable:
$use_technoratiping = 1;
-
3: Modify the the b2edit.php (inside the post case):
pingWeblogs($blog_ID); pingCafelog($cafelogID, $post_title, $post_ID); pingBlogs($blog_ID); pingTechnorati($blog_ID); /* <--- ADD THIS LINE */
Contributed: bluviolin (On
this page I've posted the same instructions in Italian).
Radio UserLand
-
Updated 7-21-04: Patrick Ritchie has developed a Radio tool for this:
Master Ping Tool
Manila
pMachine
This will work for pMachine 2.3.
Add the following to pm/xmlrpc/ping.fns.php as a new function:
// PING TECHNORATI
function ping_technorati($weblog) {
-
$path = get_pref("pages_path_abs_$weblog","1"); $page = get_pref("$weblog"."_page"); $url = $path . $page;
$sitename = stripslashes(get_pref("ping_name_$weblog"));
if (!$sitename)
-
return false;
$client = new xmlrpc_client("/rpc/ping/","rpc.technorati.com",80); $client->setDebug(0);
$message = new xmlrpcmsg('weblogUpdates.ping',array(
-
new xmlrpcval($sitename), new xmlrpcval($url)));
if (!$result->value()) {
-
return false;
-
if ($result->faultCode()) {
-
return false;
-
return true;
} // END
Then add the following to pm/language/english/main.php at approx line 222:
$L_WEBLOG['467'] = "Unable to ping Technorati.com at this time.";
$L_WEBLOG['468'] = "Technorati.com has been pinged.";
Then finally add the following to pm/cp/weblog.cp.php at approx line 1900 just before the SEND TRACKBACK function.
// PING TECHNORATI
-
if (get_pref("ping_$weblog") == "yes" && $status == "open" && $snow >= $t_stamp) {
-
if (!ping_technorati($weblog)) {
-
?><div class="text11"><?php echo "$L_WEBLOG[467]"; ?><br /><br /><?php
-
?><div class="text11"><?php echo "$L_WEBLOG[468]"; ?><br /><br /><?php
Expression Engine
Expression Engine has built in ping functionaility. To add the ability to ping Technorati do the following:
-
Login to your control panel.
-
Click on ADMIN. Look for "Default Ping Servers" under Weblog Administration.
-
There are blank fields underneath the default ping servers already set up.
-
Click on the field for "Server Name" and give it a name (like technorati.com).
-
Click on the field for "Server URL/Path" and type or paste in: http://rpc.technorati.com/rpc/ping
-
Leave the "Port" and "Protocol" settings alone.
-
Choose whether you want Technorati to be pinged automatically every time you post. Yes or No. (If you choose "No" you can ping Technorati at your discretion by selecting the checkbox for it on the publish page.
-
You may also assign an "Order" number. This will just determine the order that the Technorati ping checkbox will show up on the publish page.
-
Click "Submit" and your are done.
TypePad
HELP PLEASE: Anybody know how to ping using Typepad? Thanks!
At the moment the only way to ping any other sites than weblogs.com or pin.gs is to fill the URL in the TrackBack field in advanced posting view. I guess we'll have to note 6A for this.
Drupal
-
Add this lines to /path_to/drupal/modules/ping.module on line 79 :
unset($client); $client = new xmlrpc_client("/rpc/ping", "rpc.technorati.com", 80); $message = new xmlrpcmsg("weblogUpdates.ping", array(new xmlrpcval($name), new xmlrpcval($url))); $result = $client->send($message); if (!$result || $result->faultCode()) { watchdog("error", "failed to notify 'technorati.com'"); }
Nucleus
![[WWW]](https://cdn.statically.io/img/web.archive.org/web/20060105013920im_/http://developers.technorati.com/content/rightsidebar/img/moin-www.png)
![[WWW]](https://cdn.statically.io/img/web.archive.org/web/20060105013920im_/http://developers.technorati.com/content/rightsidebar/img/moin-www.png)
function pingTechnorati() { $b = new BLOG($this->myBlogId); $message = new xmlrpcmsg( 'weblogUpdates.ping', array( new xmlrpcval($b->getName(),'string'), new xmlrpcval($b->getURL(),'string') )); $c = new xmlrpc_client('/rpc/ping', 'rpc.technorati.com', 80); //$c->setDebug(1); $r = $c->send($message,15); // 15 seconds timeout... } // modify this function event_PostAddItem($data) { // $this->pingIndianBlogPortal(); $this->pingBloGs(); $this->pingTechnorati(); }
== Other tools (please add your own!) ==
WordPress 1.0.1
This is similar to the Drupal method, because it is Drupal code implemented into WordPress. Thanks to the great forum members at www.wordpress.org/support/ for the code!
-
1 Open up your my-hacks.php file
-
2 Insert the following code:
// ----------------------------------- // Technorati Ping Hack function pingTechnorati($blog_ID = 1) { // original function by Dries Buytaert for Drupal global $blogname,$siteurl,$blogfilename; if ((!(($blogname=="your blog name") && ($siteurl=="http://example.com") && ($blogfilename=="wp.php"))) && (!preg_match("/localhost\//",$siteurl))) { $client = new xmlrpc_client("/rpc/ping", "rpc.technorati.com", 80); $message = new xmlrpcmsg("weblogUpdates.ping", array(new xmlrpcval($blogname), new xmlrpcval($siteurl."/".$blogfilename))); $result = $client->send($message); if (!$result || $result->faultCode()) { return false; } return true; } else { return false; } } add_filter('action_publish_post', 'pingTechnorati');
-
3 Make sure you are set to use the my-hacks.php file in your WordPress settings
-
4 Upload and have a great time pinging away Technorati!
WordPress 1.2
WordPress now has ping functionaility built into the core code, meaning the hack defined in the instructions for WordPress 1.0.1 is no longer neccessary. To add the ability to ping Technorati, just:
-
Login to your blog. This is usually done via the Login link in your sidebar. If that link is missing, just append /wp-login.php to the end of your site's URL.
-
Click on Options. This will show a small, grey sub-menu underneath.
-
Click on Writing in the cub-menu to bring up the Writing Options menu.
-
Under the Update Services section, add a newline in the textbox and type in http://rpc.technorati.com/rpc/ping
-
Click Update Options in the bottom right-hand corner of the page.
That's it! WordPress will now notify Technorati whenever you post a new item to your blog.
Requests
Help! All I want is to insert the correct Technorati code in my blog for automatically updating it (frequently). But I don't use any of the Blogging servers. My blog is published directly from my own website so I don;t know which of these systems applies to me. And I'm not that much of a techie expert to figure out a lot of this stuff. Could you have a simply worded section for others like me, who are blogging from their own website, without benefit of any blogging software? I use Dreamweaver 3 to design and upload my site, and use a Mac G4, OS9.2. I am a Technorati member. My blog URL is: http://www.nataliedarbeloff.com/blaugustine.html Any help appreciated.
Hi, I'm trying to implement this in my own blog software but I'm a newbie to XML-RPC and having some trouble. I could really use some help. I don't want to clutter up this page so I'll post my stuff on [SimonWoodside].
Pivot
in the main admin panel, under configuration, there is a ping config area. paste in rpc.technorati.com/rpc/ping do not use the http://Not possible with recent version
Wanted: How to do this with Nucleus and the
PingPong-Plugin and the .Text blogging tool?
-
See code above.
![[WWW]](https://cdn.statically.io/img/web.archive.org/web/20060105013920im_/http://developers.technorati.com/content/rightsidebar/img/moin-www.png)
Wanted: How to do this with PostNuke and the XML-RPC modules included in the base install of PostNuke.
Generic PHP client
Have your blog software execute this code upon successfully submitting a post. This should work to ping any host running a "weblogUpdate.ping" XMLRPC server, so long as you change the relevant variables.Adapted from b2 and pMachine hacks.
<?php require_once "XML/RPC.php"; $postURL = "http://www.myurl.com" ; // change to fit your blog host $params = array( new XML_RPC_Value( $title, "string" ), new XML_RPC_Value( $postURL, "string" ) ); $msg = new XML_RPC_Message("weblogUpdates.ping", $params); $client = new XML_RPC_CLIENT( "/rpc/ping", "rpc.technorati.com", "80" ) ; // change for other ping hosts $response = $client->send($msg); $v = $response->value(); if (!$response->faultCode()) { $rpcValue = $v->scalarval() ; $rpcMessage = $rpcValue['message'] ; $rpcMe = $rpcMessage->me ; $rpcString = $rpcMe['string'] ; print "<div>" ; print $clientHosts[$i] ; print " Response: <span> " . $rpcString . "</span>\n"; print "</div>" ; } else { print "<div>" ; print $clientHosts[$i] . " Fault Code: <span> " . $response->faultCode() . "</span>\n"; print "<div>" ; print "</div>" ; print $clientHosts[$i] . " Fault Reason: <span> " . $response->faultString() . "</span>\n"; print "</div>" ; } ?>
Dada Mail
Dada Mail has had the ability to Ping/Notify Site Update Services since version 2.9 of the program.
To Ping Technorati everytime you send a message that is destined to be archived, just follow these steps.
-
Login to a list
-
On the left hand menu, under, "Manage List Archive" click, "Archive Options"
-
On the Archive Options screen, click, "Advanced..."
-
On the Advanced Archive Options screen, check, "Publish your archives index in RSS/Atom" as well as, "Ping/Notify Site Update Services"
-
Click the, "Change Archive Options" button on the bottom of the screen.
If the, "Ping/Notify Site Update Services" option is greyed out and disabled, make sure you have the Perl module collection Soap::Lite installed.
If you would like change which ping sites to notify, edit the Dada Mail's Config.pm array, "@PING_URLS". By default, Technorati is already included.
Contributed: Justin Simoni
Makeshift Online
MakeshiftOnline.net added the ability to ping technorati on 10-20-2005
-
Login to your account
-
Goto your overview
-
Advanced Settings -> Misc
-
Make sure "Allow Technorati Ping" is checked
Will ping the technorati server everytime a new post is made.
Contributed by Drew Lustro
ThinkJot
http://www.process64.com/ThinkJot/ A blog software based on the dasBlog engine
-
Login to your account
-
Goto Configuration
-
Under "Services To Ping", check Technorati
-
Save
Will ping the technorati server everytime a new post is made. The important thing to note is that if your site is running under Medium-Trust settings, this will not work since external web calls are disallowed by the security mechanism. If so, uncheck all options under "Services To Ping". Contributed by [Ronnie J]