[google-appengine] Re: How to access Google Cache?

2008-10-19 Thread Jon McAlister
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

[google-appengine] Re: How to access Google Cache?

2008-10-16 Thread Tony Arkles
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

[google-appengine] Re: How to access Google Cache?

2008-10-16 Thread Jon McAlister
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.) > >

[google-appengine] Re: How to access Google Cache?

2008-10-15 Thread Vacilando
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

[google-appengine] Re: How to access Google Cache from App Engine?

2008-10-14 Thread Jon McAlister
Sure! You can use the urlfetch API: http://code.google.com/appengine/docs/urlfetch/ On Oct 14, 8:31 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 > lates

[google-appengine] Re: How to access Google Cache?

2008-10-14 Thread Sal
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 A

[google-appengine] Re: How to access Google Cache?

2008-10-14 Thread Sylvain
And what about memcache ? http://code.google.com/appengine/docs/memcache/ On 14 oct, 17:14, 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 G