Hi all,
Ok, I'm having a bad time trying to get the hang of annotations. The
pydoc (
http://wave-robot-python-client.googlecode.com/svn/trunk/pydocs/
index.html) is quite bland - I can't seem to find anything that might
explain how to use them to say, bold text, add hyperlinks/hrefs. There
are types for images, gadgets and form elements but I can't seem to
find a descriptiojn of the basics - please help me.
I've followed the Java example on this thread (http://
groups.google.com/group/google-wave-api/browse_thread/thread/
eb334177c34c931f/ed1abe149d1ac6e4?lnk=gst&q=annotation
+documentation#ed1abe149d1ac6e4) but not had any luck - I just get a
blank blip posted by my robot...
I wrote the following code to try it:
doc = wavelet.CreateBlip().GetDocument()
doc.AnnotateDocument(Annotation("link/manual", "http://
www.google.com", Range()))
doc.SetText("THIS IS ANNOTATED TEXT")
As I said, I just end up with a blank blip - argh!
Firstly, what am I doing wrong?
Secondly, is there any documentation about annotations? If so, can
someone point me in the right documentation? :)
I want to first add nicely formatted hrefs because URLs I'm posting
are far too wrong - you can see for yourself by adding wave-
too...@appspot.com to a conversation and posting @news...
Thanks in advance,
atc