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


with xml.examples.siteChanges {
	local (s = string (tcp.httpClient (server:"", path:"siteChanges.xml")));
	local (ix = string.patternMatch ("\r\n\r\n", s));
	s = string.delete (s, 1, ix + 3); //pop off the HTTP header
	s = string.replaceall (s, "\n", "\r"); //make it look good
	wp.newTextObject (s, @taggedText); //save off a copy
	xml.compile (s, @tableStructure)}

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.