GData Feed Fetcher

10 views
Skip to first unread message

warreninaustintexas

unread,
Dec 9, 2008, 1:19:54 AM12/9/08
to Google App Engine
I'm working with Jeff Scudder's article and sample code for GData
feeds in GAE. I'm interested in the GMail Contacts feed, which is
commented out in his source file [feedfetcher.py, lines #165, 166].

Two questions:
1. Is the GMail Contacts feed is still in alpha? Is that why these
lines were commented out while the code for other feeds is active?
2. I was able to get the GMail Contacts feed working, but it is giving
me a list of contacts that seems to be about 6 months old. I've tried
adding a new contact and changing e-mail address for a contact. None
of these seems to change the list of contacts that I get from the
GMail Contacts feed. Is it pulling from a cache rather than real-time
data?

Thanks for your time.

Jeff S

unread,
Dec 9, 2008, 3:36:24 PM12/9/08
to Google App Engine
Hi Warren,

1. I can't recall why I commented this out. It should work just
fine :)

2. If you want to check a specific contact to see if your changes went
though, you could query the self link (entry.GetSelfLink().href) to
refetch from the server. I find I often want to use a different set of
contacts than the default first page returned by the server, so I tend
to use query parameters to look at the most recently edited contacts
first or look for entries modified since a certain date. Documentation
on the query parameters in the contacts API can be found here:

http://code.google.com/apis/contacts/developers_guide_python.html#retrieving_with_query

Happy coding,

Jeff

On Dec 8, 10:19 pm, warreninaustintexas <warreninaus...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages