you can try to append markup to an existing, non-empty, blip:
blip.GetDocument().SetText(" ")
markup = '<b>text in bold</b>'
builder = OpBuilder(context)
builder.DocumentAppendMarkup(blip.waveId, blip.waveletId, properties
['blipId'], markup)
Markup has to be valid xml, of course....
see an example here: (Line 47)
http://github.com/mborho/baas/blob/master/baas/appengine/bot_wave.py
On Sep 24, 7:24 pm, alexandrojv <[email protected]> wrote:
> I want to be able to make a robot respond with different font
> features, including different: font, text color, highlight color,
> size, bold, italics, strikethrough, indented, bulleted, etc.
>
> Is it possible to write the code in Html, and get wave to recognize it
> as Html, in order to change the text?
>
> P.S. writing code in Python.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Wave API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-wave-api?hl=en
-~----------~----~----~----~------~----~------~--~---