jakeuk wrote:Yes the activity log says it's updating, but I'm not getting a popup or an animated icon to say that there are updates.
Ah, I know what's happening.
The sample script I gave you generates the same URL for the feed item. When Awasu receives an updated item (i.e. the value has changed), because the URL is the same, it thinks that it's a revised version of an existing story, so it doesn't show a popup or animation.
The way to work around this is to get Awasu to think that it's received a new item. Add the following line after the line in the script where it prints out <item>
Code: Select all
print "<guid isPermalink=\"false\">" , val , "</guid>"
This gives each item an ID that is the same as the value in the XML. So if the first update, the value is 8800, the item will have an ID of 8800. If it changes to 8801 on the next update, the item will have a new ID of 8801, Awasu will think it's received a new item and show the balloon and animation.
The problem is if the value changes back to 8800 - Awasu will see an item with an ID of 8800, decide that it's already received this item and won't show you anything. If you want the balloon and animation on every update, get the script to generate a random number (or a GUID) for the <guid>
tag - this way Awasu will get a unique ID for the item on every update, and hence show the balloon and animation on every update.