Saturday, April 02, 2011 at 9:20 PM.
rssCloudSuite.setupXmlReturn
on setupXmlReturn () { <<Changes <<7/23/09; 9:54:02 AM by DW <<Created. This is what a web page needs to do in order to return XML, not have it rendered as HTML. local (pta = html.getpagetableaddress ()); wp.newTextObject ("{bodytext}", @pta^.template); pta^.autoParagraphs = false; pta^.clayCompatibility = false; pta^.activeUrls = false; pta^.processMacros = false; pta^.expandGlossaryItems = false; pta^.responseHeaders.["Content-Type"] = "text/xml"}; bundle { //test code setupXmlReturn ()}
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.