[Google Wave APIs] Can you use the Embed API to Retrieve public Waves?

2009-10-25 Thread Eric Dorman

Hey guys,

Is it possible to use the Embed API to retrieve waves from a specific
topic that is tagged?

I am not sure if this is even possible with the Embed API,but I just
had to ask.

Thanks & God Bless,
Eric
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Showing different content in the same Wave?

2009-10-25 Thread Smola

Well aren't private reply blips sent on a brand new wavelet?  It would
seem that a robot would simply need to send a private blip with the
poker hand to each player and then use a community blip for betting,
etc.  Are there currently API restrictions for private blips(I haven't
needed the functionality so haven't been researching)?  If so, I'm
sure they will rectify that in the future.

On Oct 25, 2:01 pm, David Nesting  wrote:
> Anything sent via state changes to the wave is visible to everyone.  You
> could do either of the following:
>
> 1. Use a gadget that communicates directly with your app to discuss the
> "sensitive" aspects of your gadget/app (which cards the user was given), and
> the server-side app would then be the exclusive authority.
> 2. Communicate via state changes to the wave, but use encryption and
> signatures to hide the content of the messages from other wave participants,
> until the key can be released (allowing everyone to see and agree upon the
> "winner").
>
> David
>
> On Sat, Oct 24, 2009 at 1:49 PM, Wilfried
> wrote:
>
>
>
>
>
> > I understand that the approach of Google Wave is to collaborate on the
> > same content but is it possible to display different content to the
> > users on purpose? As an easy example, would it be possible to
> > implement a Seafight or Poker type of game where I see a different
> > playing field than my oppopnent(s)?
>
> > If so, is it possible to make this safe? Content coming from server/
> > robot side and what the user doesn't need to know is not transmitted?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Headings

2009-10-25 Thread Austin Chau (Google employee)
The wave client editor "heading" style is currently not exposed via the
Robot API.  I have reopened this issue as feature request.

Austin

On Sun, Oct 25, 2009 at 1:08 AM, Jonathan Hunt  wrote:

>
> Hi,
>
> I think my question relates to this bug (but it's not very clear)
> http://code.google.com/p/google-wave-resources/issues/detail?id=85
> but the bug is reported closed and moved to the Java API.
>
> I am using the python API for robots. I would like to access
> information about which parts of the text are marked up as headings
> (i.e.  or ) and I would have thought this would just be an
> annotation of some description, but it doesn't appear to be. Is there
> any way to get this information? Seems odd that it's missing, when
> bold text etc. is annotated. I can't see this information anywhere in
> the JSON packet the bot receives. Am I missing something, why is this
> bug closed?
>
> Regards,
> Jonny
>
> --
> Jonathan J Hunt 
> Homepage: http://www.42quarks.com
> (Further contact details there)
> "Physics isn't the most important thing. Love is." Richard Feynman
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Can't seem to delete/trash a wave

2009-10-25 Thread Vision Jinx

Follow-up: I tried to empty my trash and there does not seem to be an
empty trash option. Only once again select a wave in the trash and a
trash option appears which again only closes the wave. I would think
from the nav bar when selecting the drop down arrow there should be a
clear trash option etc. When I open the wave in the trash, same as
before the delete 'link' does not appear to do anything.

It would be nice at least to maintain some consistency with Gmail and
have it work like that. Check boxes to select wave/waves to delete
(move, archive, label etc etc) and in the trash have a link to empty
trash (actually delete all).

Anyone else feel the same?

On Oct 25, 3:48 pm, Vision Jinx  wrote:
> Thanks for the feedback everyone. I do have a wave in my trash (but
> have not actually tried to empty trash) so I was sure this did work at
> one point (in the public preview I was trying), but it was not working
> again. Seems really weird though that delete is a "feature" that is
> not stable or really implemented. Just seems like this should have
> been one of the obvious things developed and added very early on (or
> at very least resolved in the dev sandbox before public release
> version). I have a bunch of "test", "testing" waves I want to get rid
> of.
>
> Anyways, many thanks for the follow ups everyone! :)
>
> On Oct 25, 1:32 pm, Pedro Mario 
> wrote:
>
> > I have the same problem but I haveit recently, yesterday the system
> > was ok, I could archive or send to trash waves but not today, so we
> > will have to wait a little to fix this issue.
>
> > On 25 oct, 14:26, Smola  wrote:
>
> > > I'd have to agree with Mr. Nesting.  I know you want to get the wave
> > > out of of your inbox, but not at the expense of perhaps not getting
> > > legitimate waves later.
>
> > > As for the problem, I have experienced the same issue, but it is
> > > intermittent.  I also get this same intermittent problem when trying
> > > to archive waves.  The wave closes but remains in my inbox.  Again,
> > > both of these issues are intermittent for me and are unpredictable.
> > > It's important to note that I'm mainly using Wave Preview, but I have
> > > seen this issue in sandbox as well.
>
> > > On Oct 25, 2:03 pm, David Nesting  wrote:
>
> > > > On Sun, Oct 25, 2009 at 10:56 AM, voidref  wrote:
> > > > > Deleting waves does not appear to work yet, I have had to mark them as
> > > > > spam, and them Mute them.
>
> > > > I guess you gotta do what you gotta do, but I would be concerned that 
> > > > this
> > > > would introduce noise into the spam filtering Wave uses (or may use in 
> > > > the
> > > > future).  Marking legitimate waves as spam would seem to make it more
> > > > difficult for the system to identify spam in the future.
>
> > > > David
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Can't seem to delete/trash a wave

2009-10-25 Thread Vision Jinx

Thanks for the feedback everyone. I do have a wave in my trash (but
have not actually tried to empty trash) so I was sure this did work at
one point (in the public preview I was trying), but it was not working
again. Seems really weird though that delete is a "feature" that is
not stable or really implemented. Just seems like this should have
been one of the obvious things developed and added very early on (or
at very least resolved in the dev sandbox before public release
version). I have a bunch of "test", "testing" waves I want to get rid
of.

Anyways, many thanks for the follow ups everyone! :)



On Oct 25, 1:32 pm, Pedro Mario 
wrote:
> I have the same problem but I haveit recently, yesterday the system
> was ok, I could archive or send to trash waves but not today, so we
> will have to wait a little to fix this issue.
>
> On 25 oct, 14:26, Smola  wrote:
>
> > I'd have to agree with Mr. Nesting.  I know you want to get the wave
> > out of of your inbox, but not at the expense of perhaps not getting
> > legitimate waves later.
>
> > As for the problem, I have experienced the same issue, but it is
> > intermittent.  I also get this same intermittent problem when trying
> > to archive waves.  The wave closes but remains in my inbox.  Again,
> > both of these issues are intermittent for me and are unpredictable.
> > It's important to note that I'm mainly using Wave Preview, but I have
> > seen this issue in sandbox as well.
>
> > On Oct 25, 2:03 pm, David Nesting  wrote:
>
> > > On Sun, Oct 25, 2009 at 10:56 AM, voidref  wrote:
> > > > Deleting waves does not appear to work yet, I have had to mark them as
> > > > spam, and them Mute them.
>
> > > I guess you gotta do what you gotta do, but I would be concerned that this
> > > would introduce noise into the spam filtering Wave uses (or may use in the
> > > future).  Marking legitimate waves as spam would seem to make it more
> > > difficult for the system to identify spam in the future.
>
> > > David
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Embedding Wave on Blogger

2009-10-25 Thread Eric Dorman

Hey David,

I had some trouble with Blogger to start with,but now the Embedded
Wave that I am using is working great.

There is a problem with Google Sites getting a Wave to get Embedded
because Google Stes dose not allow
you to add an iframe or even a script tag.

I tried to add Google Friend Connect Widgets on Google Sites,but I had
the same problem with the script tag.

I also tried making a gadget,but I still do not know how that will
turn out.

Thanks & God Bless,
Eric

On Oct 25, 12:42 pm, gengstrand  wrote:
> I am having trouble embedding a wave on any web site. It works great
> when using chrome but not so good with Firefox or Safari. The embedded
> wave never sees the user as authenticated even if the user has logged
> into waves.google.com previously.
>
> This is with preview. I didn't experience this problem with the
> sandbox. I used the embeddy robot to get the code.
>
> On Oct 25, 9:23 am, David Nesting  wrote:
>
> > On Sun, Oct 25, 2009 at 6:24 AM, Eric Dorman  wrote:
> > > I tried this and even when I removed the comments it still did not
> > > work in Blogger.
>
> > Can you provide more information?  What exactly did you try, and what was
> > the result?  Did Blogger strip out HTML tags or scripting?
>
> > > Does anyone know how to embed a wave into Google Sites?
>
> > I don't believe Sites permits scripting in its pages.  Someone will need to
> > write a gadget that essentially wraps an embedded wave.  It should be easy
> > enough.  You can then just embed that gadget into your Sites page, configure
> > it for the wave you want it to show, and it should work.
>
> > David
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Can't seem to delete/trash a wave

2009-10-25 Thread Pedro Mario

I have the same problem but I haveit recently, yesterday the system
was ok, I could archive or send to trash waves but not today, so we
will have to wait a little to fix this issue.

On 25 oct, 14:26, Smola  wrote:
> I'd have to agree with Mr. Nesting.  I know you want to get the wave
> out of of your inbox, but not at the expense of perhaps not getting
> legitimate waves later.
>
> As for the problem, I have experienced the same issue, but it is
> intermittent.  I also get this same intermittent problem when trying
> to archive waves.  The wave closes but remains in my inbox.  Again,
> both of these issues are intermittent for me and are unpredictable.
> It's important to note that I'm mainly using Wave Preview, but I have
> seen this issue in sandbox as well.
>
> On Oct 25, 2:03 pm, David Nesting  wrote:
>
>
>
> > On Sun, Oct 25, 2009 at 10:56 AM, voidref  wrote:
> > > Deleting waves does not appear to work yet, I have had to mark them as
> > > spam, and them Mute them.
>
> > I guess you gotta do what you gotta do, but I would be concerned that this
> > would introduce noise into the spam filtering Wave uses (or may use in the
> > future).  Marking legitimate waves as spam would seem to make it more
> > difficult for the system to identify spam in the future.
>
> > David

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Where are the robot icons?

2009-10-25 Thread pamela (Google Employee)
Chris recalls correctly. The issue is logged here:
http://code.google.com/p/google-wave-resources/issues/detail?id=335

As for app engine, your dashboard will show you all the pages 404ing and the
top visited pages. The profile usually shows up there (when we actually ask
for it).

- pamela

On Mon, Oct 26, 2009 at 5:06 AM, David Nesting  wrote:

> On Sun, Oct 25, 2009 at 10:45 AM, voidref  wrote:
>
>> Is there some way, in appspot, to see a listing of the files that made
>> it up there?
>>
>
> I'm not aware of such a thing, but I'm not an expert on appengine.
>
>
>> Even if I just try and use the URL where I expect the icon to be, it
>> 404s.
>>
>
> What does your app.yaml look like, and what URL do you expect the icon to
> be served at?
>
> David
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Weird problems with Python

2009-10-25 Thread Amoss

Found the solution to this. It is quite a subtle gotcha. The SDK
depends on the robot not breaking its stdout / stderr. As I'm
experimenting with catching output from exec() I had redirected
them and didn't put them back properly.

In this scenario the AppEngine logging shows the outgoing insert
for the blip, but something in jsonapi depends on output to stdout
and breaks silently.

Fixing the broken streams has corrected the problem.

Amoss

On Oct 25, 4:57 pm, Amoss  wrote:
> Hi all,
>
> I'm some problems trying to build robots with the Python API, and I'm
> wondering how stable the API is at the moment. Firstly I tried
> building the tutorial robot and deploying it. That worked fine. So
> next I tried to respond to BLIP_SUBMITTED events. Nothing happened at
> all. Found the old thread where Pamela recommended changing
> application IDs. This seems to have worked, and the same code now
> responds correctly. Next step was to try and add content to a Wave.
> Now the following code works fine when it is called from a
> WAVELET_SELF_ADDED handler :
>
> context.GetRootWavelet().CreateBlip().GetDocument().SetText("I have
> something to say")
>
> When I try and called this code from the BLIP_SUBMITTED handler
> nothing is added into the wave. Checking the logs in AppEngine I can
> see the Info messages from the jsonapi blob and it contains the
> following elements:
>
> ...
> {"blipId": "TBD_googlewave.com!conv+root_2", "index": 0, "waveletId":
> "googlewave.com!conv+root", "javaClass":
> "com.google.wave.api.impl.OperationImpl", "waveId": "googlewave.com!w
> +M_fVUXs-I", "property": "I have something to say", "type":
> "DOCUMENT_INSERT"}]}
> ...
>
> So I'm kind of lost now. It looks like it is leaving the robot, but it
> never shows up in the wave. Any ideas on how to fix this?
>
> Amoss
>
> PS It's not because the process hangs - there is a guard to stop the
> newly added blip from triggering this code in the blip_submitted
> handler and I don't see a cpu-spike in the Dashboard.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Can't seem to delete/trash a wave

2009-10-25 Thread Smola

Oh yea, I'm using Safari 4 on Mac OS X Snow Leopard.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Can't seem to delete/trash a wave

2009-10-25 Thread Smola

I'd have to agree with Mr. Nesting.  I know you want to get the wave
out of of your inbox, but not at the expense of perhaps not getting
legitimate waves later.

As for the problem, I have experienced the same issue, but it is
intermittent.  I also get this same intermittent problem when trying
to archive waves.  The wave closes but remains in my inbox.  Again,
both of these issues are intermittent for me and are unpredictable.
It's important to note that I'm mainly using Wave Preview, but I have
seen this issue in sandbox as well.


On Oct 25, 2:03 pm, David Nesting  wrote:
> On Sun, Oct 25, 2009 at 10:56 AM, voidref  wrote:
> > Deleting waves does not appear to work yet, I have had to mark them as
> > spam, and them Mute them.
>
> I guess you gotta do what you gotta do, but I would be concerned that this
> would introduce noise into the spam filtering Wave uses (or may use in the
> future).  Marking legitimate waves as spam would seem to make it more
> difficult for the system to identify spam in the future.
>
> David
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: My test gadget works in sandbox, but not in live wave.

2009-10-25 Thread Michal R.

Take a look at my short tutorial about Wave Gadgets with Java+JSNI.
You can find there also sources. Maybe it will help you.
http://dendrytsoft.blogspot.com/2009/10/building-google-wave-gadget-with-gwt.html
I am waiting for feedback :)

On 12 Paź, 09:37, Hilbrand  wrote:
> I tested your link and it does load in my wave client both live and
> sandbox. Might it be you already solved the issue? I also use the
> library in the pongy gadget. I have not seen any debug tools for the
> live version.
>
> Hilbrand.
>
> On Oct 12, 2:49 am, bydesign  wrote:
>
>
>
> > Nobody has any insights here? Does anyone else have aGWTgadget
> > working in the live Wave? Right now I'm using 
> > cobogwave:http://code.google.com/p/cobogwave/
>
> > On Oct 9, 5:25 pm, bydesign  wrote:
>
> > > I'm getting an "Oops. We were unable to load this extension." error.
> > > The gadget is just a simpleGWTbutton loaded with javascript deployed
> > > from app engine (you'd think Google would tune it's stack a little
> > > better, but this is all new stuff I guess).
>
> > >http://knanoknights.appspot.com/knanoknights/com.games.knights.client...
>
> > > As I mentioned in the subject line, the button appears in the sandbox,
> > > but not in my live google wave account. Are the differences documented
> > > between the two? Are there any debugging tools in the live wave
> > > client?
>
> > > thanks,
> > > bydesign

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Weird problems with Python

2009-10-25 Thread Amoss

Hi all,

I'm some problems trying to build robots with the Python API, and I'm
wondering how stable the API is at the moment. Firstly I tried
building the tutorial robot and deploying it. That worked fine. So
next I tried to respond to BLIP_SUBMITTED events. Nothing happened at
all. Found the old thread where Pamela recommended changing
application IDs. This seems to have worked, and the same code now
responds correctly. Next step was to try and add content to a Wave.
Now the following code works fine when it is called from a
WAVELET_SELF_ADDED handler :

context.GetRootWavelet().CreateBlip().GetDocument().SetText("I have
something to say")

When I try and called this code from the BLIP_SUBMITTED handler
nothing is added into the wave. Checking the logs in AppEngine I can
see the Info messages from the jsonapi blob and it contains the
following elements:

...
{"blipId": "TBD_googlewave.com!conv+root_2", "index": 0, "waveletId":
"googlewave.com!conv+root", "javaClass":
"com.google.wave.api.impl.OperationImpl", "waveId": "googlewave.com!w
+M_fVUXs-I", "property": "I have something to say", "type":
"DOCUMENT_INSERT"}]}
...

So I'm kind of lost now. It looks like it is leaving the robot, but it
never shows up in the wave. Any ideas on how to fix this?

Amoss

PS It's not because the process hangs - there is a guard to stop the
newly added blip from triggering this code in the blip_submitted
handler and I don't see a cpu-spike in the Dashboard.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Where are the robot icons?

2009-10-25 Thread David Nesting
On Sun, Oct 25, 2009 at 10:45 AM, voidref  wrote:

> Is there some way, in appspot, to see a listing of the files that made
> it up there?
>

I'm not aware of such a thing, but I'm not an expert on appengine.


> Even if I just try and use the URL where I expect the icon to be, it
> 404s.
>

What does your app.yaml look like, and what URL do you expect the icon to be
served at?

David

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Can't seem to delete/trash a wave

2009-10-25 Thread David Nesting
On Sun, Oct 25, 2009 at 10:56 AM, voidref  wrote:

> Deleting waves does not appear to work yet, I have had to mark them as
> spam, and them Mute them.
>

I guess you gotta do what you gotta do, but I would be concerned that this
would introduce noise into the spam filtering Wave uses (or may use in the
future).  Marking legitimate waves as spam would seem to make it more
difficult for the system to identify spam in the future.

David

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Showing different content in the same Wave?

2009-10-25 Thread David Nesting
Anything sent via state changes to the wave is visible to everyone.  You
could do either of the following:

1. Use a gadget that communicates directly with your app to discuss the
"sensitive" aspects of your gadget/app (which cards the user was given), and
the server-side app would then be the exclusive authority.
2. Communicate via state changes to the wave, but use encryption and
signatures to hide the content of the messages from other wave participants,
until the key can be released (allowing everyone to see and agree upon the
"winner").

David

On Sat, Oct 24, 2009 at 1:49 PM, Wilfried
wrote:

>
> I understand that the approach of Google Wave is to collaborate on the
> same content but is it possible to display different content to the
> users on purpose? As an easy example, would it be possible to
> implement a Seafight or Poker type of game where I see a different
> playing field than my oppopnent(s)?
>
> If so, is it possible to make this safe? Content coming from server/
> robot side and what the user doesn't need to know is not transmitted?
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Can't seem to delete/trash a wave

2009-10-25 Thread voidref

Deleting waves does not appear to work yet, I have had to mark them as
spam, and them Mute them.

On Oct 25, 10:37 am, Vision Jinx  wrote:
> I can't seem to be able to delete a wave.
>
> On the waves list I select the wave and click the trash icon and all
> it does is close the wave but does not move it to trash or delete it
> or even remove it from the list of waves.
>
> In the wave I try to select delete from the drop down and it has no
> effect.
>
> Using Firefox 3.5.3 on Windows.
>
> Anyone else having this issue or how do you delete a wave?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Showing different content in the same Wave?

2009-10-25 Thread voidref

The case I was thinking about in my previous post was for robots,
Gadegets may actually be able to sandbox themselves enough, you would
need to have your own server that managed all the state, in which case
Wave isn't really doing much for you...

On Oct 24, 1:49 pm, Wilfried  wrote:
> I understand that the approach of Google Wave is to collaborate on the
> same content but is it possible to display different content to the
> users on purpose? As an easy example, would it be possible to
> implement a Seafight or Poker type of game where I see a different
> playing field than my oppopnent(s)?
>
> If so, is it possible to make this safe? Content coming from server/
> robot side and what the user doesn't need to know is not transmitted?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Showing different content in the same Wave?

2009-10-25 Thread voidref

It's probably possible, but I wouldn't say it's secure.

As far as I know, all the state is sent on a changed event, someone
could just write a robot to watch everything that was happening.

On Oct 24, 1:49 pm, Wilfried  wrote:
> I understand that the approach of Google Wave is to collaborate on the
> same content but is it possible to display different content to the
> users on purpose? As an easy example, would it be possible to
> implement a Seafight or Poker type of game where I see a different
> playing field than my oppopnent(s)?
>
> If so, is it possible to make this safe? Content coming from server/
> robot side and what the user doesn't need to know is not transmitted?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Where are the robot icons?

2009-10-25 Thread voidref

Is there some way, in appspot, to see a listing of the files that made
it up there?

Even if I just try and use the URL where I expect the icon to be, it
404s.

On Oct 25, 7:16 am, "Chris C."  wrote:
> If I recall correctly, the profile server is being worked on, so robot
> profiles have been disabled until that's finished.
>
> On Oct 25, 9:33 am, Teo  wrote:
>
>
>
> > Icons for robots are gone.. Is this happening to anyone else? (The
> > link in the small details that show up when the mouse hovers is also
> > gone, as if Wave isn't recognizing it as a robot - they still work
> > though).
>
> > Thanks!
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Can't seem to delete/trash a wave

2009-10-25 Thread Vision Jinx

I can't seem to be able to delete a wave.

On the waves list I select the wave and click the trash icon and all
it does is close the wave but does not move it to trash or delete it
or even remove it from the list of waves.

In the wave I try to select delete from the drop down and it has no
effect.

Using Firefox 3.5.3 on Windows.

Anyone else having this issue or how do you delete a wave?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Strange Range behavior after appending text...

2009-10-25 Thread Smola

I hope the length of this post doesn't deter anyone from giving it a
look.  I am using the Java Robot API.  With that said...

I have been working on a robot that reads questions from a blip and
populates them in a Question Bank blip.  Here is the process:

-I choose a blip and enter into it "Question Bank"
-My robot reads and recognizes that exact text and
 1.) sets a data document that stores the blip ID containing that
text
 2.) appends " (Ready)\n" to the blip
-A user enters a question with my chosen   tags
-Robot reads the question and recognizes tags
-Robot reads last question data document (if available) and finds the
next consecutive number (String num) to assign this question and sets
a new data document for the current question with number
-Robot replaces user question and tags with: num + ".) " + question
-Robot changes text color with my custom stringStyle method (posted
below)

*start custom addQuestion method (posted below)
-Robot reads data document with question bank id to get that blip
context
-Robot gets question bank blip with bundle.getBlip() method
-Robot appends text to question bank blip document: num + ".) " +
question
-Robot uses custom stringStyle method to color question in question
bank

**stringStyle method**
public void stringStyle(Blip blip, String string, String style, String
arg) {
  string = new escape(string).get();   //custom class i created to
escape certain characters for regex
  TextView doc = blip.getDocument();
  doc.append(">"+doc.getText()+"<\n");  //testing purposes only
  Matcher matcher = Pattern.compile(string,
Pattern.CASE_INSENSITIVE).matcher(doc.getText());
  if (matcher.find()) {
  doc.append(" range:"+matcher.start()+", "+matcher.end());   //
testing purposes only
  Range range = new Range(matcher.start(),matcher.end()+1);
  doc.setAnnotation(range, "style/"+style, arg);
  } else {
  doc.append("\nerr StringStyle: string not found");
  }
  }


**addQuestion method**
public void addQuestion(RobotMessageBundle bundle, Wavelet wavelet,
String num, String question) {
  String blipID = wavelet.getDataDocument("bank");
  if(blipID != null) {
  Blip blip = bundle.getBlip(wavelet.getWaveId(),
wavelet.getWaveletId(), blipID);
  blip.getDocument().append("\n"+num+".) "+question);
  stringStyle(blip, num+".) "+question, "color", "red");
  } else {
  blipOut(wavelet, "Question Bank not found!");
  }
  }


Ok so EVERYTHING works just fine in the process except that last
step.  I want to color the added question red, but for some reason, my
matcher finds the question starting at position 2 EVERY time (even as
i continue adding questions successfully).  This results in part of
the text "Question Bank (Ready)" turning red instead of the question
itself.  I tried to view the doc.getText to see if it was returning
the rest of the text in the question bank but it is not.  For some
reason getting the blip in this context does not return any of its
content (it seems) except for the question I have just appended (via
getDocument().getText()).  I have a feeling this has something to do
with using the bundle and the stored blip ID to get that blip
reference to append to it.

Anyone have any thoughts?  I hope I included enough information...
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Embedding Wave on Blogger

2009-10-25 Thread gengstrand

I am having trouble embedding a wave on any web site. It works great
when using chrome but not so good with Firefox or Safari. The embedded
wave never sees the user as authenticated even if the user has logged
into waves.google.com previously.

This is with preview. I didn't experience this problem with the
sandbox. I used the embeddy robot to get the code.

On Oct 25, 9:23 am, David Nesting  wrote:
> On Sun, Oct 25, 2009 at 6:24 AM, Eric Dorman  wrote:
> > I tried this and even when I removed the comments it still did not
> > work in Blogger.
>
> Can you provide more information?  What exactly did you try, and what was
> the result?  Did Blogger strip out HTML tags or scripting?
>
> > Does anyone know how to embed a wave into Google Sites?
>
> I don't believe Sites permits scripting in its pages.  Someone will need to
> write a gadget that essentially wraps an embedded wave.  It should be easy
> enough.  You can then just embed that gadget into your Sites page, configure
> it for the wave you want it to show, and it should work.
>
> David
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: HowTo: Make a robot create a new Wave (Python)

2009-10-25 Thread David Nesting
On Sun, Oct 25, 2009 at 6:25 AM, yariv.snapir wrote:

> produced the type of ID I need... (I got 'TBD0.8622343911850655' where
> the ID needed looks more like: 'w+iFA2MNGuP'... I wonder what is the\
>

The methods you use to respond to an event notification do not have
immediate results.  The operations are all batched up and sent back to the
server when you're done handling the event.  So, until that happens, all of
the IDs generated as you create new blips/wavelets are "TBD".  I don't
believe there's a way for you to get these IDs after the fact, unless you
left yourself some signal or annotation, and used some Yet To Be Developed
API to iterate over the wave again (after the conclusion of handling your
event) to find your signal and identify the content you added.

David

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Embedding Wave on Blogger

2009-10-25 Thread David Nesting
On Sun, Oct 25, 2009 at 6:24 AM, Eric Dorman  wrote:

> I tried this and even when I removed the comments it still did not
> work in Blogger.
>

Can you provide more information?  What exactly did you try, and what was
the result?  Did Blogger strip out HTML tags or scripting?


> Does anyone know how to embed a wave into Google Sites?
>

I don't believe Sites permits scripting in its pages.  Someone will need to
write a gadget that essentially wraps an embedded wave.  It should be easy
enough.  You can then just embed that gadget into your Sites page, configure
it for the wave you want it to show, and it should work.

David

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Robots and Annotations and Code, oh my!

2009-10-25 Thread Chris C.

Ah, however, that's a very useful example! One of these days, I'm
going to get myself versed in python, and do something interesting
with it. Thanks!

On Oct 25, 10:22 am, "Chris C."  wrote:
> Note that there is a difference between styling via annotation, and
> using StyledText, at least in terms of the methods used to do so (the
> result is not different, AFAIK). In Java, the former works as
> expected, but the latter has some errors in the API (for instance,
> insertStyledText() doesn't work properly, it's a bug in the API;
> Python may not suffer from it). However, it is possible to apply
> styles with annotations that are the same as styles you could apply
> using StyledText and StyleType.
>
> Until the StyledText stuff is fixed, annotations are the way to go.
> However, I look forward to getting StyledText working, because it
> means I won't have to track annotation ranges when my robot updates
> the text!
>
> -Chris
>
> On Oct 25, 3:33 am, voidref  wrote:
>
>
>
> > Hello all,
>
> > Seeing as there is a lot of confusion around how to make styled text
> > (well, at least for me there has been), I decided to put up the
> > current version of a syntax highlighting robot I am working on for
> > others to use as an example.
>
> > You can find it at:
>
> >http://www.alanwestbrook.com/wavebot/synshedbot.py
>
> > It is most certainly buggy and incomplete and not optimal, but it's a
> > good example of using annotations for syntax highlighting.
>
> > Alan
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Robots and Annotations and Code, oh my!

2009-10-25 Thread Chris C.

Note that there is a difference between styling via annotation, and
using StyledText, at least in terms of the methods used to do so (the
result is not different, AFAIK). In Java, the former works as
expected, but the latter has some errors in the API (for instance,
insertStyledText() doesn't work properly, it's a bug in the API;
Python may not suffer from it). However, it is possible to apply
styles with annotations that are the same as styles you could apply
using StyledText and StyleType.

Until the StyledText stuff is fixed, annotations are the way to go.
However, I look forward to getting StyledText working, because it
means I won't have to track annotation ranges when my robot updates
the text!

-Chris

On Oct 25, 3:33 am, voidref  wrote:
> Hello all,
>
> Seeing as there is a lot of confusion around how to make styled text
> (well, at least for me there has been), I decided to put up the
> current version of a syntax highlighting robot I am working on for
> others to use as an example.
>
> You can find it at:
>
> http://www.alanwestbrook.com/wavebot/synshedbot.py
>
> It is most certainly buggy and incomplete and not optimal, but it's a
> good example of using annotations for syntax highlighting.
>
> Alan
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Where are the robot icons?

2009-10-25 Thread Chris C.

If I recall correctly, the profile server is being worked on, so robot
profiles have been disabled until that's finished.

On Oct 25, 9:33 am, Teo  wrote:
> Icons for robots are gone.. Is this happening to anyone else? (The
> link in the small details that show up when the mouse hovers is also
> gone, as if Wave isn't recognizing it as a robot - they still work
> though).
>
> Thanks!
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Where are the robot icons?

2009-10-25 Thread Teo

Icons for robots are gone.. Is this happening to anyone else? (The
link in the small details that show up when the mouse hovers is also
gone, as if Wave isn't recognizing it as a robot - they still work
though).

Thanks!
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: HowTo: Make a robot create a new Wave (Python)

2009-10-25 Thread yariv.snapir

I think you can usea new wavelet as an actual new wave...
Anyway, once I create a new wavelet - I would like my robot to get the
new wavelet/wave id so I can use this id to embed the wave in my
application's UI. How can I get this ID? (I tried both
newWavelet.getWaveletId() and newWavelet.getWaveId() - neither
produced the type of ID I need... (I got 'TBD0.8622343911850655' where
the ID needed looks more like: 'w+iFA2MNGuP'... I wonder what is the
code used by the embeddy robot to create this ID (it seems its hidden
somewhere in the embeddy gadget).

Regards

Yariv

On Oct 25, 1:55 pm, dLux  wrote:
> I disagree. I really would like myrobottocreatenewwaves for thewaveuser. Of 
> course somehow thewaveuser has to authorize therobot
> to do that, but I have many use cases in my mind where robots has 
> tocreatewaves.
>
> Balázs
>
> On Oct 25, 8:45 am, "yariv.snapir"  wrote:
>
>
>
> > Thanks. this helps!
> > I believe that we can establish that both inpythonand java we can
> >createanew**wavelet** but not anewstandalonewave. IMHO, creating
> > anewwavewould not be a task of arobotsince arobotmust be IN a
> >waveto actually run.
> > This should be part of the client (embed) API so that hosting
> > applications would be able tocreatenewwaves and manage this waves
> > in the context of the app...
>
> > Regards
>
> > Yariv
>
> > On Oct 23, 10:15 pm, "Austin Chau (Google employee)"
>
> >  wrote:
> > > Yes you can do that in Java.  The two client libraries mirror each other
> > > with respect to the underlying wire protocol.  Tocreatenewwavein Java
> > > you use this method from Wavelet -
>
> > > public Wavelet createWavelet(List participants,
> > > StringdataDocumentWriteBack
> > > );
>
> > > Austin
>
> > > On Fri, Oct 23, 2009 at 9:48 AM, heitzig-j  wrote:
>
> > > > Is this also possible in Java? The corresponding classes AbstractRobot
> > > > or AbstractRobotServlet do not seem to have a similar method like
> > > > NewWave inpython...
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Embedding Wave on Blogger

2009-10-25 Thread Eric Dorman

I tried this and even when I removed the comments it still did not
work in Blogger.

Does anyone know how to embed a wave into Google Sites?

On Oct 25, 6:25 am, Sam Osborne  wrote:
> I'm using the hello world example here, and will put some comments in
> italics to explain what happens:
> Just remember to remove the parts that I've added as comments in italics
> when you're making the code.
>
>      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> http://www.w3.org/1999/xhtml";
> xmlns:v="urn:schemas-microsoft-com:vml">
>   
>     
>     *Insert page title here*
>     http://wave-api.appspot.com/public/embed.js";
> type="text/javascript">
>     
>     function initialize() {
>       var wavePanel = new WavePanel('http://wave.google.com/wave/
> *changed from the sandbox.*');
>       wavePanel.loadWave('*Insert wave ID here. Basically, you're
> taking the end part of the Wave URL.. If the URL in its entirety 
> ishttps://wave.google.com/wave/#restored:wave:googlewave.com!w%252BvmRc...
> then you'd put googlewave.com!w+2BvmRcnbQaY
> <https://wave.google.com/wave/#restored:wave:googlewave.com!w%252BvmRc...>');
>         wavePanel.init(document.getElementById('waveframe')); }
>     
>   
>   
>     
>   
>     wavePanel.init(document.getElementById('waveframe')); }
>          id="waveframe" style="width: 500px; height: 100%">  
> *
>
> 2009/10/23 Marc 
>
> > The example of the wave API is based on sandbox accounts and i do't
> > know how to adapt it to normal accounts.
> > How I have to modify the example of the wave embedded API to use it
> > with wave beta accounts?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: HowTo: Make a robot create a new Wave (Python)

2009-10-25 Thread dLux

I disagree. I really would like my robot to create new waves for the
wave user. Of course somehow the wave user has to authorize the robot
to do that, but I have many use cases in my mind where robots has to
create waves.

Balázs

On Oct 25, 8:45 am, "yariv.snapir"  wrote:
> Thanks. this helps!
> I believe that we can establish that both in python and java we can
> create a new **wavelet** but not a new standalone wave. IMHO, creating
> a new wave would not be a task of a robot since a robot must be IN a
> wave to actually run.
> This should be part of the client (embed) API so that hosting
> applications would be able to create new waves and manage this waves
> in the context of the app...
>
> Regards
>
> Yariv
>
> On Oct 23, 10:15 pm, "Austin Chau (Google employee)"
>
>
>
>  wrote:
> > Yes you can do that in Java.  The two client libraries mirror each other
> > with respect to the underlying wire protocol.  To create new wave in Java
> > you use this method from Wavelet -
>
> > public Wavelet createWavelet(List participants,
> > StringdataDocumentWriteBack
> > );
>
> > Austin
>
> > On Fri, Oct 23, 2009 at 9:48 AM, heitzig-j  wrote:
>
> > > Is this also possible in Java? The corresponding classes AbstractRobot
> > > or AbstractRobotServlet do not seem to have a similar method like
> > > NewWave 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 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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Embedding Wave on Blogger

2009-10-25 Thread Sam Osborne
I'm using the hello world example here, and will put some comments in
italics to explain what happens:
Just remember to remove the parts that I've added as comments in italics
when you're making the code.

http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml";
xmlns:v="urn:schemas-microsoft-com:vml">
  

*Insert page title here*
http://wave-api.appspot.com/public/embed.js";
type="text/javascript">

function initialize() {
  var wavePanel = new WavePanel('http://wave.google.com/wave/
*changed from the sandbox.*');
  wavePanel.loadWave('*Insert wave ID here. Basically, you're
taking the end part of the Wave URL.. If the URL in its entirety is
https://wave.google.com/wave/#restored:wave:googlewave.com!w%252BvmRcnbQaY
then you'd put googlewave.com!w+2BvmRcnbQaY
<https://wave.google.com/wave/#restored:wave:googlewave.com!w%252BvmRcnbQaY>');
wavePanel.init(document.getElementById('waveframe')); }

  
  

  
wavePanel.init(document.getElementById('waveframe')); }
  
*

2009/10/23 Marc 


> The example of the wave API is based on sandbox accounts and i do't
> know how to adapt it to normal accounts.
> How I have to modify the example of the wave embedded API to use it
> with wave beta accounts?
>
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Test account

2009-10-25 Thread Dan Peterson
On Sun, Oct 25, 2009 at 12:15 PM, cheeaun  wrote:

>
> I read from http://code.google.com/apis/wave/articles/gadgetdebugging.html
> that each dev is give two accounts, one is f...@wavesandbox, another
> foo-t...@wavesandbox
>
> I've tried to login to my test account in the sandbox but can't seem
> to work? :(
>
>
Hi cheeaun,

Please keep in mind that foo and foo-test accounts are entirely separate
accounts, so their passwords are not necessarily identical. If you only
changed your foo@ account password, your foo-test account is still the
original password we generated for you.

Hope this helps,
-Dan

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: User Experience Question: Responding to a submitted blip

2009-10-25 Thread voidref

I would think a gadget with the result inside the same blip would be
the easiest way to associate the output with the input, just make sure
the gadget has clear borders.

Alan

On Oct 21, 12:09 am, cretzel  wrote:
> I'm currently developing a robot, that recognizes BLIP_SUBMITTED
> events. If the blip content starts with '!groovy' it interpretes the
> content of the blip as Groovy (the programming language) code.
>
> I wonder, what's the best way to display the result with respect to
> user experience. I thought about some different approaches:
>
> a) Append a child blip:
> Add a child blip to the blip that contains the code. If there was
> already a child blip appended by the robot, replace this.
>
> b) Append an inline blip
> Append an inline blip at the end of the code blip. Replace, if there
> is alread one.
>
> c) Append annotated text
> Append annotated text at the end of the code blip. Replace, if there
> is alread one.
>
> d) Insert a gadget
> Insert a gadget into a child blip (or inline), e.g. with a textarea
> containing the result.
>
> What do you think, would be the best way to do this?

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: What are the rules for appendMarkup?

2009-10-25 Thread voidref

What I would suggest is that you add the text "Titanic" and then add
an annotation to make it a link:

doc.SetAnnotation(Range(textstart, textend), "link/manual", "http://
titanicthemovie.com")

Alan

On Oct 23, 12:25 pm, "Austin Chau (Google employee)"
 wrote:
> This is the list of all the html tags that I know are being handled at the
> moment: , , , , , .
>
> Austin
>
>
>
> On Fri, Oct 23, 2009 at 9:17 AM, Andrew  wrote:
>
> > Hi again,
>
> > One of the bots I'm currently writing needs to insert various hyper-
> > links into child blips. The bot seems to be working OK most of the
> > time, but some of the hyper-links it's inserting seem to not make it
> > into the blip.
>
> > For example, this test hyper-link never makes it into a blip:
>
> > textView.appendMarkup("http://www.imdb.com/find?
> > s=tt&q=Titanic\">Titanic");
>
> > My logging shows that I have definitely added it to the blip, as
> > TextView.getText() returns...
>
> > Titanic
>
> > Moreover, any other text I try to add after that don't make it into
> > the blip (though all the text before does) - it just seems to stop.
>
> > This is from the TextView.appendMarkup(java.lang.String content)
> > JavaDoc:
>
> > "Any white-listed and supported HTML tags will be converted into the
> > proper annotations and conform to the wave XML schema. Anything
> > unsupported will be ignored."
>
> > Does this URL not conform?
>
> > Thanks,
>
> > A

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Robots and Annotations and Code, oh my!

2009-10-25 Thread voidref

Hello all,

Seeing as there is a lot of confusion around how to make styled text
(well, at least for me there has been), I decided to put up the
current version of a syntax highlighting robot I am working on for
others to use as an example.

You can find it at:

http://www.alanwestbrook.com/wavebot/synshedbot.py

It is most certainly buggy and incomplete and not optimal, but it's a
good example of using annotations for syntax highlighting.

Alan

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Python & Robot API - Annotating Blips

2009-10-25 Thread voidref

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  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
-~--~~~~--~~--~--~---



[Google Wave APIs] Looking for Gadgets

2009-10-25 Thread Gadgetsforwave.com

Hi,

Just joined the group and started hacking into the Wave API. I am
building a website with the domain Gadgetsforwave.com.

I would be really happy if you can contact me for promoting your
Gadget's and Robot's on the website. The Gadget must be a stable beta
or in 1.0 version so we don't get to many flames on your Gadget's
promotion page on the website.

Yours truly
Eduardo
eduardo.ibaca...@gmail.com

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Test account

2009-10-25 Thread cheeaun

I read from http://code.google.com/apis/wave/articles/gadgetdebugging.html
that each dev is give two accounts, one is f...@wavesandbox, another
foo-t...@wavesandbox

I've tried to login to my test account in the sandbox but can't seem
to work? :(

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Showing different content in the same Wave?

2009-10-25 Thread Wilfried

I understand that the approach of Google Wave is to collaborate on the
same content but is it possible to display different content to the
users on purpose? As an easy example, would it be possible to
implement a Seafight or Poker type of game where I see a different
playing field than my oppopnent(s)?

If so, is it possible to make this safe? Content coming from server/
robot side and what the user doesn't need to know is not transmitted?

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Robots Interacting With Wave Not in Context?

2009-10-25 Thread Adam

I have a robot that I would like to do operations to a wave that are
not in it's current context.

I know the waveId of the wave that I want to interact with but, it
doesn't appear that any API function (using Python) is currently able
to do that?

Is there a method I'm missing?

OpBuilder Class looks like the place where it might live but, no luck

(What I'm trying to do)

Get the participants from one wave (not in context) and add them to
the current wave in context.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Embedding Wave on Blogger

2009-10-25 Thread Marc

The example of the wave API is based on sandbox accounts and i do't
know how to adapt it to normal accounts.
How I have to modify the example of the wave embedded API to use it
with wave beta accounts?


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Headings

2009-10-25 Thread Jonathan Hunt

Hi,

I think my question relates to this bug (but it's not very clear)
http://code.google.com/p/google-wave-resources/issues/detail?id=85
but the bug is reported closed and moved to the Java API.

I am using the python API for robots. I would like to access
information about which parts of the text are marked up as headings
(i.e.  or ) and I would have thought this would just be an
annotation of some description, but it doesn't appear to be. Is there
any way to get this information? Seems odd that it's missing, when
bold text etc. is annotated. I can't see this information anywhere in
the JSON packet the bot receives. Am I missing something, why is this
bug closed?

Regards,
Jonny

-- 
Jonathan J Hunt 
Homepage: http://www.42quarks.com
(Further contact details there)
"Physics isn't the most important thing. Love is." Richard Feynman

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: HowTo: Make a robot create a new Wave (Python)

2009-10-25 Thread yariv.snapir

Thanks. this helps!
I believe that we can establish that both in python and java we can
create a new **wavelet** but not a new standalone wave. IMHO, creating
a new wave would not be a task of a robot since a robot must be IN a
wave to actually run.
This should be part of the client (embed) API so that hosting
applications would be able to create new waves and manage this waves
in the context of the app...

Regards

Yariv

On Oct 23, 10:15 pm, "Austin Chau (Google employee)"
 wrote:
> Yes you can do that in Java.  The two client libraries mirror each other
> with respect to the underlying wire protocol.  To create new wave in Java
> you use this method from Wavelet -
>
> public Wavelet createWavelet(List participants,
> StringdataDocumentWriteBack
> );
>
> Austin
>
>
>
> On Fri, Oct 23, 2009 at 9:48 AM, heitzig-j  wrote:
>
> > Is this also possible in Java? The corresponding classes AbstractRobot
> > or AbstractRobotServlet do not seem to have a similar method like
> > NewWave 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 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
-~--~~~~--~~--~--~---