Annotations (com.google.wave.api.Annotation) is a key concept to understand, when you are developing robots, how should understand the content of a robot.
I have created a screencast, where I show how the annotations are changed because of the editing.
I have found the following types of annotations.
- user/d/key identifies that the user is on the blib and is in edit mode
- user/e/key identifies where the users cursor is only the from selection counts.
- user/r/key identifies the selection the user has created with start and end. The user will still have his curser at a place in the blip.
- style/fontWeight identify if the selection is bold
- style/textDecoration can be used to add line through
- style/color is the color of the selected text
- lang identifies the language of a region. There can be multiply different languages in a blip.
There are probably a number of different style markings, which you will have to find your self.
Key is probably a hash of the user address.
Related posts:
- Blip debug robot In the last post I created a screencast of...
- New Wave Features for Robots API! Other nice features of Google Wave are now released!...
- Add-Robot A robot which can stores user favorite robots using...
- Google Wave Gadgets lack quality I tested quite a bit of different Google Wave...
- Gadget and Robots interaction In some instances you want to have the robots...
Related posts brought to you by Yet Another Related Posts Plugin.
7 comments ↓
[...] astering WAVE Google Wave Made Easy « Google Wave annotations [...]
very clever! good work!
Very informative. Thank you.
some other name, value pairs for annotations
style/fontFamily, arial black,sans-serif
style/textDecoration, underline
style/textDecoration, line-through
style/fontWeight, bold
style/fontSize, 1.5em
link/wave, http://www.google.com
check this extension wavy@appspot.com
does it define the image in annotation ?
I dont thinkt that there are annnotations on images.
Thanks for this.
One odd thing I’ve noticed is that heading styles (eg H1, H2, H3, etc) aren’t given an annotation. That’s a shame as sections of content marked with these are normally the most significant.
Leave a Comment