There certainly is such a way. Use the urlfetch API and make the
request against the google cache. For instance, urlfetch.fetch('http://
www.google.com/search?q=cache:en.wikipedia.org/wiki/Namibia'). All the
expected limitations apply though, in that this will only work for
pages not restricted by robots.txt, and you don't have control over
which time version of the page is returned.On Oct 17, 12:01 am, Tony Arkles <[EMAIL PROTECTED]> wrote: > I think the question is whether or not there's a convenient way to > retrieve the url from google's cache, instead of pushing the request > out onto the (potentially slow) internet. > > On Oct 16, 3:24 pm, Jon McAlister <[EMAIL PROTECTED]> wrote: > > >http://code.google.com/appengine/docs/urlfetch/ > > > On Oct 15, 4:19 am, Vacilando <[EMAIL PROTECTED]> wrote: > > > > Thanks. > > > > My intention is to be able to use an intelligent agent to examine > > > other websites' pages - and then flagging pages that contain something > > > important (words, patterns, etc.) > > > > On Oct 15, 2:42 am, Sal <[EMAIL PROTECTED]> wrote: > > > > > It's not very clear (at least to me) what you're trying to do. If you > > > > have objects that are being pulled from the datastore, then you should > > > > definitely use the memcache API as previously mentioned where > > > > appropriate. However, if you're trying to get a link to a Google > > > > Cached Page, the Search AJAX API exposes a cacheUrl property that you > > > > can use in the JSON response. > > > > > On Oct 14, 8:14 am, Vacilando <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > In an application I build I sometimes need to check on a page, but it > > > > > is enough for me (and presumably much faster) if I could read its > > > > > latest copy from Google Cache. > > > > > > Is there a way to fetcha page from Google Cache programmatically? > > > > > > Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
