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

Popular posts from this blog

how to build hyperlink for query string in php -

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

queue - mq_receive: message too long -