When i try and access the bbc feed it will only return the latest 40
results. However if i use the same feed in google reader, it can return
a lot more. Why is this and how do i modify the code below so that i can
return more results.
I’d suggest you check which headers your browser is sending.
Particularly
the Last-Modified and Etag. Replicate those and you will see the same
amount
of items.
Ben
When i access the feed via google reader it shows more. I wondering what
magic google is using to get more items than my browser or my rss code
can.
I think this could be because google caches items internally, from the
moment someone subscribes to the feed for the first time. Then it just
periodically updates the feed and caches new items. To simulate google
behavior you would need to go back in time and start fetching items from
the moment you need.
Unless there’s some api on the feed itself, in which case you’d have to
ask owners of the feed.
When i access the feed via google reader it shows more. I wondering what
magic google is using to get more items than my browser or my rss code
can.
Ah I have to admit I glossed over the fact you were using Google Reader.
As
Snaury said, they would certainly employ caching at their end which
should
display results beyond the ones you are seeing.
ahhh thank you for confirming my suspicions. Customized Deloreans with
flux capacitors are a bit hard to come by these days so I guess ill have
to settle with 40 a day.