AVBlog uses the invaluable xmlrpc.cfc component from Roger Benningfield for XML-RPC remote calls to authomated ping service.
In the config folder of AVBlog there is a file, ping.cfm with this code:
adding new ping services, like Technorati, for example, it's as easy as adding an address line in the code like this:
You can add as many services as you want, and when you add or modify a post you can choose to ping one or more of these services.
In next version i'll release a more user-friendly way to add ping services, probably by using the administration form.
In the config folder of AVBlog there is a file, ping.cfm with this code:
<cfsilent><?xml version="1.0" encoding="UTF-8"?>
<ping>
<address url="http://rpc.pingomatic.com"><![CDATA[Ping-O-matic]]></address>
</ping></cfsilent>
<ping>
<address url="http://rpc.pingomatic.com"><![CDATA[Ping-O-matic]]></address>
</ping></cfsilent>
adding new ping services, like Technorati, for example, it's as easy as adding an address line in the code like this:
<cfsilent><?xml version="1.0" encoding="UTF-8"?>
<ping>
<address url="http://rpc.pingomatic.com"><![CDATA[Ping-O-matic]]></address>
<address url="http://rpc.technorati.com/rpc/ping"><![CDATA[TechnoRati]]></address>
</ping></cfsilent>
<ping>
<address url="http://rpc.pingomatic.com"><![CDATA[Ping-O-matic]]></address>
<address url="http://rpc.technorati.com/rpc/ping"><![CDATA[TechnoRati]]></address>
</ping></cfsilent>
You can add as many services as you want, and when you add or modify a post you can choose to ping one or more of these services.
In next version i'll release a more user-friendly way to add ping services, probably by using the administration form.
Categories:
Tips
|
00:12:45 |
Admin
08 febbraio 2006 00:38:27
Hi Nitai, the ping is authomatic.
You do not need to do anything.
You have only to change the xml file as explained in the post only if you want to add other ping services.
When you add a post at the bottom you'll find one checkbox for each of the ping service you have configured in the ping.cfm file.
For each of this checkbox checked a ping will be sent to the service.
Bye
You do not need to do anything.
You have only to change the xml file as explained in the post only if you want to add other ping services.
When you add a post at the bottom you'll find one checkbox for each of the ping service you have configured in the ping.cfm file.
For each of this checkbox checked a ping will be sent to the service.
Bye
comment sent by Andrea Veggiani















![Validate my RSS feed [Valid RSS]](/images/rssvalid.gif)
![Validate my Atom 1.0 feed [Valid Atom 1.0]](/images/atomvalid.png)


Do we need to hit this template "ping.cfm" each time we update a post or does it do i automatically each time we add a new post?
Thank you.