Monday, November 08, 2010 at 12:04 AM.
system.verbs.builtins.radio.aggregator.webBugSimulator.init
<<Changes
<<3/3/02; 9:20:51 AM by DW
<<Created. Initialize the simulator. It's as if each RSS feed had a web bug in it, so we can track hits and referers for people's RSS feeds as we do for their HTML home pages.
if user.radio.prefs.flWebBugSimulator {
bundle { //init callbacks
local (adraggregatordata = xml.aggregator.init ());
if not defined (adraggregatordata^.callbacks.preScan.wbs) {
adraggregatordata^.callbacks.preScan.wbs = @radio.aggregator.webBugSimulator.preScanCallback};
if not defined (adraggregatordata^.callbacks.postScan.wbs) {
adraggregatordata^.callbacks.postScan.wbs = @radio.aggregator.webBugSimulator.postScanCallback};
if not defined (adraggregatordata^.callbacks.storyArrived.wbs) {
adraggregatordata^.callbacks.storyArrived.wbs = @radio.aggregator.webBugSimulator.storyArrivedCallback}};
bundle { //init data
if not defined (user.radio.prefs.webBugSimulator) {
new (tabletype, @user.radio.prefs.webBugSimulator)};
if not defined (user.radio.prefs.webBugSimulator.server) {
user.radio.prefs.webBugSimulator.server = "subhonker7.userland.com"};
if not defined (user.radio.prefs.webBugSimulator.port) {
user.radio.prefs.webBugSimulator.port = 80};
if not defined (user.radio.prefs.webBugSimulator.pingProcedure) {
user.radio.prefs.webBugSimulator.pingProcedure = "weblogStats.ping"};
if not defined (user.radio.prefs.webBugSimulator.rpcPath) {
user.radio.prefs.webBugSimulator.rpcPath = "/RPC2"}}}
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.