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

system.verbs.builtins.radio.images.imageFlowBottleneck

on imageFlowBottleneck (f, url) {
	local (pta = html.getpagetableaddress ());
	if pta^.radioResponder.flImagePatching {
		local (adrtable = @pta^.radioResponder.imagefiles);
		if not defined (adrtable^) {
			new (tabletype, adrtable)};
		<<url = string.hashmd5 (url + clock.ticks ())
		local (name = string.delete (f, 1, sizeof (user.radio.prefs.wwwfolder)));
		adrtable^.[name] = url};
	return (url)}
<<bundle //test code
	<<local (pagetable)
	<<new (tabletype, @pagetable)
	<<new (tabletype, @pagetable.radioResponder)
	<<html.setpagetableaddress (@pagetable)
	<<for i = 1 to 100
		<<imageFlowBottleneck (user.radio.prefs.wwwfolder + "\\xxx\\yyy.html", "xxx")
	<<scratchpad.pagetable = pagetable
	<<edit (@scratchpad.pagetable)



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.