3 messages in com.googlegroups.google-desktop-developerRe: an "identity" for the items in rs...| From | Sent On | Attachments |
|---|---|---|
| Arnab | 19 Jul 2008 23:34 | |
| James [GD Team] | 24 Jul 2008 11:17 | |
| Arnab Roy | 25 Jul 2008 07:03 |
| Subject: | Re: an "identity" for the items in rss gadget?![]() |
|---|---|
| From: | Arnab Roy (36ar...@gmail.com) |
| Date: | 07/25/2008 07:03:39 AM |
| List: | com.googlegroups.google-desktop-developer |
actually, im not using the entire rss gesget api, im just using a part of it which puts the items in label boxes. and my gadget does not really use an rss feed. so, i have some "titles" and "descriptions" and "publishd dates" saved in arrays. if one or more new entries are added to the array, how will i get to know tht how many new items are there? this will be enough for my purpose. remember those arrays can contain only 10 constants.
2008/7/24 James [GD Team] <jy...@google.com>:
Hi Arnab,
Each parsed item has a property called 'id' which should be unique if the feed is assigning guids to each item. You can usually use the link property for this purpose too.
Cheers! James
On Jul 19, 11:34 pm, Arnab <36ar...@gmail.com> wrote:
hi again. i want to highlight or change the bg color of new items in the rss gadget. and then, of course, when the user clicks on the new item, its bg color will be changed back to normal. just like what happens to new mails in gmail
happy to say that i have managed a part of this by modifying entry_list.js and also managed to save the read and unread items' number in options. but suppose item 1 is read(and not highlighted) and item 2 is unread and highlighted. the 1st item has the content "a".
then, 3 more new entries are retrived. so now the first 3 entries should be highlighted(unread) and what was the 1st entry earlier is now the 4th entry. now, the new 1st item has the content "b".
how to recognise that the 4th entry is that 1st entry and the first entry should be highlighted and so on ? if i go by their content, it would not be accurate because many rss items can have the same content.
-- Do not forget to visit our website : http://arnab321.tripod.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Desktop Developer Group" group.
To post to this group, send email to Goog...@googlegroups.com
To unsubscribe from this group, send email to
Goog...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Google-Desktop-Developer?hl=en
-~----------~----~----~----~------~----~------~--~---




