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

system.verbs.builtins.radio.macros.directoryFrame

on directoryFrame (opmlUrl, height=1000, width="100%", frameborder="0", cssUrl="", flXmlButton=true, flLinkText=false) {
	<<Changes
		<<5/14/02; 3:23:56 PM by JES
			<<Created. Add an iframe, which includes a directory rendering in a page on a Radio site. Docs are here: http://radio.outliners.com/directoryOutliner
	local (viewDirectoryUrl = radio.data.cloudUrls.viewDirectoryUrl);
	local (args);
	bundle { //set up args table -- these are the search-args for the viewDirectory page
		new (tableType, @args);
		args.url = opmlUrl;
		args.remoteInclude = true;
		args.flIcons = true;
		args.flMinimalTemplate = false;
		args.flXmlButton = flXmlButton;
		if sizeOf (cssUrl) > 0 {
			args.cssUrl = cssUrl};
		args.flLinkText = flLinkText};
	return ("<iframe width=\"" + width + "\" height=\"" + height + "\" frameborder=\"" + frameborder + "\" src=\"" + viewDirectoryUrl + "?" + webserver.encodeArgs (@args) + "\"></iframe>")}



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.