Monday, November 08, 2010 at 12:05 AM.


on pushUpdate (htmltext, type, data) {
		<<7/20/10; 8:49:44 AM by DW
	local (adrdata = realtime.init (), username, password, server);
	username = adrdata^.client.prefs.username;
	password = string (adrdata^.client.prefs.password);
	server = string (adrdata^.client.prefs.server);
	[server].realtime.pushUpdate (username, password, htmltext, type, data)};
bundle { //test code
	pushUpdate ("Oh the buzzing of the bees", "test", random (1, 100000))}

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.