Re: [Google Wave APIs] Contact a wave robot from the outside world

2010-06-10 Thread Avishay Balderman
Hi
All you need to do is to write a servlet which will handle the calls from
outside of
google platforms. This servlet can instantiate the robot and call is his
methods.
We do it in a project where we want the robot to create new wave upon a call
from a remote location.

Avishay

On Thu, Jun 10, 2010 at 1:06 AM, Léo SEI sei7...@gmail.com wrote:

 Hi,
 I thought I had seen something like that but I can't find it back.
 Is it possible to contact a wave robot from a webserver outside of
 google platforms ?

 Thanks a lot

 Léo

 --
 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-...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-wave-api+unsubscr...@googlegroups.comgoogle-wave-api%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-wave-api?hl=en.




-- 
Avishay Balderman

-- 
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-...@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: Public waves can be made non-public by anyone

2010-06-10 Thread Anders
As I have planned it at the moment there will be no need for the robot
to remove participants. All waves in my application will be public.
Including the possibility for public users to add all kinds of robots
and gadgets to the waves. That will be very powerful but I hope it
will not cause too much problems and mess.

On Jun 10, 8:19 am, RAVINDER MAAN rsmaan...@gmail.com wrote:
 An other point which may relate to this is that at present robot can not
 remove participant.Any thought to deal with this issue?



 On Thu, Jun 10, 2010 at 6:10 AM, Anders blabl...@gmail.com wrote:
  I was thinking of having one robot creating all the waves in my
  application, and each time a wave is created the robot adds the public
  participant to the wave plus one or a few robots to provide default
  functionality (such as support for emoticons).

  So when a user creates a wave in my application, it's the one robot
  that always is the creator of the wave. And each time a participant
  tries to remove the public participant or any of the default robots in
  a wave, then the robot who created the wave gets informed about that
  through WaveletParticipantsChanged() and immediately re-adds the robot
  that was removed from the wave.

  Anyone can remove all the other participants in any of the waves in my
  application, but since the public participant is always re-added
  immediately, nobody is blocked from any of the waves and I thought it
  would be nice to allow anyone to add or remove their own robots to the
  waves which would potentially provide for powerful capabilities in the
  waves.

  I haven't checked if all these things are possible in practice but
  that's my plan at the moment. And I don't know all the details yet.
  For example is it possible to catch an event and then consume it
  before any action has taken place? Or when a robot receives an event,
  then the action has already happened.

  On Jun 9, 8:05 pm, Nathanael Abbotts nat.abbo...@googlemail.com
  wrote:
   Yes - but the robot adding public would be able to be removed also,
  unless
   it created the wave.

   On 8 June 2010 23:53, Anders blabl...@gmail.com wrote:

Oh, now I discovered this:

class WaveletParticipantsChanged(Event):
 Event triggered when the participants on a wave change.

I assume that it can be used for catching all cases when participants
are removed from waves. That would be good enough. At least until more
fine-grained control has been implemented which I saw is planned for
the wave roadmap.

On Jun 8, 10:44 pm, Nathanael Abbotts nat.abbo...@googlemail.com
wrote:
 If it helps - I'm working on a robot that you can use to create waves
  for
 you, and it will re-add anyone that was removed, unless they remove
 themselves. (This robot would have created the wave, so it cannot be
 removed).

 On 8 June 2010 21:00, Anders blabl...@gmail.com wrote:

  I have started developing a wave application with public waves. One
  problem is that the Public participant pub...@a.gwave.com can be
  removed by anyone, and then the wave is no longer public! Not good.

  Another problem is that anyone can remove robots from a public
  wave,
  which also is a problem.

  I would like to have the waves public when it comes to writing to
  the
  wave, but not public when it comes to removing participants, such
  as
  the Public participant and robots.

  --
  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-...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-wave-api+unsubscr...@googlegroups.comgoogle-wave-api%2bunsubscr...@googlegroups.com
  google-wave-api%2bunsubscr...@googlegroups.comgoogle-wave-api%252bunsubscr...@googlegroups.com

google-wave-api%2bunsubscr...@googlegroups.comgoogle-wave-api%252bunsubscr...@googlegroups.com
  google-wave-api%252bunsubscr...@googlegroups.comgoogle-wave-api%25252bunsubscr...@googlegroups.com

  .
  For more options, visit this group at
 http://groups.google.com/group/google-wave-api?hl=en.

--
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-...@googlegroups.com.
To unsubscribe from this group, send email to
google-wave-api+unsubscr...@googlegroups.comgoogle-wave-api%2bunsubscr...@googlegroups.com
  google-wave-api%2bunsubscr...@googlegroups.comgoogle-wave-api%252bunsubscr...@googlegroups.com

.
For more options, visit this group at
   http://groups.google.com/group/google-wave-api?hl=en.

  --
  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-...@googlegroups.com.
  To unsubscribe from this group, send email to
  

[Google Wave APIs] Wave this with participants

2010-06-10 Thread Daniël
I want to use a wave this url 
http://googlewave.blogspot.com/2010/06/wave-this.html
but with wave addresses so something like:

https://wave.google.com/wave/wavethis?t=Application marketing
jobw=j...@marketeers.com;direc...@marketeers.comc=Name%0Adress

Etc.


Is this a thing being worked on?

-- 
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-...@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: Public waves can be made non-public by anyone

2010-06-10 Thread Anders
I have written a robot that re-adds participants. It works really
great! When one of the participants that gets re-added is removed by a
user the robot instantly adds it back again. Within a fraction of a
second. This hopefully solves the problem with keeping the waves
public. An improvement would be to be able to set a filter so that my
robot only gets called for those particular robots (only two at the
moment) that I want to re-add. Because as it is now my robot of course
gets called every time a participant is added or removed. That's a
minor problem and will only become a larger problem if lots of people
would use my application.

-- 
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-...@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] WaveletTitleChanged event not working

2010-06-10 Thread Anders
My capabilities.xml says that my robot is listening for
WaveletTitleChanged events, yet the listener method is never called
when the title of a wave where my robot is added is changed. I have
spent many hours trying to fix the problem. And I have seen other
people mentioning similar problems, but not found any functioning
solution.

-- 
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-...@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.



Re: [Google Wave APIs] Contact a wave robot from the outside world

2010-06-10 Thread John Scott
Hi Avishay, do you have some sample code you can share that shows how this
is done ?

Cheers, Johno!

On Thu, Jun 10, 2010 at 4:56 PM, Avishay Balderman balder...@gmail.comwrote:

 Hi
 All you need to do is to write a servlet which will handle the calls from
 outside of
 google platforms. This servlet can instantiate the robot and call is his
 methods.
 We do it in a project where we want the robot to create new wave upon a
 call from a remote location.

 Avishay


 On Thu, Jun 10, 2010 at 1:06 AM, Léo SEI sei7...@gmail.com wrote:

 Hi,
 I thought I had seen something like that but I can't find it back.
 Is it possible to contact a wave robot from a webserver outside of
 google platforms ?

 Thanks a lot

 Léo

 --
 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-...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-wave-api+unsubscr...@googlegroups.comgoogle-wave-api%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-wave-api?hl=en.




 --
 Avishay Balderman

 --
 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-...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-wave-api+unsubscr...@googlegroups.comgoogle-wave-api%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-wave-api?hl=en.




-- 
Regards,

John Scott

-- 
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-...@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.