New Message: Re: Pinging services other than rpc.weblogs.com

webmaster at userland.com webmaster at userland.com
Fri Mar 4 23:37:44 PST 2005


A new message was posted:

Address: http://manila.userland.com/discuss/msgReader$855

By: Lawrence Lee (lawrence at userland.com)

For the purposed of pinging the alternate servers, you will want to use the homePageUpdate callbacks.

There isn't a mechanism to supply alternate services by just defining a set of URLs, so you will need to write a short callback to add this functionality.

Instead of the homePageUpdate call to weblogs.com:

thread.callscript (@weblogUpdates.ping, {siteName, url})

You'll modify it to to use the custom data fields for the two other services. Copy the default table at weblogUpdates.data and adjust the values to ping the alternate servers.

Using the value of the adrSite in the callback, you'll need to grab the site name before calling the weblogUpdates.ping.

eg. siteName = adrSite^.["#newsSite"].siteName

Lawrence

This is a Manila site.. http://manila.userland.com/.




More information about the Frontier-Users mailing list