Sign in

Google Wave APIs (Labs)

WaveProtocol.org

Learn about the Google Wave Federation Protocol and get involved

Sample Details

PlusOne

By: Elizabeth Ford - Aug 06, 2009

Add this gadget to a blip to allow viewers to vote "thumbs up" or "thumbs down" on it. The gadget keeps track of the number of votes for each.

 BEST PRACTICE
Stores the votes in the state, with keys associated with each viewer's ID, to prevent people voting more than once.

Gadget XML

APIs: Gadgets

Languages: JavaScript

Tags:

*Live demos require Wave Sandbox access to view

Comments (7)

Title

Comments

Your name

 

Please make sure your comments are useful and informative.

To the Dev  

I really like this, the only things I'd like to change are the icons, something cleaner perhaps.

@restaurant_person  

I suggest using a poll instead.

Nice Gadget, but how to delete?  

I added a Plus One in a bad place and now I can't delete it. Unless my Wave is messing up and its just me I would suggest adding a way to delete each one from a wave.

Thanks, great gadget  

I'm working on something similar and this has shown me a lot of ways I could have done things better! If I make some improvements to mine now, would you like to be credited?

Diff  

Hey, nice gadget. I think it has much potential. Is it open source or under which license does it lies? To use it with my robot, I would need small changes, like a diff value - the current change, like "changed = 'plus'" not only the absolut values. Best regards Tobias Wilken