I do however have one more question (I promise!). I read through the documentation and what I want to do is get the name of all the participants in the wave in the same form that I got the creator (@googlewave.com). Heres what I use now trying to just reply with one of the users name.
root_wavelet = context.GetRootWavelet() participants = root_wavelet.GetParticipants() root_wavelet.CreateBlip().GetDocument().SetText(participants [1].GetDisplayName()) This just returns a blank blip. What am I doing wrong here? Thnx, Bryan On Nov 28, 11:42 am, Bryan <[email protected]> wrote: > Ahah I get the documentation. Sorry I wasn't using it right before. > Yes GetBlip().GetDocument().GetText() was correct thank you. > > On Nov 28, 1:27 am, Olreich <[email protected]> wrote: > > > context.GetBlip().GetDocument().GetText() is the guess off the top of > > my head. But basically, grab the blip from the event data > > (context.GetBlip). Then get the XML document for that blip > > (.GetDocument). Finally, grab the textual information of the Blip > > (excludes all gadgets, pictures, and anything that isn't strictly text > > in the Blip) (.GetText). > > > If any of those parts are wrong, try looking through the documentation > > (I know, it's a tough task oftentimes) or wait for someone who is more > > knowledgeable in the Python API to answer the question. > > > On Nov 28, 12:20 am, Bryan <[email protected]> wrote: > > > > Thank You however I believe this is in jave (based on the semi colon > > > and the syntax) how would I do this in python. > > > Thnx, > > > Bryan > > > > On Nov 27, 10:38 pm, Sayyam Mehmood <[email protected]> wrote: > > > > > My pleasure Brayn, > > > > > Well you cqn have the content by: > > > > > Event e= bundle.getEvents(); > > > > String msg = e.getBlip().getDocument().getText(); > > > > > msg will contain the blip's content (text)... > > > > > Regards, > > > > Sayyam -- 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.
