iphone - Make Sure Database Records Are Consecutive -
i'm making iphone rss app downloads articles internet, cache them in database. fetch 25 articles @ time internet, problem when last fetch long time ago, there gap between latest 25 articles , cached 25 articles. means need continue download articles between them. but, how know wether or not 2 fetch's articles consecutive? need flags in database? ideas?
any appreciated! lot.
kai.
have timestamp articles, latest timestamp of stored items (this give latest stored rss article) , start comparing timestamp of items fetched.
once find first date newer local stored one, it's point want start fetching new results.
Comments
Post a Comment