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

system.verbs.builtins.radio.aggregator.preCacheNewsPage

<<Changes
	<<10/30/01; 7:35:53 AM by DW
		<<Simulates an HTTP request to the News page, causing it to be loaded into the cache. Only does this if the cache is actually enabled. Called from xml.aggregator.readAllServices if it's running in Radio.
if user.radio.prefs.flCacheNewsItemsPage { //simulate an HTTP request
	local (pagetable);
	new (tabletype, @pagetable);
	pagetable.method = "GET";
	pagetable.searchArgs = "";
	pagetable.uri = "/system/pages/news";
	new (tabletype, @pagetable.radioResponder);
	pagetable.radioResponder.flSameMachine = true;
	html.setpagetableaddress (@pagetable);
	try {radio.html.viewNewsItems ()}}



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.