Hi -
I have included the 'AddRatingButton' so the user can vote on titles and I'm trying to figure out the logistics. I didn't find anything about this in the docs or forum, does anyone have advice about implementing it?
Here are my questions:
1. Is there an easy way to save their vote so that once the user browses to a different title and then browses back to the title they voted on, their earlier vote will still be shown? Would the app need to connect to the server / db to get the user's previous rating for each title page they browse? (not liking that idea) Alternatively, each time they return to the page they'd see the default rating and would be able to recast their vote (replacing their earlier vote for the same title)
2. At what point should the average ratings be generated for inclusion in the XML?
a) each time the app is launched, re-calculate all average ratings?
b) each time a user votes, recalculate the average rating for just that title?
c) periodically (every 6 hours) recalculate all average ratings?
(I'm thinking a combination of b and c, where the average rating gets recalc'd on the fly but the XML is only regenerated a few times per day)
tyvmia,
Joe
aspiring