Monday, November 08, 2010 at 12:07 AM.
system.verbs.builtins.xml.pubsub.xmlRpcNotify
on xmlRpcNotify (adrsub, url) {
<<Designed to be launched in its own thread. Send notification to a subscriber, in xml-rpc.
<<1/15/02; 5:13:57 PM by PBS
try {
with adrsub^ {
local (params = {url});
betty.rpc.client (nameof (adrsub^), port, procedure, @params, rpcPath:path, flAsynch:false, ticksToTimeOut:30*60)}}
else { //mark it as a problem subscription
if defined (adrsub^.cterrors) {
adrsub^.cterrors++}
else {
adrsub^.cterrors = 1};
adrsub^.whenLastError = clock.now ()}}
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.