Tuesday, August 18, 2009 at 7:56 PM.

lifeLinerSuite.testing.visibleXml

<<Changes
	<<7/21/09; 11:26:36 AM by DW
		<<Created. Once upon a time when you viewed XML in the browser you could actually see the XML. Then some asshole decided that you shouldn't see the XML, so now you have to View Source to see it. That leaves 8 million windows open. I always want to see the XML.
		<<http://www.scripting.com/stories/2009/07/21/dumbXmlQuestion.html
		<<Net-net -- no way around it. If it sees <rss> at the top of the file, it takes charge of rendering it. 
local (s = tcp.httpreadurl ("http://static.lifeliner.org/dave/rss.xml"));
<<s = string.replaceall (s, "<rss", "<life")
<<s = string.replaceall (s, "</rss", "</life")
s3.newobject ("/static.lifeliner.org/dave/text.life", s, type:"text/plain")



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.