Monday, November 08, 2010 at 12:01 AM.
system.verbs.apps.google.getCachedPage
on getCachedPage (url, key=user.google.key) { <<Changes <<4/14/02; 12:27:39 PM by DW <<Add key as an optional parameter. <<4/8/02; 11:54:01 PM by JES <<Created. google.init (); local (result); with google.data { local (params = {"key":key, "url":url}); result = soap.rpc.client (path, methods.getCachedPage, @params, server, port, soapAction:soapAction, methodNamespace:"m", methodNamespaceUri:namespace)}; return (result)} <<bundle //testing <<local (url = "http://www.userland.com/") <<local (htmltext) <<htmltext = getCachedPage (url) <<webBrowser.displayText (htmltext)
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.