Yes, the Python doc is completely underwhelming. I find the Java documentation is much more complete, you just have to translate.
I am using SetAnnotation(Range, Name, Value) instead. Perhaps try that. doc.SetAnnotation(document.Range(start, end), 'link/manual', 'http://www.google.com') Alan On Oct 18, 10:15 am, atc <alextcoll...@gmail.com> wrote: > 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- > tool...@appspot.com to a conversation and posting @news... > > Thanks in advance, > > atc --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to google-wave-api@googlegroups.com To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en -~----------~----~----~----~------~----~------~--~---