문제

I have implemented a simple RSS reader in Java. I hit a URL and I get back some XML text. I parse it and retrieve data that I'm interested in. Now I want to implement what Google Reader is doing. It has a functionality by which we can scroll down and see old posts. How can I get these old posts as what I see is every time I hit the URL I get the same XML back?

도움이 되었습니까?

해결책

Google hits the rss links much more often than you read it, and stores all the articles in a database. So when you read it and you scroll down in Google Reader, it actually shows you all the articles it stored in the database. The RSS url is kind of only used by Google Reader to fill its database, but not directly for the display.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top