Vijay Shankar wrote: > Hi, > > I am writing an rss/atom reader in C++. I need your help on how to > decide/remember whether a particular item is read by the user.
This is a saturated market. You are going to have a tough time distinguishing yourself from others if you plan on selling it. > I have completed writing some part of my program. My program takes one > URL as the input and can fetch the rss/atom feeds from the servers in > the Internet. It can also display the list of available item titles. > Once the user selects any item, it will display the description part > of that particular item. All these implementation is done. > > Now my problem is to remember which are all the items the user has > already visited, so that i can hide them or show in a different color. > What logic i can follow to remember this? Do i have to maintain a list > in a file which stores all the titles that are read, or the list of > time stamps of items which are read? how do i do it with atom feeds? > can someone help please.. Both the RSS and ATOM specifications include an item GUID. This is a unique string that identifies the item. Note that if a GUID isn't included, you'll have to base the ID on something else such as the URL of the item. Most feed readers only keep a certain number of entries cached and offer the user a dialog to configure how many entries are cached - old entries are automatically deleted. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* VerifyMyPC 2.2 Change tracking and management tool. Reduce tech. support times from 2 hours to 5 minutes. Free for personal use, $10 otherwise. http://www.CubicleSoft.com/VerifyMyPC/
