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


on openEmbeddedOpml (urlHtml, flbringtofront=false) {
		<<7/10/10; 3:50:21 PM by DW
	local (linktable, adr, urlOpml = nil);
	xml.getHtmlLinks (urlHtml, @linktable);
	<<scratchpad.linktable = linktable
	for adr in @linktable {
		if adr^.type == "application/opml+xml" {
			if adr^.rel == "alternate" {
				if adr^.title == "source" {
					urlOpml = adr^.href;
	if urlOpml != nil {
		if flbringtofront {
			frontier.bringtofront ()};
		scripting2Suite.editor.openEditWindow (urlOpml)}};
bundle { //test code
	openEmbeddedOpml ("")}

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.