Re: [Tutor] Feedparser and google news/google reader

2010-03-11 Thread DK
DK gmail.com> writes: > > I didn't include the code because its really just two lines, apologies: > Well it turns out I AM a moron. Finding len(x) gives me the length of the dictionary, not the number of entries. I should have used len(x['entries']). Using the shared URL from my google reade

Re: [Tutor] Feedparser and google news/google reader

2010-03-11 Thread DK
Alan Gauld btinternet.com> writes: > > I have no idea if this is relevantt and without code I suspect we will all > be guessing blindly but... > > Have you checked Google's terms of use? I know they make it hard to > screen scrape their search engine so they may have similar limits on > their f

Re: [Tutor] Feedparser and google news/google reader

2010-03-10 Thread Alan Gauld
"David Kim" wrote me CRAZY. I can't seem to pull more than 10 items from a google news feed. For example, I'd like to pull 1000 google news items (using some search term, let's say 'lightsabers'). The associated atom feed url, however, only holds ten items. And its hard to do some of the clu

[Tutor] Feedparser and google news/google reader

2010-03-10 Thread David Kim
I have been working through some of the examples in the Programming Collective Intelligence book by Toby Segaran. I highly recommend it, btw. Anyway, one of the simple exercises required is using feedparser to pull in RSS/Atom feeds from different sources (before doing more interesting things). Th