[Google Wave APIs] Office hours this week

2010-04-06 Thread Austin Chau (Google employee)
Each week, we hold office hours in Wave Sandbox.

This week's office hours will take place at the following time:

San Francisco  (U.S.A. - California) Wednesday, April 7,
2010 at 11:00:00 AM UTC-7 hours
PDT

Sydney  (Australia - New South Wales) Thursday, April 8,
2010 at 4:00:00 AM UTC+10 hours
EST

Corresponding UTC (GMT) Wednesday, April 7, 2010 at 18:00:00

You can use this tool to see what time it is in your timezone:

http://www.timeanddate.com/worldclock/converter.html?year=2010&month=4&day=7&hour=11&min=0&sec=0&p1=224&p2=240

Office hours are also listed on this calendar (which defaults to US Pacific
timezone):

http://code.google.com/events/calendar/

You can add it to your calendar from there, and if your calendar is setup
appropriately, it should show up at your local time. You can also enable a
second timezone in your calendar (MTV + SYD), that helps in converting.

We will create a wave in Wave Preview for office hours, and when it is
starting, we will update this wave, post a link to it in the group and tweet
it from @googlewavedev.

See you then!

-- 
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] Re: Hey

2010-03-31 Thread Austin Chau (Google employee)
Yea sorry the gmail account has a weak password but all is fixed and taken
care of.   Please ignore and disregard the original.

Do not reply to this thread anymore.  Thanks.

Austin

On Tue, Mar 30, 2010 at 10:28 PM, alexandrojv  wrote:

> oh my that was weird, perhaps an email should be sent out to the
> people in the group, since I was about to click on the link without
> reading the email update
>
> On Mar 29, 11:43 pm, "pamela (Google Employee)" 
> wrote:
> > Possibly, yes - he's looking into it.
> >
> > On Tue, Mar 30, 2010 at 6:30 AM, Thomas Jungblut <
> >
> >
> >
> > thomas.jungb...@googlemail.com> wrote:
> > > Austin got hacked?^^
> >
> > > On 29 Mrz., 19:41, Austin Chau  wrote:
> > > > Hey
> > > > how are you recently?
> > > > I would like to introduce you a very good company and the website
> > > ishttp://www.nsehwop.com. It can offer you all kinds of electronic
> > > products
> > > > ,such as laptops ,gps ,TV LCD ,cell phones ,ps3 ,MP3/4, and so on.
> You
> > > can
> > > > take some time to have a look ,there must be something you like.Hope
> you
> > > can
> > > > enjoy yourself in shopping from that company !
> > > > Regards !
> >
> > > --
> > > 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.
>
> --
> 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.
>
>

-- 
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] Office Hours

2010-03-24 Thread Austin Chau (Google employee)
Hi Eric,

There was an office hours earlier today.  Unfortunately we forgot to
announce it in the Google Group but we did announce it with ForumBotty on
Wave Preview.  You can read the transcript of the office hours here -

https://wave.google.com/wave/#restored:wave:googlewave.com!w%252BH0P78-uCG

We
will be sure to announce in both places in the future.  Sorry for the
inconvenience.

Austin

On Wed, Mar 24, 2010 at 2:07 PM, Eric Kolotyluk wrote:

> Are there any office hours this week?
>
> Cheers, 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-...@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.
>
>

-- 
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] Virtual office hour starting now!

2010-03-17 Thread Austin Chau (Google employee)
https://wave.google.com/wave/#restored:search:in%253AInbox,restored:wave:googlewave.com!w%252BJwODFWbsQ

-- 
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] Virtual office hour - Wednesday 3pm 17th March 2010 PST

2010-03-16 Thread Austin Chau (Google employee)
Hi developers -

Wave API virtual office hours for this week will be held at the following
time:

Sydney (Australia - New South Wales) Thursday, 18 March 2010 at 09:00:00 AM
UTC+11 hours EDT

San Francisco (U.S.A. - California) Wednesday, 17 March 2010 at 3:00:00 PM
UTC-8 hours PST

You can use this tool to see what time it is in your timezone

http://www.timeanddate.com/worldclock/converter.html?day=18&month=3&year=2010&hour=9&min=0&sec=0&p1=240&p2=224

We will host the office hours in Wave Preview, since we are now hosting the
Wave forum there, and we would like to keep all communication in one server.
(We still recommend using Wave Sandbox for all your debugging needs, of
course).

We will create a wave in the forum for office hours, and link to it here.

See you guys!

-- 
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] Virtual office hour - Thursday, 4 March 2010 at 11:00:00 AM UTC+11 hours EDT

2010-03-02 Thread Austin Chau (Google employee)
Hi developers -

We have just released the new Robot v2
API,
and
are excited to hear your questions.

Tomorrow's office hours will be:

Sydney (Australia - New South Wales) Thursday, 4 March 2010 at 11:00:00 AM
UTC+11 hours EDT

San Francisco (U.S.A. - California) Wednesday, 3 March 2010 at 4:00:00 PM
UTC-8 hours PST

You can use this tool to see what time it is in your timezone

h
ttp://www.timeanddate.com/worldclock/converter.html?day=4&month=3&year=2010&hour=11&min=0&sec=0&p1=240&p2=224

We will host the office hours in Wave Preview, since we are now hosting the
Wave forum there, and we would like to keep all communication in one server.
(We still recommend using Wave Sandbox for

See you guys!

Austin

-- 
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] Office hours transcript 2010-02-10

2010-02-10 Thread Austin Chau (Google employee)
[CLOSED] Office Hours: 2010-02-10


Welcome to API office hours!

*Please top post your question or comment about the robot, gadget, or embed
API to make sure we see it. You can do so by replying to this blip.*

*A transcript of this wave will be made publicly available. If you don't
want to appear in the transcript, delete your blip after getting a response.
Be careful not to remove neighboring blips.*

*And don't add robots to this wave!*
Reply
Edit
11:04 am
Bart Thate:

hoi ;] to be on topic is there any information about this ticket ? ...
http://code.google.com/p/google-wave-resources/issues/detail?id=407
Reply
Edit
11:05 am
Bart Thate:

my waves are being taken over because of this .. already posted on the
group.
Reply
Edit
11:05 am
You:

Sorry I haven't seen any update on that report internally yet. Let me give
it a ping to get it on people's radar.
Reply
Edit
11:05 am
Bart Thate:

thnx ;]
Reply
Edit
11:07 am
You:

yep just sent an update in the internal team about this, hopefully we will
get something soon.
Reply
Edit
11:07 am
Bart Thate:

i hope permissions stuff is going to be in the new API any ETA yet ?
Reply
Edit
11:09 am
You:

I haven't heard anything regarding gadget permission of yet, let me see if
Marcel knows this.
Reply
Edit
11:09 am
Bart Thate:

sorry if i'm too direct in my questions ;]
Reply
Edit
11:10 am
You:

that's okay :) it's totally understandable, let me ping marcel. He is gonna
drop by in a little bit.
Reply
Edit
11:09 am
Bart Thate:

thnx ;]
Reply
Edit
11:11 am
Bart Thate:

for my view on this see
http://groups.google.nl/group/google-wave-api/browse_thread/thread/60ee34881cfe82a1
Reply
Edit
11:14 am
You:

thx added to the internal report.
Reply
Edit
12:23 pm
Avishay Balderman:

Is this wave to ask questions like: "why this and that are not working for
me?" thanks.
Reply
Edit
11:13 am
Eric Kolotyluk:

Are there any plans in the future to allow an outside agent, some other
server or application, to create a wave and add participants to it?
Reply
Edit
11:13 am
You:

Yes this is actually going to be soon pretty soon with the upcoming new API
release, you will be able to make authenticated active request on behalf on
an robot to do things like creating wave, etc.
Reply
Edit
11:16 am
Eric Kolotyluk:

We're considering using a wave to tie together one or more different, but
related, applications. One application would create the wave and pass off a
reference to the wave to other applications, and they could all put robots
in the wave to interact with it, and possibily each other - is this a
scenario you guys have envisioned?
Reply
Edit
11:17 am
You:

yes that's entirely possible. You can actively create a wave, store it's id
information. And other "agents" can fetch this wave base on these data. We
will be releasing sample app that does things like that along with the
release.
Reply
Edit
11:18 am
Eric Kolotyluk:

Cool - thanks - I look forward to trying this out. I would like to build a
proof of concept that I can demonstrate to my management.
Reply
Edit
11:18 am
Daniel França:

Hi everybody, there're some plans to create a more mail-like interface? I
saw that some people think this interface is a little confused.

and when the draft checkbox will be enabled?
Reply
Edit
11:19 am
You:

Hi we certainly welcome any feedback on any UX features, you can submit them
to Wave Help Center -
http://www.google.com/support/forum/p/wave?hl=en&utm_source=HC&utm_medium=leftnav&utm_campaign=wave


I am part of the API team so I can't speak much on the UX design and
upcoming releases.
Reply
Edit
11:19 am
Daniel França:

thank you Austin
Reply
Edit
11:20 am
Thomas:

it would be very interesting to know what exactly is confusing in the
interface, I think it is very clear.
Reply
Edit
11:26 am
Daniel França:

Hi Thomas, talking to people from my office, some say that the whole wave
(navigation+contacts+inbox+wave) have a lot of information, and when they
saw that at first they don't even know where to start to look


and I think the wave itself is a little confused, when there're a lot of
messages (some inside others) most people don't know where to start to read
it. That's why I said to hava a interface mail-like... with only one blip or
wavelet at first
Reply
Edit
11:27 am
Thomas:

if you know outlook, I think it looks pretty similar. the inbox and the
"mail-preview"
Reply
Edit
11:33 am
Daniel França:

yes, the same layout, but there're a lot of thumbnails that makes it
confused, thumbnails in contacts, thumbnails in inbox, thumbnails in wave,
etc

I think it's little things that can avoid some regular people to try it.
Reply
Edit
11:35 am
Thomas:

okay, I'm hearing a lot of people sayin that wave is dead and there are no
contacts to interact with. never heard about the many thumbnails or so :) I
was a bit confused^^
Reply
Edit
11:36 am
Daniel França:

heheh, I understand =) it's just one guy here at office who says that, he
was not really clear, but he knows that he thinks wave is confused, but
don't 

[Google Wave APIs] Office Hours starting now!

2010-02-10 Thread Austin Chau (Google employee)
Please join us in this public wave for Wave API virtual office hours -

https://wave.google.com/a/wavesandbox.com/#restored:search:in%253Ainbox+office+hours,restored:wave:wavesandbox.com!w%252BXEx2r3nWA.2

Austin

-- 
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] Virtual office hour - Wednesday 11am 10th Feb 2010 PST

2010-02-09 Thread Austin Chau (Google employee)
Hi Developers!

A little friendly reminder that we will be hosting virtual office hours for
Wave API in Wave Sandbox on -

Wednesday, 10th Feb 2010 at 11:00:00AM GMT-8 hours PST (San Francisco time).

You can use this tool to see what time it is in your timezone
http://www.timeanddate.com/worldclock/converter.html?year=2010&month=2&day=10&hour=11&min=0&sec=0&p1=224&p2=240

Office hours are also listed on this calendar (which defaults to US
Pacific timezone):
http://code.google.com/events/calendar/

You can add it to your calendar from there, and if your calendar is
setup appropriately, it should show up at your local time.
You can also enable a second timezone in your calendar (MTV + SYD),
that helps in converting.

We will create a public sandbox Wave and post a link to it in this
group when office hours begins.

See you there!
Austin

-- 
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] Virtual office hour starting now!

2010-01-27 Thread Austin Chau (Google employee)
Please join us for Wave API office hours in this public wave on Wave Sandbox
-

https://wave.google.com/a/wavesandbox.com/#restored:search:in%253Ainbox+office+hours,restored:wave:wavesandbox.com!w%252BI-UyKsJ_A.1

-- 
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] Adding a link to an Image Element (Java)

2010-01-27 Thread Austin Chau (Google employee)
Hi,

Unfortunately this is not available right now, we are planning to add that
in the future.

Austin

On Tue, Jan 26, 2010 at 12:18 PM, fdezjose  wrote:

> Hello!
>
> Is it possible to add a link to an Image Element that is appended to a
> blip?
>
> 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-...@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.
>
>

-- 
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] Virtual office hour - Wednesday 11am 27th January 2010 PST

2010-01-26 Thread Austin Chau (Google employee)
Hi Developers!

A little friendly reminder that we will be hosting virtual office hours for
Wave API in Wave Sandbox on -

Wednesday, 27th January 2010 at 11:00:00AM GMT-8 hours PST (San Francisco
time).

You can use this tool to see what time it is in your timezone
http://www.timeanddate.com/worldclock/converter.html?year=2010&month=1&day=27&hour=11&min=0&sec=0&p1=224&p2=240

Office hours are also listed on this calendar (which defaults to US
Pacific timezone):
http://code.google.com/events/calendar/

You can add it to your calendar from there, and if your calendar is
setup appropriately, it should show up at your local time.
You can also enable a second timezone in your calendar (MTV + SYD),
that helps in converting.

We will create a public sandbox Wave and post a link to it in this
group when office hours begins.

See you there!
Austin

-- 
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] Managing contact list through gadget api

2010-01-22 Thread Austin Chau (Google employee)
Hi,

No you cannot manipulate the contact list directly from Wave API, you need
to use the Google Contacts API -

http://code.google.com/apis/contacts/docs/3.0/developers_guide.html

Austin

On Thu, Jan 21, 2010 at 10:00 AM, Hemanshu Gupta
wrote:

> I want to add contact in my contact list with gadget api / code. Is
> that possible ?
>
> --
> 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.
>
>

-- 
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] sandbox: event.getButtonName() always returns null

2010-01-22 Thread Austin Chau (Google employee)
Hi,

I am seeing this too, it is a bug.  I have filed a issue for this -

http://code.google.com/p/google-wave-resources/issues/detail?id=636

Thanks
for reporting this.

Austin

On Fri, Jan 22, 2010 at 6:18 AM, atarno  wrote:

> since the last sandbox update (jan 21st)
> event.getButtonName() called on FORM_BUTTON_CLICKED event always
> returns null.
> in the wave preview this still works ok.
> has anyone noticed the same behavior?
>
> --
> 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.
>
>

-- 
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] Virtual office hour transcript January 13th, 2010

2010-01-13 Thread Austin Chau (Google employee)
[CLOSED] Office Hours: 2010-01-13

Welcome to API office hours!

*Please top post your question or comment about the robot, gadget, or embed
API to make sure we see it. You can do so by replying to this blip.*

*A transcript of this wave will be made publicly available. If you don't
want to appear in the transcript, delete your blip after getting a response.
Be careful not to remove neighboring blips.*

*And don't add robots to this wave!*
Reply
Edit
11:25 am
Tom Maaswinkel:

Is there a way to let a robot post in a wave where he isn't invited, but
where pub...@a.gwave.com has been added?
Reply
Edit
11:27 am
You:

That's a good question. I actually haven't tried that out but I can't say
for sure. But I am assuming you are referring to the use of active robot api
that let a robot touches a wave actively. I am thinking that a robot can
only touch the wave if he is explicitly added as a participant even if it is
a public wave. Please post this in the group, I will investigate this and
give you a more confirmed answer on this.
Reply
Edit
11:27 am
Tom Maaswinkel:

How can a robot see if a blip is public or a private reply with just the
robot in it"?
Reply
Edit
11:28 am
You:

you can search for the wavelet that contains the blip to see if there is the
pub...@a.gwave.com participant on it.
Reply
Edit
11:31 am
Tom Maaswinkel:

and if I've found that, how can I post in the wavelet that is public?
Reply
Edit
11:33 am
You:

That's what I was saying earlier that I am not sure if the robot can reply
to a wavelet even if it is public. I believe robot must be a participant on
wavelet in order for it to touch the wavelet (even if it is public). But I
need to confirm that, so please post this on the group and I will reply to
that later this afternoon.
Reply
Edit
11:41 am
Tom Maaswinkel:

Well, the point is that I can't find a function that allows me to get to
that other wavelet (since the only wavelet I got access to is given trough
the RobotMessageBundle)
Reply
Edit
11:43 am
You:

Yes that is correct, with the current available client libraries we only
provide interaction between robots and wavelet passively. Meaning exactly
what you have mentioned that robots only know about wavelet when wavelet
triggers an event. But there is a new feature that we will be pushing out
soon that let you do "active" request to a wavelet, given that you know the
wavelet id.
Reply
Edit
11:43 am
Tom Maaswinkel:

The reason that I'm asking is that we want to develop a way to post
'anonymously' in a wave. We are developing the MediawikiWave bot, and one of
the main features of mediawiki is anonymous editing.


Do you maybe know another way to currently do this?
Reply
Edit
11:46 am
You:

I don't have solution off my head because obviously we don't want robot to
be able to do that to any wavelet, major spam/security issue can happen. I
believe the current model only allows a participating robot touch a wavelet.


There is one thing that can do what you mention but that is not part of the
API at the moment. There is something calls Agents but right now they are
only provided internally (Spelly is an example of agents). Agents can touch
any wavelet, sort of a super robots.
Reply
Edit
11:47 am
Tom Maaswinkel:

Good to know. Do you know if this will ever be made publicly available?
Reply
Edit
11:48 am
You:

I don't think we have any plan in the near future. I can follow up on that,
please post on the gropu so I will make sure I will check up on that.
Reply
Edit
11:48 am
Tom Maaswinkel:

I can ask Lars directly if that will make your life easier ;-)
Reply
Edit
11:49 am
You:

sure i am sure Lars can provide more insightful answer than I.
Reply
Edit
11:49 am
Tom Maaswinkel:

Cool, thanks for your help :-)
Reply
Edit
11:49 am
You:

you welcome :)
Reply
Edit
11:34 am
Venkat Polisetti:

I am wondering if the usage of Google Groups in Wave working? Here is the
blog post on wave blog:
http://googlewave.blogspot.com/2009/12/waving-with-groups.html




Reply
Edit
11:39 am
You:

Yes I think so, tho that is not an API thing but I believe so if you follow
the instruction on the blog post.
Reply
Edit
11:43 am
Venkat Polisetti:

Thanks, I will give it a try.
Reply
Edit
11:50 am
Venkat Polisetti:

Austine, I have seen this participant added to this wave.
wave-sandbox-supp...@wavesandbox.com


Is this a group of contacts? I do not thing this a group as the address is
on wavesandbox.com rather than googlegroups.com


Reply
Edit
11:51 am
You:

it is a google group under the domain for wavesandbox.com. It's the Google
Apps version of it.
Reply
Edit
11:52 am
Venkat Polisetti:

So effectively it proves that the google groups thing works!. So any body in
that group can post to this wave, right?
Reply
Edit
11:53 am
You:

I cannot say for sure, I am not sure if there anything extra that needs to
be done for them to sync up. My intuition is that you probably won't have to
do anything else. But I haven't tested this myself.
Reply
Edit
11:49 am
Tom Maaswinkel:

What kind of bot 

[Google Wave APIs] Office Hours starting now!

2010-01-13 Thread Austin Chau (Google employee)
Please join us for the virtual office hours for Wave API related questions
in Wave sandbox.  This is the public wave -

https://wave.google.com/a/wavesandbox.com/#restored:search:in%253Ainbox+office+hours,restored:wave:wavesandbox.com!w%252B9gsCxgt5A.2

Austin
-- 

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] Virtual office hour this wednesday 11am 13th January 2010 PST

2010-01-13 Thread Austin Chau (Google employee)
A little friendly reminder that we will be hosting virtual office hours in
Wave Sandbox on -

Wednesday, 13th January 2010 at 11:00:00AM GMT-8 hours PST (San Francisco
time).

You can use this tool to see what time it is in your timezone
http://www.timeanddate.com/worldclock/converter.html?year=2010&month=1&day=13&hour=11&min=0&sec=0&p1=224&p2=240

Office hours are also listed on this calendar (which defaults to US
Pacific timezone):
http://code.google.com/events/calendar/

You can add it to your calendar from there, and if your calendar is
setup appropriately, it should show up at your local time.
You can also enable a second timezone in your calendar (MTV + SYD),
that helps in converting.

We will create a public sandbox Wave and post a link to it in this
group when office hours begins.

See you there!
-- 

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] Child blip to last blip in a wave

2009-12-30 Thread Austin Chau (Google employee)
This is not possible with the API's current representation
of parent and children blips. In order for you to iterate over the blips in
the "conversation" order, the API needs to expose the conversation model.
You can read more about the model in the Wave Protocol specification:

http://www.waveprotocol.org/draft-protocol-specs/wave-conversation-model
(particularly
"Conversation Manifest Document")

We do plan to expose the conversation model in the API at a later date, so
please stay tuned to the blog and forum for updates.

Austin

On Wed, Dec 16, 2009 at 10:11 AM, Anthony Westover <
anthony.westo...@valpo.edu> wrote:

> I have noticed that when creating a child of the bottommost blip in a
> wave, the child is not indented, but any subsequent children are(since
> the parent blip is no longer the last blip, the first child is) Just a
> small thing, but it seems really out of place, there is no way to tell
> if the last blip is a reply directly to a previous blip, or a brand
> new blip appended to the end of the wave.
> Right now it is:
>
> Parent Blip
> Second Child
> Third Child
> nth Child
> First Child
> New Blip
>
> instead of
>
> Parent
>First Child
>Second Child
>nth Child
> New Blip
>
> --
>
> 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.
>
>
>

--

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] Re: Wave API Office Hours Wed Dec 15th 11am (US Pacific timezone)

2009-12-16 Thread Austin Chau (Google employee)
Hey Eric, sorry that was a mistake on that line.  I was looking at my
calendar with a different timezone, sorry about that.  I will post the
transcript in a little bit.  Hope to see you next time.

You can check the developer calendar which includes our weekly office hours
schedule -

http://code.google.com/events/calendar/

Cheers,
Austin

On Wed, Dec 16, 2009 at 9:02 AM, Eric Kolotyluk  wrote:

> I'm confused - according to my Calendar Wednesday is December 16, 2009
>
> Well at least according to the Calendar, office hours are on the 16th.
>
> Cheers, Eric
>
> On Dec 15, 5:53 pm, "Austin Chau (Google employee)"
>  wrote:
> > This week's office hours will take place at the following time:
> >
> > San Francisco (U.S.A. - California) - Wednesday, December 14, 2009 at
> > 11:00:00 AM
> >
> > London (U.K. - England) - Wednesday, December 14, 2009 at 7:00:00 PM
> >
> > You can use this tool to see what time it is in your timezone
> >
> > http://www.timeanddate.com/worldclock/converted.html?month=12&day=14&;...
> >
> > Office hours are also listed on this calendar (which defaults to US
> Pacific
> > timezone):
> >
> > http://code.google.com/events/calendar/
> >
> > You can add it to your calendar from there, and if your calendar is setup
> > appropriately, it should show up at your local time.
> >
> > You can also enable a second timezone in your calendar (MTV + SYD), that
> > helps in converting.
> >
> > We will create a public sandbox Wave and post a link to it in this group
> > when office hours begins.
> >
> > See you there!
> >
> >
> >
> > On Tue, Dec 15, 2009 at 5:44 PM, Austin Chau 
> wrote:
> > > Hi developers,
> >
> > > Tomorrow Dec 15th @11am (US Pacific timezone) we will be hosting
> > > virtual office hours in the Wave sandbox.  The URL to the office hours
> > > wave will be posted 10 mins before the start time.  You are welcome to
> > > bring any Wave API-related questions.   See you all there :)
> >
> > > Austin
> >
> > > --
> >
> > > 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.
>
> --
>
> 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.
>
>
>

--

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] Wave API Office Hours Wed Dec 15th 11am (US Pacific timezone)

2009-12-15 Thread Austin Chau (Google employee)
This week's office hours will take place at the following time:

San Francisco (U.S.A. - California) - Wednesday, December 14, 2009 at
11:00:00 AM

London (U.K. - England) - Wednesday, December 14, 2009 at 7:00:00 PM

You can use this tool to see what time it is in your timezone

http://www.timeanddate.com/worldclock/converted.html?month=12&day=14&year=2009&hour=11&min=0&sec=0&p1=224&p2=136

Office hours are also listed on this calendar (which defaults to US Pacific
timezone):

http://code.google.com/events/calendar/

You can add it to your calendar from there, and if your calendar is setup
appropriately, it should show up at your local time.

You can also enable a second timezone in your calendar (MTV + SYD), that
helps in converting.

We will create a public sandbox Wave and post a link to it in this group
when office hours begins.

See you there!

On Tue, Dec 15, 2009 at 5:44 PM, Austin Chau  wrote:

> Hi developers,
>
> Tomorrow Dec 15th @11am (US Pacific timezone) we will be hosting
> virtual office hours in the Wave sandbox.  The URL to the office hours
> wave will be posted 10 mins before the start time.  You are welcome to
> bring any Wave API-related questions.   See you all there :)
>
> Austin
>
> --
>
> 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.
>
>
>

--

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] Re: robots (self)added message gets appended twice

2009-12-15 Thread Austin Chau (Google employee)
I believe this is a result from issue 354.  This problem is specific to the
Java client library, not a backend issue and it is triggered when you do
Wavelet.appendBlip().  To get around this for now, you can do this

Blip blip = Wavelet.appendBlip();
blip.delete();
blip.getDocument().append("THIS ONLY APPEND ONCE");

Austin

On Tue, Dec 15, 2009 at 12:31 AM, Hans Nouwens wrote:

> Rick,
>
> this issue seems not the same. 354 describes the situation that a string
> is doubled, this time it looks like the whole blip append is double.
> Still looking for a confirmation.
>
> Hans Nouwens.
>
> On 15-12-2009 3:24, rick wrote:
> > For a while, I thought this was fixed.
> > http://code.google.com/p/google-wave-resources/issues/detail?id=354
> >
> > --
> >
> > 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.
> >
> >
> >
>
> --
>
> 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.
>
>
>

--

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] Re: Can robots be proactive

2009-12-09 Thread Austin Chau (Google employee)
Can't give ETA but I can say "soon" :)

On Wed, Dec 9, 2009 at 3:49 PM, martin  wrote:

> As ever google is one step ahead of me ;)
>
> Any idea when that will be done (days/weeks/months)?
>
> On Dec 9, 11:45 pm, "Austin Chau (Google employee)"
>  wrote:
> > Hi Martin,
> >
> > In fact we are actively working on the "active" API as we speak :)
> >
> > When it is polished enough we will update the docs with cut new client
> > libraries for it.  Thanks for the patience.
> >
> > Austin
> >
> > On Wed, Dec 9, 2009 at 3:33 PM, martin  wrote:
> > > As far as I can see, at the moment robots are limited to being
> > > entirely reactive, ie. they can only make a change to a wave when
> > > something else happens. Is it possible for a robot to be proactive and
> > > initiate changes in a wave without an event in the wave triggering it?
> > > I wonder this because I want to use a robot as an interface between a
> > > service and wave, when the wave changes the service should be informed
> > > (the robots catches the changes, converts them into the correct form,
> > > and sends them on) and when something in the service changes it pings
> > > the robot which would then apply this change in the correct format to
> > > the 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-...@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.
>
> --
>
> 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.
>
>
>

--

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] Can robots be proactive

2009-12-09 Thread Austin Chau (Google employee)
Hi Martin,

In fact we are actively working on the "active" API as we speak :)

When it is polished enough we will update the docs with cut new client
libraries for it.  Thanks for the patience.

Austin

On Wed, Dec 9, 2009 at 3:33 PM, martin  wrote:

> As far as I can see, at the moment robots are limited to being
> entirely reactive, ie. they can only make a change to a wave when
> something else happens. Is it possible for a robot to be proactive and
> initiate changes in a wave without an event in the wave triggering it?
> I wonder this because I want to use a robot as an interface between a
> service and wave, when the wave changes the service should be informed
> (the robots catches the changes, converts them into the correct form,
> and sends them on) and when something in the service changes it pings
> the robot which would then apply this change in the correct format to
> the 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-...@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.
>
>
>

--

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] Re: How to fire event new wave created by robot

2009-12-08 Thread Austin Chau (Google employee)
ah, this event might not be able available in the current release of the
client library that is using the old wire protocol.  It is available under
the new wire protocol and we are still refining the client libraries to
support the new stuff, it should be ready shortly to come.  Thank you for
the patience :)

Austin

On Tue, Dec 8, 2009 at 6:16 PM, hvt_kg  wrote:

> Hi Austin Chau,
>
> thanks for your info. But I can not see any event relate
> WAVELET_CREATED event in EventType from API. If that is my
> misunderstand, pls tell me.
>
> Alex,
>
> On Dec 9, 8:07 am, "Austin Chau (Google employee)"
>  wrote:
> > Hi,
> >
> > If a wavelet creates another another wavelet, you should be able to catch
> > the WAVELET_CREATED event, given that you have registered for it.
> >
> > Austin
> >
> > On Wed, Dec 2, 2009 at 7:29 PM, hvt_kg  wrote:
> > > Hi All,
> >
> > > How to can fire event when new Wave create by Robot?. Because I need
> > > execute some function from new wave by Robot such as: get wave id
> > > which is using embed. Anyone can help me. Or any ideal.
> >
> > > thanks,
> > > Alex,
> >
> > > --
> >
> > > 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.
>
> --
>
> 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.
>
>
>

--

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] How to fire event new wave created by robot

2009-12-08 Thread Austin Chau (Google employee)
Hi,

If a wavelet creates another another wavelet, you should be able to catch
the WAVELET_CREATED event, given that you have registered for it.

Austin

On Wed, Dec 2, 2009 at 7:29 PM, hvt_kg  wrote:

> Hi All,
>
> How to can fire event when new Wave create by Robot?. Because I need
> execute some function from new wave by Robot such as: get wave id
> which is using embed. Anyone can help me. Or any ideal.
>
>
> thanks,
> Alex,
>
> --
>
> 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.
>
>
>

--

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] Gadget API needs a bit of help?

2009-12-08 Thread Austin Chau (Google employee)
Hi,

You can probably do some of the behaviors you described by having your own
scheme of in your state data.   For instance, you adopt the format for your
state data such that you would append the username before the actual value
to indicate the data provider, ie foo=aus...@wavesandbox.com_data

This is not perfect, but in general a lot of things can be possible with a
little bit more works, in the way how you send data and how you interpret
and propagate data.

Austin

On Sun, Dec 6, 2009 at 11:59 PM, dougx  wrote:

> I've been thinking about this for a while, and after reading a few
> posts about it (eg.
> http://groups.google.com/group/google-wave-api/browse_thread/thread/26fbe8c7862cab06/4900719e6e8e4e9f
> )
> I think there's a use case for Gadgets which isn't being addressed.
>
> Basically, it comes down to this;
>
> Situtation: A number of people are involed in a wave with a gadget.
> Action: A user changes the gadget.
> Problem: No one knows who changed the gadget.
>
> You can write a good gadget such that each user posts to an event
> register that the other gadget instances can see, and pull out the
> event to see who made the change, and what change it was... but
> there's no native api to assist with this, or ensure that that
> transactions are accurate. One user could be faking it, pretending to
> be someone else.
>
> This seems to be a problem for example for;
>
> - Gadgets where the state is updated but only some users may be
> interested depending on who made the update.
>
> - Competative game gadgets, where users can gain an advantage by
> faking their own high score.
>
> - Gadgets where users collaborate in general (prone to spoofing; even
> on playback you can't really be sure of the changes being made coming
> from the supposed author).
>
> The only method I'm aware of is to have a robot that sits and
> constantly watches the gadget and does some kind of 'undo' action on
> any state changes to the gadget which appear to be dubious. Seems like
> a hard way of doing this...
>
> It'd be like robots only being able to see the current wave state,
> without any other information when they got events.
>
> Am I missing something? Or is there really no way around this?
>
> ~
> Doug.
>
> --
>
> 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.
>
>
>

--

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] event.getParent() returning Root Blip for every blip in the wavelet

2009-12-08 Thread Austin Chau (Google employee)
Do you see exception in the log? if so what are they ?

On Tue, Dec 8, 2009 at 6:39 AM, shitu  wrote:

> Hey all please tell me if my code is wrong or it is some issue with
> API...firstly it was working great but now my robot is all gone :(
>
>  Blip eblip=e.getBlip();;
>
>  log(eblip.getParent().getBlipId());
>  log(wave.getRootBlipId());
>  Integer k=new
> Integer(e.getBlip().getParent().getDocument
> ().getText().substring(0, 2));
>  log("Blip id
> got"+e.getBlip().getDocument().getText().charAt
> (0));
>
> The log shows the blip at which the last event has occurred has parent
> root blip for all blips...how it can be??
>
> --
>
> 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.
>
>
>

--

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] Quick text selection seems to have some problem

2009-12-02 Thread Austin Chau (Google employee)
Hi,

For all non-API related issues please post them to here -

http://www.google.com/support/forum/p/wave?hl=en&utm_source=HC&utm_medium=leftnav&utm_campaign=wave


Thanks,
Austin

On Wed, Dec 2, 2009 at 5:06 AM, Mazhar  wrote:

> If you create/edit some wavelet text and try to select text using CTRL
> +SHIFT [LEFT/RIGHT] arrow keys selection seems good but deflection
> won't work. For example create some wave with title "Quick brown fox
> jumps over the lazy dog.". Now hold CTRL+SHIFT and press LEFT arrow
> key. You will see that application will select words intelligently but
> now press RIGHT arrow in same go and you will see inverse will not
> happen. I am not sure its something with chrome or GWave but i have
> tried it on some other sites in chrome and it worked great.
>
> --
>
> 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.
>
>
>

--

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] wasSelfRemoved() is not propagated to robot

2009-11-29 Thread Austin Chau (Google employee)
Hi,

The WAVE_SELF_REMOVED event is not currently sent to the robot, this will
probably changed in the future iteration.  We will keep you guys updated.

Austin

On Sun, Nov 29, 2009 at 2:22 PM, atarno  wrote:

> Hi folks,
>
> I'm trying to catch WAVELET_SELF_REMOVED event by using
> RobotMessageBundle.wasSelfRemoved().
> I remove my robot from the wave, but RobotMessageBundle.wasSelfRemoved
> () doesn't seem to be called.
> Did this ever work for anyone?
>
> The Java code that should implement this looks like this:
> ...
> public void processEvents(RobotMessageBundle bundle)
> {
> if(bundle.wasSelfRemoved()){
>doSomething(bundle);
>}
> }
>
> I've also added the following in my capabilities.xml, but I'm not sure
> this was a right thing to do.
> 
>
> 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-...@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.
>
>
>

--

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] Re: Getting blipID from event BLIP_DELETED

2009-11-25 Thread Austin Chau (Google employee)
There is a bug in that method that is not using the correct property name.
 An issue has been filed and it should be fixed with the next Java client
library release -

http://code.google.com/p/google-wave-resources/issues/detail?id=484

Austin

On Wed, Nov 25, 2009 at 1:35 AM, Peter Clijsters
wrote:

> Well.., again a reply to myself.
>
> After some more testing, this event.getRemovedBlipId() method does not
> seem to work so well after all. Most of the times, it does not return
> the removed BlipId and instead just returns null.
>
> Any ideas?
>
> Thanks,
>
> Peter
>
>
> On Nov 19, 9:23 am, Peter Clijsters  wrote:
> > Reply to myself.. Overlooked the event.getRemovedBlipId() method.
> > Workes perfectly now.
> >
> > On Nov 18, 11:16 am, Peter Clijsters 
> > wrote:
> >
> > > Hi guys,
> >
> > > Does anybody know what's the best way to get the blipID from a blip
> > > that is deleted (so, when the event BLIP_DELETED gets triggered)? I've
> > > noticed that
> >
> > >String blipId = event.getBlip().getBlipId();
> >
> > > does not work because the blip retrieved with getBlip() is null.
> >
> > > Thanks,
> >
> > > Peter
>
> --
>
> 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.
>
>
>

--

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] Re: Robot Request - text locker

2009-11-24 Thread Austin Chau (Google employee)
Hi Stephen,

Did you try to change the version # of capabilities when you change the
context attribute?

Austin

On Tue, Nov 24, 2009 at 9:44 AM, Stephen George  wrote:

> Oreich, just fyi, I have tested cmdskip's approach and I personally
> did NOT have success.  My capability was:
>
>  context="children"/>
>
> As he said though, it's possible that the lack of data is an
> intermittent issue, and that ultimately this approach will work (I
> hope).
>
> S
>
> On Nov 24, 11:28 am, Olreich  wrote:
> > Robots can now see the entire conversation upon addition, by adding a
> > context="children" to the "WAVELET_SELF_ADDED event in
> > capabilities.xml according to cmdskp. I've not tested it, but from the
> > feedback it appears to work intermittently this is probably because
> > the whole child-parent thing and context thing are both in early beta
> > and subject to change without notice, meaning that we're trying to
> > shoot a moving target, as cmdskp said.
> >
> > On Nov 24, 12:03 pm, David Nesting  wrote:
> >
> > > This sounds easily achievable with a robot.  For each event, the robot
> > > checks to see if the edit is authorized, and if not, reverts it to the
> last
> > > known authorized edit.  The caveats:
> >
> > > 1. Depending on which blips you want to lock, the robot may need to be
> added
> > > prior to an authorized edit, for it to see the content (since all of
> the
> > > blips in a wave aren't normally sent with events).
> > > 2. You'll effectively need to store your own copy of the content of all
> of
> > > the blips locked in this manner.  The storage burden may be
> significant.
> > > 3. Wave has no functionality to authenticate events[1], so it would be
> > > possible for someone to forge an event to your robot containing a fake
> > > "authorized" edit to a blip (or an unlock command), causing your robot
> to
> > > accept the edit.  It also allows someone to read blips in a wave they
> don't
> > > have permission to see, assuming they could get their hands on the wave
> ID,
> > > by submitting a bogus edit event to that blip and watching what your
> robot
> > > reverts its content to.
> >
> > > David
> >
> > > [1]http://code.google.com/p/google-wave-resources/issues/detail?id=344
> >
> > > On Tue, Nov 24, 2009 at 8:18 AM, Akiva 
> wrote:
> > > > I know Wave does not allow users to lock the text of their original
> > > > blips.  Could someone build a robot that would, when enabled, watch
> > > > the text of particular blips for edits and restore the original text
> > > > if edits are made?  This is of particular interest to me because I'm
> > > > considering opening a number of public waves on political issues, and
> > > > that's exactly the sort of contentious public debate where bad actors
> > > > would be likely to alter an author's post in order to discredit them.
> >
> > > > --
> >
> > > > 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.
>
> --
>
> 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.
>
>
>

--

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] Bot stops listening to events after some time

2009-11-21 Thread Austin Chau (Google employee)
Hi thanks for reporting this.  I have filed a bug report for this -

http://code.google.com/p/google-wave-resources/issues/list?thanks=494

Austin

2009/11/21 Raphaël Pinson 

> Hi guys,
>
> I've had a problem with my new bot, Annoty, which seems to be linked
> to the fact that it listens to DOCUMENT_CHANGED events. When I add the
> bot to a new wave, it works great, but after some time, it stops
> responding (and there is no logs at all). If I create a new wave and
> add the bot, it acts in this wave. Sometimes, removing and add the bot
> again to the wave makes it listen again, sometimes not.
>
> Anyone experienced such an issue?
>
>
>
> Raphaël
>
> --
>
> 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=.
>
>
>

--

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




[Google Wave APIs] Re: Should BLIP_SUBMITTED be fired when a gadget changes a state?

2009-11-11 Thread Austin Chau (Google employee)
Thanks for filing this.  We will look into this.

Austin

On Wed, Nov 11, 2009 at 7:15 AM, César Izurieta wrote:

>
> I'm developing a robot that sends an email every time it receives a
> BLIP_SUBMITTED event. It all works just fine except when there are
> gadgets on the page that change the state. Some gadgets change the
> state very often. For any state change google wave fires a
> BLIP_SUBMITTED event and the robot sees this as a new message and
> sends an email. Some gadgets (especially games) change the state with
> a very high rate. Besides the BLIP_SUBMITTED the DOCUMENT_CHANGED
> event and (sometime in the future) the GADGET_STATE_CHANGED are also
> being triggered.
>
> My question is then: Does it makes sense to fire the BLIP_SUBMITTED
> event when a gadget changes it's state?
>
> I think it should not. I've open a new issue here:
> http://code.google.com/p/google-wave-resources/issues/detail?id=422
> but I would like to hear others what they think about 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: multiple gadgets sharing state

2009-11-11 Thread Austin Chau (Google employee)
1) You are correct. The callback mechanism provided by gadget library is
only connected to the wave server.

2) Yes.  When robot changed gadget states  your gadget will receive the
callback.

Austin

On Wed, Nov 11, 2009 at 12:48 PM, rgibson wrote:

>
> Thanks for comments, all.  Now suppose I want the gadget to receive a
> "state change" notification every time the state has changed.  (I
> don't want to have to continually poll an external site to see if
> something has changed; I want a callback notification.)
>
> Is it true that:
> 1) There is no good way to get a "state-change" callback if I use the
> method where I manually store state in an external site?
>
> 2) If I use the robot to manage the state, I _will_ get a callback
> when a robot changes the state of any gadget?
>
> Thanks,
> Rob
>
>
>
> On Nov 10, 9:27 pm, Vikram Dhillon  wrote:
> > Hi,
> >This could be possible, use a static variable
> > to keep the track of the state and then since there's only one copy of
> > that variable, it can accessed at any point in the program/robot :)
> >
> > --
> > Regards,
> > Vikram
> >
> > On Tue, Nov 10, 2009 at 1:37 PM, Austin Chau (Google employee)
> >
> >  wrote:
> > > No gadget states are specific to each gadget and not shared among other
> > > gadgets within the same wave.
> >
> > > There are several ways to maintain "state" among different gadgets of
> the
> > > same wave, you can maintained your own persistent storage on remote
> server
> > > and use some crossdomain mechanism (jsonp, script injection, etc) to
> share
> > > data.  You can also use wave robot to maintain data for you and store
> them
> > > on the wave data document.
> >
> > > Austin
> >
> > > On Tue, Nov 10, 2009 at 10:00 AM, rgibson <
> rgib...@astro.washington.edu>
> > > wrote:
> >
> > >> I would like to share state between multiple gadgets.  When I read the
> > >> wave gadgets tutorial, it sounded as if the state was stored at the
> > >> Wave level.  (E.g., call wave.getState() to get the state, gadgets
> > >> "share state", etc.)  So there would be one "count" per Wave, not one
> > >> "count" per gadget.
> >
> > >> Of course, this introduces its own problems (e.g., every gadget
> > >> developer has to know about the namespace of every other gadget.)  And
> > >> a quick check shows that if you run two examples of the "count"
> > >> example gadget, they each have their own "count" variable that updates
> > >> independently.
> >
> > >> So is there a way for two gadgets in a Wave to share their state?  Or,
> > >> what's the best way to do this?
> >
> > >> I am new at this and trying to poke my way through the documents, but
> > >> I've gotten to the point where it's better to ask.
> >
> > >> Thanks,
> > >> Rob
> >
>

--~--~-~--~~~---~--~~
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: multiple gadgets sharing state

2009-11-10 Thread Austin Chau (Google employee)
No gadget states are specific to each gadget and not shared among other
gadgets within the same wave.

There are several ways to maintain "state" among different gadgets of the
same wave, you can maintained your own persistent storage on remote server
and use some crossdomain mechanism (jsonp, script injection, etc) to share
data.  You can also use wave robot to maintain data for you and store them
on the wave data document.

Austin

On Tue, Nov 10, 2009 at 10:00 AM, rgibson wrote:

>
> I would like to share state between multiple gadgets.  When I read the
> wave gadgets tutorial, it sounded as if the state was stored at the
> Wave level.  (E.g., call wave.getState() to get the state, gadgets
> "share state", etc.)  So there would be one "count" per Wave, not one
> "count" per gadget.
>
> Of course, this introduces its own problems (e.g., every gadget
> developer has to know about the namespace of every other gadget.)  And
> a quick check shows that if you run two examples of the "count"
> example gadget, they each have their own "count" variable that updates
> independently.
>
> So is there a way for two gadgets in a Wave to share their state?  Or,
> what's the best way to do this?
>
> I am new at this and trying to poke my way through the documents, but
> I've gotten to the point where it's better to ask.
>
> Thanks,
> Rob
> >
>

--~--~-~--~~~---~--~~
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: Cron Tutorial

2009-11-09 Thread Austin Chau (Google employee)
The are instabilities around the current cron setup, which is the reason why
we w are upgrading to a new mechanism.  I personally have had trouble
running crons (I haven't tried it in the last few weeks, I wrote Stocky
BTW).  Sorry if this is an inconvenience to you guys, we are trying to push
the new stuff as soon as possible.

Austin

On Mon, Nov 9, 2009 at 6:19 AM, Richard Korff  wrote:

>
> Austin,
>
> The reference to Stocky, is for education/documentation only,
> correct ?
> I have read other messages which says that cron does not work at the
> moment.
>
> I have tried to do the same as Stocky, but it seems the cron does not
> fire.
>
> Also, any idea when the new cron environment is going to be rolled
> out ?
>
> Thanks,
>
> Richard
>
> On Nov 9, 10:14 am, "Austin Chau (Google employee)"
>  wrote:
> > We do not have documentation for the current cron setup for robot, due
> the
> > reason you have mentioned that we are soon replacing it with a more
> robust
> > mechanism.  In the meanwhile, please check out the sample robot Stocky
> which
> > uses the current cron setup -
> >
> > http://google-wave-resources.googlecode.com/svn/trunk/samples/extensi...
> >
> > <http://google-wave-resources.googlecode.com/svn/trunk/samples/extensi..
> .>Essentially
> > you specify your cron spec in the capabilities.xml.  Map a handler to the
> > URL in web.xml -
> >
> > /_wave/robot/fetchupdate
> >
> > Austin
> >
> > On Sun, Nov 8, 2009 at 5:40 PM, Smola  wrote:
> >
> > > I know what a cron job is, I have just never created one.  For ANY
> > > platform.  Google Wave is a very specific platform and there isn't
> > > much documentation on it (crons with Wave).  In the Java API tutorial,
> > > cron jobs are mentioned as being available, but that's all I could
> > > find on them.  I have seen some other posts about cron jobs in groups
> > > here and gathered that some lines of code should be added to the
> > > capabilities.xml but I don't know the extent of the attributes I can
> > > use or even how to use the ones I saw in the post (i think there was a
> > > directory for a script? and then a time given that appeared to be an
> > > interval like every 10 seconds).
> >
> > > So my question is this:  Is there some documentation I have missed in
> > > terms of cron jobs with wave (for the Java API)?  If not, could
> > > someone give a quick run down of their understanding of how this could
> > > be used?
> >
> > > I am also aware that a mechanism is being developed that could replace
> > > the need for cron jobs but I'd still like to familiarize myself with
> > > the cron capabilities.  Thanks for your time!
> >
> > > Smola
>
> >
>

--~--~-~--~~~---~--~~
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: How to display an image button...

2009-11-08 Thread Austin Chau (Google employee)
Image button is not available, you can only have the typical gray button for
it to be clickable.  Feel free to file a feature request for it.

Austin

On Sun, Nov 8, 2009 at 7:50 AM, Venkat Polisetti  wrote:

>
> Hi All,
>
>textView.appendElement(new FormElement(ElementType.BUTTON,
> "my_button", "Submit"));
>
> Thanks,
> Venkat
>
>
> >
>

--~--~-~--~~~---~--~~
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: Cron Tutorial

2009-11-08 Thread Austin Chau (Google employee)
We do not have documentation for the current cron setup for robot, due the
reason you have mentioned that we are soon replacing it with a more robust
mechanism.  In the meanwhile, please check out the sample robot Stocky which
uses the current cron setup -

http://google-wave-resources.googlecode.com/svn/trunk/samples/extensions/robots/java/stocky/

Essentially
you specify your cron spec in the capabilities.xml.  Map a handler to the
URL in web.xml -

/_wave/robot/fetchupdate

Austin

On Sun, Nov 8, 2009 at 5:40 PM, Smola  wrote:

>
> I know what a cron job is, I have just never created one.  For ANY
> platform.  Google Wave is a very specific platform and there isn't
> much documentation on it (crons with Wave).  In the Java API tutorial,
> cron jobs are mentioned as being available, but that's all I could
> find on them.  I have seen some other posts about cron jobs in groups
> here and gathered that some lines of code should be added to the
> capabilities.xml but I don't know the extent of the attributes I can
> use or even how to use the ones I saw in the post (i think there was a
> directory for a script? and then a time given that appeared to be an
> interval like every 10 seconds).
>
> So my question is this:  Is there some documentation I have missed in
> terms of cron jobs with wave (for the Java API)?  If not, could
> someone give a quick run down of their understanding of how this could
> be used?
>
> I am also aware that a mechanism is being developed that could replace
> the need for cron jobs but I'd still like to familiarize myself with
> the cron capabilities.  Thanks for your time!
>
> Smola
> >
>

--~--~-~--~~~---~--~~
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: No enum const class com.google.wave.api.EventType.OPERATION_ERROR

2009-11-08 Thread Austin Chau (Google employee)
Since I don't have the full context of your code, I am suspecting that your
outputSream.toString() is returning content that is unserializable to the
client library.  Keep in mind that appendMarkup() can only handle ,
, , .

Austin

On Sat, Nov 7, 2009 at 11:49 AM, Piotr Pejas  wrote:

>
> Hi  everybody,
> I am new to group and wave.
>
> I wrote simple robot which listen to blip changes and append some html
> if blip text match my regular expression and I get an exception when I
> call appendMarkup on TextView, append method works but escapes html
> and it's not what I need.
> Am I doing something wrong or is it a bug?
>
> My code:
> transformer.transform(xml, result);
> textView.appendMarkup(outputStream.toString());
>
> and exception:
> /_wave/robot/jsonrpc
> java.lang.IllegalArgumentException: No enum const class
> com.google.wave.api.EventType.OPERATION_ERROR
>at java.lang.Enum.valueOf(Unknown Source)
>at com.google.wave.api.EventType.valueOf(EventType.java:24)
>at com.google.wave.api.impl.EventDataSerializer.unmarshall
> (EventDataSerializer.java:94)
>at com.metaparadigm.jsonrpc.JSONSerializer.unmarshall
> (JSONSerializer.java:202)
>at com.metaparadigm.jsonrpc.ListSerializer.unmarshall
> (ListSerializer.java:101)
>at com.metaparadigm.jsonrpc.JSONSerializer.unmarshall
> (JSONSerializer.java:202)
>at com.google.wave.api.impl.EventMessageBundleSerializer.unmarshall
> (EventMessageBundleSerializer.java:87)
>at com.metaparadigm.jsonrpc.JSONSerializer.unmarshall
> (JSONSerializer.java:202)
>at com.google.wave.api.AbstractRobotServlet.deserializeEvents
> (AbstractRobotServlet.java:158)
>at com.google.wave.api.AbstractRobotServlet.doPost
> (AbstractRobotServlet.java:75)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 487)
>at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> (ServletHandler.java:1093)
>at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter
> (SaveSessionFilter.java:35)
>at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> (ServletHandler.java:1084)
>at
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter
> (TransactionCleanupFilter.java:43)
>at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> (ServletHandler.java:1084)
>at org.mortbay.jetty.servlet.ServletHandler.handle
> (ServletHandler.java:360)
>at org.mortbay.jetty.security.SecurityHandler.handle
> (SecurityHandler.java:216)
>at org.mortbay.jetty.servlet.SessionHandler.handle
> (SessionHandler.java:181)
>at org.mortbay.jetty.handler.ContextHandler.handle
> (ContextHandler.java:712)
>at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
> 405)
>at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle
> (AppVersionHandlerMap.java:238)
>at org.mortbay.jetty.handler.HandlerWrapper.handle
> (HandlerWrapper.java:139)
>at org.mortbay.jetty.Server.handle(Server.java:313)
>at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> 506)
>at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete
> (HttpConnection.java:830)
>at
> com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable
> (RpcRequestParser.java:76)
>at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
>at
>
> com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest
> (JettyServletEngineAdapter.java:139)
>at com.google.apphosting.runtime.JavaRuntime.handleRequest
> (JavaRuntime.java:239)
>at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> $6.handleBlockingRequest(RuntimePb.java:5135)
>at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> $6.handleBlockingRequest(RuntimePb.java:5133)
>at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest
> (BlockingApplicationHandler.java:24)
>at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
> 363)
>at com.google.net.rpc.impl.Server$2.run(Server.java:814)
>at com.google.tracing.LocalTraceSpanRunnable.run
> (LocalTraceSpanRunnable.java:56)
>at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan
> (LocalTraceSpanBuilder.java:516)
>at com.google.net.rpc.impl.Server.startRpc(Server.java:769)
>at com.google.net.rpc.impl.Server.processRequest(Server.java:351)
>at com.google.net.rpc.impl.ServerConnection.messageReceived
> (ServerConnection.java:437)
>at com.google.net.rpc.impl.RpcConnection.parseMessages
> (RpcConnection.java:319)
>at com.google.net.rpc.impl.RpcConnection.dataReceived
> (RpcConnection.java:290)
>at com.google.net.

[Google Wave APIs] Re: Who adds a Robot

2009-11-07 Thread Austin Chau (Google employee)
>From the WAVELET_SELF_ADDED event (it is triggered when a robot is added),
you can call event.getModifiedBy() which should return the participant who
adds the robot.

Austin

On Sat, Nov 7, 2009 at 9:38 PM, Prashant  wrote:

>  i guess NOT
>
>
> >
>

--~--~-~--~~~---~--~~
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: This Week's Office Hours: Nov. 4th, 3-4 PST

2009-11-04 Thread Austin Chau (Google employee)
Yes this week office hour is changed to a different time than normal because
a lot of us are travelling.  Sorry for the inconvenience.

Austin

On Wed, Nov 4, 2009 at 3:03 PM, C.K  wrote:

>
> Is it delayed or I'm wrong in calculations? :)
>
> On 4 Лис, 17:32, Leitzler  wrote:
> > No wonder I always miss them! ;)
> >
> > Thanks!
> >
> > On Nov 4, 3:20 pm, cmdskp  wrote:
> >
> >
> >
> > > According to this http://www.timezoneconverter.com/cgi-bin/
> > > tzc.tzc">timezone converter site it's 11pm 4th Nov (i.e. GMT
> > > -8hrs).
> >
> > > I find the lack of timezone conversion in messengers and forums very
> > > strange - considering how often the exchanges are cross-global
> > > timezones.  The only popular program I know that will tell you someone
> > > elses time is Skype, but this is a feature that should show in a
> > > tooltip over everyones nick or in their profile info.  It just would
> > > be so useful to know when folk are likely to be awake/working/eating
> > > esp. for meeting planning in online collaboration apps like wave.
> >
> > > On Nov 4, 1:18 pm, Leitzler  wrote:
> >
> > > > That would be 5th Nov 01:00am GMT right?
> >
> > > > (would be great if you could post a "Add to calendar"-link for lazy
> > > > people like me that don't like to recalculate timezones :))
> >
> > > > On Nov 4, 6:21 am, "pamela (Google Employee)" 
> > > > wrote:
> >
> > > > > Hi developers -
> >
> > > > > For this week, the Wave API office hour will be held this Wed Nov
> 4th (US
> > > > > Pacific) from 3 to 4pm.
> > > > > The URL to the public wave on wavesandbox will be posted 5 min
> prior to the
> > > > > office hour.
> >
> > > > > Get your API questions ready! :)
> >
> > > > > - pamela
> >
>

--~--~-~--~~~---~--~~
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: Talking to a Gadget from a Robot

2009-11-03 Thread Austin Chau (Google employee)
The way to do what you described is by setting gadget states from within the
gadget.  So when a viewer populate some data in an input field from your
gadget, you would set a wave state to represent this data.  Setting a gadget
state would trigger DOCUMENT_CHANGED event to the robot.  The robot in turn
can retrieve this event and its associated context, including the triggering
blip which contains the gadget.  From there the robot can get the reference
to the gadget and its gadget states.

Austin

On Tue, Nov 3, 2009 at 3:28 AM, gana  wrote:

>
> Hi,
>
> So I was creating a robot which sends a notification to a subscribed
> email id when a new Blip is submitted.
> For this sake, I created a gadget, that gets inserted into the wave
> ( by the robot ) when the robot is first added.
> This gadget maintains a list of all the email id's which have
> currently subscribed to the wave.
> Whenever a new blip is submitted, my idea was, access the gadget, get
> the field containing the email id's and then send a notification to
> all those mail id's.
>
> The problem is sometimes the robot is not able to get a handle to the
> gadget, which means no list of email id's. I am not sure, but I am
> guessing this is with regard to the context or something of the
> current conversation? So even if the gadget is added to the root blip,
> I wont be able to get a handle to the gadget?
>
> It kind of works for the first time, after which the email stops
> coming in?
>
> Is there some other way I can get this working?
>
>
> PS to the Google guys : Can I get a sandbox account pls ? I am still
> working on the preview. :)
>
> >
>

--~--~-~--~~~---~--~~
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: Add new wavelet to existing wave (Java)?

2009-11-02 Thread Austin Chau (Google employee)
By that I think you meant creating private reply with in a wave (hence a
different wavelet within a wave), currently that is not available.  Feel
free to file a feature request for this -

http://code.google.com/p/google-wave-resources/issues

Thanks,
Austin

On Mon, Nov 2, 2009 at 5:14 AM, heitzig-j  wrote:

>
> Is there a possibility to add a new wavelet to an existing wave with a
> Java robot? All I get to work is creating a whole new wave by invoking
> createWavelet()...
> >
>

--~--~-~--~~~---~--~~
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: Hey is there any wave to insert new blip between 2 other blips??

2009-10-31 Thread Austin Chau (Google employee)
This is not available currently.  wavelet.appendBlip() always append blip to
the end.

Austin

On Sat, Oct 31, 2009 at 4:34 AM, shitu  wrote:

>
> I want to insert the new blip between 2 other blip but not as an
> inline blip.
> I m using java..
>
> >
>

--~--~-~--~~~---~--~~
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: Text appended twice in blip

2009-10-31 Thread Austin Chau (Google employee)
Hi Karan,

Sorry that this bug hit you as well, we have already filed a request for it.
 You can track it with this bug report -

http://code.google.com/p/google-wave-resources/issues/detail?id=354&sort=-id&colspec=Stars%20ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Internal

We know exactly what is causing this and when fix is pushed to production we
will let you guys know.

In the mean while the workaround to not have doubling of the text you can do
this -

Blip newBlip = wavelet.appendBlip();
newBlip.getDocument().delete();
newBlip.getDocument().append("hello");

This should only print the text once.

Austin

On Sat, Oct 31, 2009 at 10:53 AM, Karan Bhatnagar  wrote:

> FYI, about one week back it was working fine. The message was being
> displayed in the new blip just once as intended.
> Do I have to make some changes in the way I am appending the text  
> bundle.getWavelet().appendBlip().getDocument().append(SOME_STRING),
> do compensate of any API changes?
>
>
> On Sat, Oct 31, 2009 at 11:17 PM, Karan Bhatnagar <
> karan.bhatna...@gmail.com> wrote:
>
>> If this is because the logs show it both in *content *as well as *property
>> *field?
>>
>>
>> On Sat, Oct 31, 2009 at 11:13 PM, Karan Bhatnagar <
>> karan.bhatna...@gmail.com> wrote:
>>
>>> Hi,
>>>  I am facing a strange problem. My robot is trying to add a blip to the
>>> wave using:
>>>
>>>  @Override
>>>  public void processEvents(RobotMessageBundle bundle) {
>>>   .
>>> bundle.getWavelet().appendBlip().getDocument().append(SOME_STRING);
>>>  // where bundle is the object of RobotMessageBundle class
>>>   .
>>> }
>>>
>>> in AppEngine logs, I can see:
>>>
>>> com.google.wave.api.AbstractRobotServlet serializeOperations: Outgoing 
>>> operations: 
>>> {"javaClass":"com.google.wave.api.impl.OperationMessageBundle","operations":{"javaClass":"java.util.ArrayList","list":[{"index":-1,"waveletId":"googlewave.com!conv+root","blipId":null,"javaClass":"com.google.wave.api.impl.OperationImpl","property":{"lastModifiedTime":-1,"contributors":{"javaClass":"java.util.ArrayList","list":[]},"waveletId":"googlewave.com!conv+root","waveId":"googlewave.com!w+Gss2nWBGN","parentBlipId":null,"version":-1,"creator":null,"content":"\nThis
>>>  is the content of SOME_STRING 
>>> ","blipId":"TBD0.9461425416166795","javaClass":"com.google.wave.api.impl.BlipData","annotations":{"javaClass":"java.util.ArrayList","list":[]},"elements":{"map":{},"javaClass":"java.util.HashMap"},"childBlipIds":{"javaClass":"java.util.ArrayList","list":[]}},"waveId":"googlewave.com!w+Gss2nWBGN","type":"WAVELET_APPEND_BLIP"},{"index":0,"waveletId":"googlewave.com!conv+root","blipId":"TBD0.9461425416166795","javaClass":"com.google.wave.api.impl.OperationImpl","property":"This
>>>  is the content of 
>>> SOME_STRING","waveId":"googlewave.com!w+Gss2nWBGN","type":"DOCUMENT_APPEND"}]},"version":"4"}
>>>
>>>
>>> but the message 'This is the content of SOME_STRING' appears twice in the 
>>> new blip as if it was appended twice.
>>>
>>> Any clue what is going on behind the scenes?
>>>
>>> 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: Ordering blips?

2009-10-30 Thread Austin Chau (Google employee)
Yes that is correct it is not provided by the API since it is not supported
by the Wave client itself.

Austin

On Fri, Oct 30, 2009 at 3:02 PM, wolfgang.wer...@gmail.com <
wolfgang.wer...@gmail.com> wrote:

>
> Hey all,
>
> is there a possibility to (re-) order blips in a wavelet using the
> Robot API? I looked into the API docs and didn't find anything about
> this in Blip and Wavelet.
> I'd be surprised if the List returned by Blip.getChildBlipIds() or
> Blip.getChildren() was mutable or changes would be actually reflected
> in wave.
>
> Actually, I couldn't find a way to do this using the wave client as
> well, so perhaps this is not possible at all.
> Still, confirmation would feel good.
>
> I'm no sure whether this is a dumb question to ask, but thanks for
> your time all the same,
> Wolfgang
>
> >
>

--~--~-~--~~~---~--~~
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: cron job not executed

2009-10-29 Thread Austin Chau (Google employee)
The current set up to execute cron job on behalf of robots is somewhat shaky
at times, apologize for this.

But very soon we will release a new mechanism to perform cron-like
functionalities.  Stay tuned for updates.

Austin

On Thu, Oct 29, 2009 at 5:41 AM, martin sarsale wrote:

>
> Dear All:
>
> What I understood from the docs is that I need to create an new python
> file that answers cron calls. I created this script, updated
> capabilities.xml and app.yml but the cron jobs are never executed
> (according to the logs in GAE)
>
> In capabilities.xml I have:
>
> 
>  
> 
>
> and in app.yml
>
> - url: /_wave/update_searches
>  script: update_searches.py
>
> My update_searches.py script has:
>
> import logging
> from waveapi import robot
> from waveapi import robot_abstract
> import sys
> json_body = sys.stdin.read()
> context, events = robot_abstract.ParseJSONBody(json_body)
> logging.debug("raw %s" % raw)
> logging.debug("context %s" % context)
> logging.debug("events %s" % events)
>
>
> Any hints?
>
> >
>

--~--~-~--~~~---~--~~
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: php support.

2009-10-29 Thread Austin Chau (Google employee)
Hi

There is a feature request for PHP and other language support -

http://code.google.com/p/google-wave-resources/issues/detail?id=

But once the AppEngine requirement is removed you can build robots using any
languages as long as you are speaking the robot wire protocol.

Austin

On Thu, Oct 29, 2009 at 8:25 AM,  wrote:

> hello all
> i don't have a wave account and i have a question if this new technology
> support PHP . i don't developpe with java or python :(.
>
> --
> Moulalblad Brahim
> Développement des Application Web
> www.sitewebplus.ma
>
>
> >
>

--~--~-~--~~~---~--~~
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: Use of WAVELET_BLIP_CREATED with Python API

2009-10-29 Thread Austin Chau (Google employee)
Hi,

Actually I think there is a bug with the WAVELET_BLIP_CREATED event.  It
seems that only root blip creation would trigger the event.  I have filed a
bug for -

http://code.google.com/p/google-wave-resources/issues/detail?id=372

Austin

On Thu, Oct 29, 2009 at 11:51 AM, Jeff  wrote:

>
> I am looking to get a robot to perform the following: When a new blip
> is added to a Wave, the robot pre-fills the blip content with some
> text (before the user might click the "Done" button).
>
> My example code properly sets up a Robot and fires a handler on
> WAVELET_BLIP_CREATED just as I want. Initially, my first thought was
> to retrieve the "newBlipId" property and use context.GetBlipById
> (...).  Problem is, this appears to return None.  If I retrieve the
> other "blipId" property and use GetBlipById, it returns the root blip.
>
> Here's what my code looks like...
>
> from waveapi import events
> from waveapi import model
> from waveapi import robot
>
> import logging
>
> def OnBlipCreated(properties, context):
>  """Invoked when a blip is created"""
>  logging.debug(properties)
>  blip = context.GetBlipById(properties['newBlipId'])
>  blip.GetDocument().SetText("YATTA!")
>
> ... (handler and robot boostrap omitted) ...
>
> Does anyone have any suggestions? Is this a limitation of the current
> API or am I missing something obvious?
>
> >
>

--~--~-~--~~~---~--~~
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 robots tag waves?

2009-10-29 Thread Austin Chau (Google employee)
Hi,

Tags are currently not exposed to the API (client libraries independent),
stay tuned for future update.

Austin

On Thu, Oct 29, 2009 at 2:17 PM, Fabricio Zuardi wrote:

>
>
> Is there currently any methods in the robots API for adding, removing
> or listing tags? (Python prefferable)
>
> Thanks!
> Fabricio Zuardi
> http://fabricio.org
>
> >
>

--~--~-~--~~~---~--~~
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: Less frequent updating

2009-10-27 Thread Austin Chau (Google employee)
Cron job can recreate the blip context.  Check out the sample robot Stocky.
 It persists wave, wavelet and blip IDs, so that the cron call can later
recreate the context.

http://google-wave-resources.googlecode.com/svn/trunk/samples/extensions/robots/java/stocky/src/robot/UpdateServlet.java


Austin

On Tue, Oct 27, 2009 at 10:21 PM, voidref  wrote:

>
> Hi,
>
> For my syntax highlighting bot, I want the highlighting to be while
> typing is happening, however getting a notification on every character
> input will be a serious problem for bandwidth and processing.
>
> Does anyone have any suggestions for doing this via a mechanism rather
> than DOCUMENT_CHANGED?
>
> Is the cron job the way to go? Can I get access to the waves? Can a
> Context be 'stored'?
>
> Thank you,
> 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: robot append text doubles up?

2009-10-27 Thread Austin Chau (Google employee)
This has already been file with this bug report -

http://code.google.com/p/google-wave-resources/issues/detail?id=354&sort=-id&colspec=Stars%20ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Internal

We
have identified the problem and the changes should be up in our next push.
 In the meantime you can do blip.getDocument().delete() before you call
blip.getDocument().append(), that should be the temporary fix to avoid
doubling up the text.

Austin

On Tue, Oct 27, 2009 at 11:10 PM, Dominic Lovell  wrote:

>
> Heres a sample of my code that appends messages, all of my text seems
> double up, so my blip will have "HelloHello"
>
> but in my logs, I can see that its only one "Hello"
>
> Has anyone encounted this problem?
>
> ...
>
> public static final String INTRODUCTION = "Hello";
>
> ...
>
> if ( e.getType() ==
> EventType.WAVELET_SELF_ADDED ) {
>  Wavelet wavelet =
> bundle.getWavelet();
>  Blip blip = wavelet.appendBlip();
>  TextView textView =
> blip.getDocument();
>  textView.append( INTRODUCTION
> );
>  log.info( "Sending welcome
> message " + INTRODUCTION);
>
> }
>
>
> >
>

--~--~-~--~~~---~--~~
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: 2 newwavemenu hooks, 1 robot, 2 different wave kinds?

2009-10-27 Thread Austin Chau (Google employee)
I have responded in this thread -

http://groups.google.com/group/google-wave-api/browse_thread/thread/29d273a4d16e324

Please
only post once per each question, thanks.

Austin

On Tue, Oct 27, 2009 at 12:50 PM, Agustin Horischnik wrote:

>
> I'm working on a robot that "maps" waves to entities of two different
> kinds. Say 'league' and 'team'. Ideally I thought, my extension
> installer manifest.xml would define two menuHook elements, both with
> location=newwavemenu and different text attributes: "Create league"
> and "Create team". So on the New Wave sub-menu you would have these
> two choices. Each would create a new wave and add the robot as a
> participant. The question is then, how could I instruct the robot
> which kind of wave it is being added to.
>
> ¿Any ideas?
>
> Agustin.
>
> PS. I couldn't think of a better subject for this question, hope it
> wasn't too confusing :)
> >
>

--~--~-~--~~~---~--~~
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: 2 newwavemenu hooks, 1 robot, 2 different

2009-10-27 Thread Austin Chau (Google employee)
You can use "+data" in your robot name to tag extra bit of data to your
robot.  If you have a robot ro...@appspot.com, you can have each menuHook to
add robot+createlea...@appspot.com  and
robot+createt...@appspot.com  respectively.
 And inside your robot implementation you can check to see what the trailing
+ data is and react accordingly.

Austin

On Tue, Oct 27, 2009 at 2:28 PM, Agustin Horischnik wrote:

>
> I'm working on a robot that "maps" waves to database entities of two
> different
> kinds. For instance 'league' and 'team'.
>
> So, ideally I thought, my extension installer manifest.xml would
> define two menuHook elements, both with
> location=newwavemenu and different text attributes: "Create league"
> and "Create team". So on the New Wave sub-menu you would have these
> two choices. Each would create a new wave and add the robot as a
> participant. The question is then, how could I instruct the robot
> which kind of wave it is being added to.
>
> ¿Any ideas?
>
> Agustin.
>
> PS. I couldn't think of a better subject for this question, hope it
> wasn't too confusing :)
> >
>

--~--~-~--~~~---~--~~
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: How could a robot remove itself from the wave?

2009-10-27 Thread Austin Chau (Google employee)
Although the method for removing a participant is available in the client
libraries (Wavelet.removeParticipant() in Java), we haven't finalized the
policy around how removal should work hence the operation right now is
ignored on the server.

Feel free to a file feature request to push this higher in the priority
chain.  Thanks

http://code.google.com/p/google-wave-resources/issues/list?can=2&q=&sort=-id&colspec=Stars%20ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Internal

Austin

On Tue, Oct 27, 2009 at 6:24 AM, charlot  wrote:

>
> I'm making a robot who does a one-shot transformation and is not
> needed anymore. How can it remove itself right after the job's done?
>
> 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: How to make a radio button selected by default?

2009-10-26 Thread Austin Chau (Google employee)
I don't believe there is a property available for that.  Please feel free to
file a request for this -

http://code.google.com/p/google-wave-resources/issues/list?can=2&q=&sort=-id&colspec=Stars%20ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Internal

On Mon, Oct 26, 2009 at 8:05 AM, Tymur Porkuian wrote:

>
> How can I make a radio button added by robot through FormView (I'm
> using Java) to be selected by default?
> >
>

--~--~-~--~~~---~--~~
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: Fundamental question - what does "context"...um...do?

2009-10-26 Thread Austin Chau (Google employee)
No you have no control context.  Context is managed sent by the server.  If
you need to maintain states, you need your own datastore or you can use the
DataDocument from Wavelet.

http://wave-robot-java-client.googlecode.com/svn/trunk/doc/com/google/wave/api/Wavelet.html#getDataDocument(java.lang.String)

Austin

On Mon, Oct 26, 2009 at 2:03 PM, Olemis Lang  wrote:

>
> > On Mon, Oct 26, 2009 at 1:31 PM, Chris C. 
> wrote:
> >>
> >> Okay, I've written a robot that parses new blips for particular
> >> strings (in this case, strings representing dice rolls), and inserts
> >> the result of a particular dice roll in the blip. It works fine,
> >> exactly as I expect and desire.
> >>
> >> I see in the tutorial that there is something called "CONTEXT" in the
> >> API. So here's the question: what does that do? What additional
> >> capabilities does that provide to a robot?
> >>
> >
> On Mon, Oct 26, 2009 at 3:40 PM, Austin Chau (Google employee)
>  wrote:
> > Essentially you can think of event handler/context as callback (endpoint)
> > with data (context).  Imagine you have a handler for a particular type of
> > wave event.  When that event has occurred, the Wave server could trigger
> > your endpoint with this notification.  Associated with this notification,
> is
> > the "context" data that are sent along with it.  So that in your handler,
> > you can actually retrieve the plain text data of the blip.
>
> Is it possible to add data in there (I mean robots adding data ...) to
> be used later by the robot ? For example, I'd like to implement a
> robot that infers some data by analyzing the text of the blips, and
> I'd like to stores this (meta-data | state info) in order to use it
> later inside the same wavelet, to transform or create other blips.
> It's semantics are specific to the robot behavior, probably not to any
> robot compatible with Google Wave API .
>
> Is this possible or context is just about (visual | core) aspects of
> the system ?
>
> Thnx
>
> --
> Regards,
>
> Olemis.
>
> Blog ES: http://simelo-es.blogspot.com/
> Blog EN: http://simelo-en.blogspot.com/
>
> Featured article:
> Suggestions: Wave (private) Groups, integration - Google Wave API ...
> -
> http://feedproxy.google.com/~r/TracGViz-full/~3/cuwdwGkX1WA/90bf35ca0c38caf0
>
> >
>

--~--~-~--~~~---~--~~
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: Fundamental question - what does "context"...um...do?

2009-10-26 Thread Austin Chau (Google employee)
Essentially you can think of event handler/context as callback (endpoint)
with data (context).  Imagine you have a handler for a particular type of
wave event.  When that event has occurred, the Wave server could trigger
your endpoint with this notification.  Associated with this notification, is
the "context" data that are sent along with it.  So that in your handler,
you can actually retrieve the plain text data of the blip.

Austin

On Mon, Oct 26, 2009 at 1:31 PM, Chris C.  wrote:

>
> Okay, I've written a robot that parses new blips for particular
> strings (in this case, strings representing dice rolls), and inserts
> the result of a particular dice roll in the blip. It works fine,
> exactly as I expect and desire.
>
> I see in the tutorial that there is something called "CONTEXT" in the
> API. So here's the question: what does that do? What additional
> capabilities does that provide to a robot?
>
> 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: 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: Wavelet.getRootBlip() -- Do I understand something wrong?

2009-10-23 Thread Austin Chau (Google employee)
Basically you need a permanent storage that you manage on your own (not
provided by the API) to maintain the context data for each blip.  That's
what I meant by your own datastore to keep track of the blip ids and
associated data.  Take a look at the sample robot Stocky which has a
persistence layer to remember blips data with JDO on AppeEngine -

http://google-wave-resources.googlecode.com/svn/trunk/samples/extensions/robots/java/stocky/src/robot/

<http://google-wave-resources.googlecode.com/svn/trunk/samples/extensions/robots/java/stocky/src/robot/>
Austin

On Fri, Oct 23, 2009 at 6:22 PM, Smola  wrote:

>
> Keeping track of the IDs for "lookup?"  I have been searching for a
> method in the API which takes a blip ID as an argument and returns the
> blip matching that ID but have been unable to find one.  Am I missing
> something?  Please tell me how this can be done if possible because my
> development has been stalled as a result.
>
>
> Smola
>
>
> On Oct 23, 2:55 am, "Austin Chau (Google employee)"
>  wrote:
> > So yes, when a blip is out of context you would have no way to retrieve
> its
> > document content from the event callback alone.  What can you do now is
> > maintain the context on your own with a datastore backend.  Essentially
> > keeping track of all wavelet and blip ids for lookup.
> > We know that this is not ideal and we are working on this as speak to
> remove
> > the limited context on callback.  Stay tuned for updates.
> > Austin
> >
> > 2009/10/22 Bálint Kriván 
> >
> >
> >
> > > Oh I see...So robot doesn't get the whole wavelet with all of the
> blips,
> > > but the blip of the related event and it's parent.
> > > Ok, but if I would like to access to the rootblip, and I get its id
> with
> > > wavelet.getRootBlipId(), how can I request its content
> > > (getDoucment().getText())?
> (wavelet.getRootBlip().getDocument().getText()
> > > also throws null exception in these cases, so I don't have any idea how
> to
> > > achieve this)
> >
> > > Thanks for your guidance!
> >
> > > On Fri, Oct 23, 2009 at 2:56 AM, Austin Chau (Google employee) <
> > > api.aus...@google.com> wrote:
> >
> > >> Hi,
> > >> To get the root blip id in your scenario -
> >
> > >> wave.appendBlip().getDocument().append(wavelet.getRootBlipId());
> >
> > >> This would work because it does not require "context" of a grandparent
> > >> blip.  The reason that you are getting exception is because the
> context
> > >> associated with an event callback only goes back its immediate parent.
>  So
> > >> in your case if the triggering event is resulted from a grandchild
> blip away
> > >> from root, it will no longer has context to recreate the root blip
> when you
> > >> invoked wavelet.getRootBlip() - thus you will get a null reference.
> >
> > >> Hope it helps,
> > >> Austin
> >
> > >> 2009/10/22 Bálint Kriván 
> >
> > >> Reply to myself and others: I think this is related to
> > >>>http://code.google.com/p/google-wave-resources/issues/detail?id=200.
> >
> > >>> 2009/10/22 Bálint Kriván 
> >
> > >>> Hi!
> > >>>> I have this little chunk of code:
> >
> > >>>>  public void debug(RobotMessageBundle bundle, String msg)
> >
> > >>>>  {
> >
> > >>>>  List list = new ArrayList();
> >
> > >>>>  list.add("");
> >
> > >>>>  Wavelet wave = bundle.createWavelet(list);
> >
> > >>>>   wave.appendBlip().getDocument().append(msg);
> >
> > >>>>  }
> >
> > >>>>   @Override
> >
> > >>>>  public void processEvents(RobotMessageBundle robotMessageBundle) {
> >
> > >>>>  Wavelet wavelet = robotMessageBundle.getWavelet();
> >
> > >>>>  for (Event event : robotMessageBundle.getEvents()) {
> >
> > >>>>  Blip currentBlip = event.getBlip();
> >
> > >>>>  switch (event.getType()) {
> >
> > >>>>  case BLIP_SUBMITTED:
> >
> > >>>>  debug(robotMessageBundle,
> > >>>>> String.valueOf(wavelet.getRootBlip().getBlipId())); // line 46!
> >
> > >>>>  }
> >
> > >>>>  }
> >
> > >>>>  }
> >
> > >>>> So when I add a blip t

[Google Wave APIs] Re: Robot stopped responding to BLIP_SUBMITTED

2009-10-23 Thread Austin Chau (Google employee)
Could be a hiccup on server or GAE.  Glad things are back to normal now.

Austin

On Fri, Oct 23, 2009 at 4:24 PM, Mauricio Marcon Zaffari <
mauricio.sha...@gmail.com> wrote:

>
> It's back now.
>
> Weird thing. Is it an issue on my side?
>
> --
> Att.
>
> Mauricio Marcon Zaffari
> http://www.papodenerd.net
>
>
>
> 2009/10/23 Austin Chau (Google employee) :
> > Hi,
> > There is no change in the API regarding those events.  I just verify that
> > against my robots and they seem to be responding fine with
> BLIP_SUBMITTED.
> >  Are you still seeing this problem?
> > Austin
> >
> > On Fri, Oct 23, 2009 at 12:23 PM, Mauricio Marcon Zaffari
> >  wrote:
> >>
> >> Hello,
> >>
> >> I have a robot and it was working, but all of suddenly it stoped
> >> responding to BLIP_SUBMITTED events.
> >>
> >> It still receives WAVELET_SELF_ADDED.
> >>
> >> What's going on? Wave API changed recently?
> >>
> >> --
> >> Att.
> >>
> >> Mauricio Marcon Zaffari
> >> http://www.papodenerd.net
> >>
> >>
> >
> >
> > >
> >
>
> >
>

--~--~-~--~~~---~--~~
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: Robot stopped responding to BLIP_SUBMITTED

2009-10-23 Thread Austin Chau (Google employee)
Hi,

There is no change in the API regarding those events.  I just verify that
against my robots and they seem to be responding fine with BLIP_SUBMITTED.
 Are you still seeing this problem?

Austin

On Fri, Oct 23, 2009 at 12:23 PM, Mauricio Marcon Zaffari <
mauricio.sha...@gmail.com> wrote:

>
> Hello,
>
> I have a robot and it was working, but all of suddenly it stoped
> responding to BLIP_SUBMITTED events.
>
> It still receives WAVELET_SELF_ADDED.
>
> What's going on? Wave API changed recently?
>
> --
> Att.
>
> Mauricio Marcon Zaffari
> http://www.papodenerd.net
>
> >
>

--~--~-~--~~~---~--~~
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: Annotation to generate a tooltip? And XHTML whitelist?

2009-10-23 Thread Austin Chau (Google employee)
Hi,

You are right, there is no such annotation for tooltip - feel free to file a
feature request for that -

http://code.google.com/p/google-wave-resources/issues/list

As for markups, the list of acceptable markups are quite limited at the
moment and they are:  , , , , , .

Austin

On Fri, Oct 23, 2009 at 3:26 PM, Chris C.  wrote:

>
> I am fairly sure this does not exist, but I thought I'd check: is
> there an annotation that can generate a mouseover tooltip? It's a
> pretty common/basic web feature, and I, at least, have a couple uses I
> could put it to.
>
> If there isn't one, I'd sure like one.
>
> On a related note, where can I find out what XHTML is "whitelisted?"
> It will be handy when I'm working with markup in blips.
>
> Thanks,
> Chris
> >
>

--~--~-~--~~~---~--~~
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-23 Thread Austin Chau (Google employee)
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: Access wavelet playback from a Java Robot?

2009-10-23 Thread Austin Chau (Google employee)
Currently blip revision data is not available to any of the API.  Feel free
to file an feature request for it.

http://code.google.com/p/google-wave-resources/issues/list

Austin

On Fri, Oct 23, 2009 at 9:18 AM, Leitzler  wrote:

>
> I've been searching for a way to access the history of a wavelet from
> within a robot, is it possible using the Java Robot API?
>
> I am trying to write a robot that creates a summary in the root blip
> that tells how many words each participant have been deleted through
> the history of the current wavelet.
>
> Any ideas?
>
> >
>

--~--~-~--~~~---~--~~
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-23 Thread Austin Chau (Google employee)
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] Re: Wavelet.getRootBlip() -- Do I understand something wrong?

2009-10-22 Thread Austin Chau (Google employee)
So yes, when a blip is out of context you would have no way to retrieve its
document content from the event callback alone.  What can you do now is
maintain the context on your own with a datastore backend.  Essentially
keeping track of all wavelet and blip ids for lookup.
We know that this is not ideal and we are working on this as speak to remove
the limited context on callback.  Stay tuned for updates.
Austin

2009/10/22 Bálint Kriván 

> Oh I see...So robot doesn't get the whole wavelet with all of the blips,
> but the blip of the related event and it's parent.
> Ok, but if I would like to access to the rootblip, and I get its id with
> wavelet.getRootBlipId(), how can I request its content
> (getDoucment().getText())? (wavelet.getRootBlip().getDocument().getText()
> also throws null exception in these cases, so I don't have any idea how to
> achieve this)
>
> Thanks for your guidance!
>
>
> On Fri, Oct 23, 2009 at 2:56 AM, Austin Chau (Google employee) <
> api.aus...@google.com> wrote:
>
>> Hi,
>> To get the root blip id in your scenario -
>>
>> wave.appendBlip().getDocument().append(wavelet.getRootBlipId());
>>
>> This would work because it does not require "context" of a grandparent
>> blip.  The reason that you are getting exception is because the context
>> associated with an event callback only goes back its immediate parent.  So
>> in your case if the triggering event is resulted from a grandchild blip away
>> from root, it will no longer has context to recreate the root blip when you
>> invoked wavelet.getRootBlip() - thus you will get a null reference.
>>
>> Hope it helps,
>> Austin
>>
>> 2009/10/22 Bálint Kriván 
>>
>> Reply to myself and others: I think this is related to
>>> http://code.google.com/p/google-wave-resources/issues/detail?id=200 .
>>>
>>> 2009/10/22 Bálint Kriván 
>>>
>>> Hi!
>>>> I have this little chunk of code:
>>>>
>>>>  public void debug(RobotMessageBundle bundle, String msg)
>>>>
>>>>  {
>>>>
>>>>  List list = new ArrayList();
>>>>
>>>>  list.add("");
>>>>
>>>>  Wavelet wave = bundle.createWavelet(list);
>>>>
>>>>   wave.appendBlip().getDocument().append(msg);
>>>>
>>>>  }
>>>>
>>>>   @Override
>>>>
>>>>  public void processEvents(RobotMessageBundle robotMessageBundle) {
>>>>
>>>>  Wavelet wavelet = robotMessageBundle.getWavelet();
>>>>
>>>>  for (Event event : robotMessageBundle.getEvents()) {
>>>>
>>>>  Blip currentBlip = event.getBlip();
>>>>
>>>>  switch (event.getType()) {
>>>>
>>>>  case BLIP_SUBMITTED:
>>>>
>>>>  debug(robotMessageBundle,
>>>>> String.valueOf(wavelet.getRootBlip().getBlipId())); // line 46!
>>>>
>>>>  }
>>>>
>>>>  }
>>>>
>>>>  }
>>>>
>>>>
>>>> So when I add a blip to the wavelet where the robot is, it should open a
>>>> new wave with me and send the id of the root blip (The top blip in the
>>>> wavelet).
>>>> But if this blip isn't right after the root blip (so the very first
>>>> Reply button) then I've got a NullPointerException:
>>>>
>>>> java.lang.NullPointerException
>>>>
>>>>   at com.google.wave.api.impl.BlipImpl.getBlipId(BlipImpl.java:56)
>>>>
>>>>   at robot.MainServlet.processEvents(MainServlet.java:46)
>>>>
>>>>   at
>>>>> com.google.wave.api.AbstractRobotServlet.doPost(AbstractRobotServlet.java:89)
>>>>
>>>>   [...]
>>>>
>>>>
>>>> What is the recommended way to access the very first blip (which is I
>>>> guess the RootBlip)?
>>>>
>>>> Thanks for your help!
>>>>
>>>> --
>>>> Üdv,
>>>> Kriván Bálint
>>>>
>>>
>>>
>>>
>>> --
>>> Üdv,
>>> Kriván Bálint
>>>
>>>
>>>
>>
>>
>>
>
>
> --
> Üdv,
> Kriván Bálint
>
> >
>

--~--~-~--~~~---~--~~
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: Robot notified when it is added as participant?

2009-10-22 Thread Austin Chau (Google employee)
The event you want to catch is EventType.WAVELET_SELF_ADDED
This event type does not need to be explicitly registered for, it is added
by default to all robot.

Austin

On Thu, Oct 22, 2009 at 8:57 AM, Karan  wrote:

>
> Hi,
> Out of the seven actions events listed at
> http://code.google.com/apis/wave/extensions/robots
> , which one can be used if a robot wants to perform some action when
> the robot itself is added to a wave for the first time?
>
> I want to avoid pinging the robot after adding it.
>
> >
>

--~--~-~--~~~---~--~~
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: Does StyledText / StyleType work in the Java API?

2009-10-22 Thread Austin Chau (Google employee)
I am seeing the same thing.  This is a bug with the insertStyledText().  I
have filed a bug for it -
http://code.google.com/p/google-wave-resources/issues/detail?id=341

Thanks for reporting.

Austin

On Thu, Oct 22, 2009 at 3:39 PM, Chris C.  wrote:

>
> Thanks - given that, I wonder if it's just that insertStyledText()
> isn't working. Unfortunately, appendStyledText() isn't the right
> operation for my needs, but I wonder if one works and the other
> doesn't.
>
> On Oct 22, 4:29 pm, Kriván Bálint  wrote:
> > Hi!
> >
> > This is works for me:
> > blip.getDocument().appendStyledText(
> > new StyledText("Some text in bold",
> > StyleType.BOLD));
> >
> > On okt. 22, 11:24, Srinivas Pinisetti 
> > wrote:
> >
> >
> >
> > > I am also having the same issue.
> >
> > > On Oct 22, 3:29 am, "Chris C."  wrote:
> >
> > > > I've got a robot running, and I was considering using StyledText as a
> > > > slightly more convenient means of boldfacing part of the output,
> since
> > > > I only need boldface and I wouldn't have to mess with start and end
> > > > points of an annotation. However, when using it, it seems to have no
> > > > effect. Am I doing it wrong, or does it not work?
> >
> > > > Here's the command I'm issuing: adjInsert is the 'adjusted insertion'
> > > > point for the new text (since the robot replaces multiple elements in
> > > > a single blip, I have to adjust for what's already been replaced),
> and
> > > > 'rep' is the robot's reply (the string being formatted with the
> > > > style):
> >
> > > > txt.insertStyledText(adjInsert, new StyledText(rep,StyleType.BOLD));
> >
> > > > I've also tried:
> >
> > > > StyledText styledRep = new StyledText(rep, StyleType.BOLD);
> >
> > > > and then using insertStyledText() to insert that StyledText object,
> > > > but neither seems to have an effect on the output. Thoughts? Did I
> > > > break it?
> >
> > > > Thanks,
> > > > Chris
> >
>

--~--~-~--~~~---~--~~
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: Wavelet.getRootBlip() -- Do I understand something wrong?

2009-10-22 Thread Austin Chau (Google employee)
Hi,
To get the root blip id in your scenario -

wave.appendBlip().getDocument().append(wavelet.getRootBlipId());

This would work because it does not require "context" of a grandparent blip.
 The reason that you are getting exception is because the context associated
with an event callback only goes back its immediate parent.  So in your case
if the triggering event is resulted from a grandchild blip away from root,
it will no longer has context to recreate the root blip when you invoked
wavelet.getRootBlip() - thus you will get a null reference.

Hope it helps,
Austin

2009/10/22 Bálint Kriván 

> Reply to myself and others: I think this is related to
> http://code.google.com/p/google-wave-resources/issues/detail?id=200 .
>
> 2009/10/22 Bálint Kriván 
>
> Hi!
>> I have this little chunk of code:
>>
>>  public void debug(RobotMessageBundle bundle, String msg)
>>
>>  {
>>
>>  List list = new ArrayList();
>>
>>  list.add("");
>>
>>  Wavelet wave = bundle.createWavelet(list);
>>
>>   wave.appendBlip().getDocument().append(msg);
>>
>>  }
>>
>>   @Override
>>
>>  public void processEvents(RobotMessageBundle robotMessageBundle) {
>>
>>  Wavelet wavelet = robotMessageBundle.getWavelet();
>>
>>  for (Event event : robotMessageBundle.getEvents()) {
>>
>>  Blip currentBlip = event.getBlip();
>>
>>  switch (event.getType()) {
>>
>>  case BLIP_SUBMITTED:
>>
>>  debug(robotMessageBundle,
>>> String.valueOf(wavelet.getRootBlip().getBlipId())); // line 46!
>>
>>  }
>>
>>  }
>>
>>  }
>>
>>
>> So when I add a blip to the wavelet where the robot is, it should open a
>> new wave with me and send the id of the root blip (The top blip in the
>> wavelet).
>> But if this blip isn't right after the root blip (so the very first Reply
>> button) then I've got a NullPointerException:
>>
>> java.lang.NullPointerException
>>
>>   at com.google.wave.api.impl.BlipImpl.getBlipId(BlipImpl.java:56)
>>
>>   at robot.MainServlet.processEvents(MainServlet.java:46)
>>
>>   at
>>> com.google.wave.api.AbstractRobotServlet.doPost(AbstractRobotServlet.java:89)
>>
>>   [...]
>>
>>
>> What is the recommended way to access the very first blip (which is I
>> guess the RootBlip)?
>>
>> Thanks for your help!
>>
>> --
>> Üdv,
>> Kriván Bálint
>>
>
>
>
> --
> Üdv,
> Kriván Bálint
>
> >
>

--~--~-~--~~~---~--~~
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: I'm sure this has been asked before but... Where is the Server Code?

2009-10-21 Thread Austin Chau (Google employee)
The Wave server code hasn't been released yet and it's still an ongoing
process.  You should jump into the wave protocol group to catch the latest
stuff relating to Wave protocol and federation.
http://groups.google.com/group/wave-protocol


On Wed, Oct 21, 2009 at 7:06 AM, Penthos  wrote:
>
>
> Please pardon my ignorance but I've done several searches in this
> forum and have been unable to find what I am looking for.
>
> I thought Wave Server code was available to Sandbox account holders to
> set up test servers for experimentation. Am I mistaken? If not, could
> someone please post the link? (I'm NOT talking about the basic Fedone
> example that only allows for console command line clients found here:
> http://code.google.com/p/wave-protocol/downloads/list).
>
> Thanks in advance!
>
> >
>

--~--~-~--~~~---~--~~
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: Outgoing HTTP connections within a appengine-hosted Wave bot

2009-10-20 Thread Austin Chau (Google employee)
The requirement is specific to the platform.  So yes, Python client library
has it own specific way to do fetch.  You would use the fetch() method provided
by the google.appengine.api.urlfetch package.

On Tue, Oct 20, 2009 at 11:28 AM, Nicolas Perriault wrote:

>
> On Tue, Oct 20, 2009 at 7:48 PM, Austin Chau (Google employee)
>  wrote:
>
> > Since robots is hosted within Google Appengine(GAE) and GAE only allows
> > external HTTP connection be made with java.net.URLConnection, other
> > mechanism might not be enabled.
>
> Okay thanks for the tip. Do you know if the Python library has the
> same kind of restriction?
>
> ++
>
> --
> Nicolas Perriault
> http://prendreuncafe.com - http://symfonians.net
> Mobile: +33 660 92 08 67
>
> >
>

--~--~-~--~~~---~--~~
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: Outgoing HTTP connections within a appengine-hosted Wave bot

2009-10-20 Thread Austin Chau (Google employee)
Hi,
Since robots is hosted within Google Appengine(GAE) and GAE only allows
external HTTP connection be made with java.net.URLConnection, other
mechanism might not be enabled.  You may want to find out if the client
library you are using is using something other than URLConnection, in that
case you would need to write your own fetch mechanism.  An example of how to
fetch content over HTTP can be found in this link.  You can check out the
fetchUrl()method -

http://google-wave-resources.googlecode.com/svn/trunk/samples/extensions/robots/java/stocky/src/robot/Util.java


On Tue, Oct 20, 2009 at 10:25 AM, Nicolas Perriault wrote:

>
> Hi,
>
> I'm trying to create a bot using the Wave API for Java, and it looks
> that I'm currently unable to send any outgoing HTTP connections from
> my servlet's code.
>
> Is there any known limitation? Hint: I'm trying to connect to the
> twitter API using the twitter4j library, and my appspot logs are just
> saying that the request max execution time has exceeded (whereas the
> twitter service is available at the same moment).
>
> Any help much appreciated.
>
> ++
>
> --
> Nicolas Perriault
> http://prendreuncafe.com - http://symfonians.net
> Mobile: +33 660 92 08 67
>
> >
>

--~--~-~--~~~---~--~~
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: Not possible to delete image element?

2009-10-16 Thread Austin Chau (Google employee)
Issue is filed here -
http://code.google.com/p/google-wave-resources/issues/detail?id=308

<http://code.google.com/p/google-wave-resources/issues/detail?id=308>Austin

On Fri, Oct 16, 2009 at 1:31 PM, Austin Chau (Google employee) <
api.aus...@google.com> wrote:

> Hi Lincoln,
> I wrote a quick sample and I think there might be a bug with deleting image
> element.  I will file an bug for this.  Thanks for the report :)
>
> Austin
>
>
> On Fri, Oct 16, 2009 at 1:00 PM, Linc  wrote:
>
>>
>> Ok...
>> This could happen, true.
>> But in my case the first elemet it finds is the last inserted Button.
>> The element before is the Image I want to delete.
>> So deleting the button wouldn't change the absolute position of the
>> image, right?
>>
>> But anyways, if I make a check if the element is an image before
>> deleting it, it doesn't work too.
>> (And there are only two elements in the Blip: the image and the
>> button)
>>
>> You proposed to use delete(), but doesn't that also delete the Text?
>> Not really my intention.
>> Although I could save the text before using and restore it,
>> but that would probably cause problems when I want to reinsert things
>> at the former position(s) of the images.
>>
>> I appreciate your help,
>> Lincoln
>> >>
>>
>

--~--~-~--~~~---~--~~
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: Not possible to delete image element?

2009-10-16 Thread Austin Chau (Google employee)
Hi Lincoln,
I wrote a quick sample and I think there might be a bug with deleting image
element.  I will file an bug for this.  Thanks for the report :)

Austin

On Fri, Oct 16, 2009 at 1:00 PM, Linc  wrote:

>
> Ok...
> This could happen, true.
> But in my case the first elemet it finds is the last inserted Button.
> The element before is the Image I want to delete.
> So deleting the button wouldn't change the absolute position of the
> image, right?
>
> But anyways, if I make a check if the element is an image before
> deleting it, it doesn't work too.
> (And there are only two elements in the Blip: the image and the
> button)
>
> You proposed to use delete(), but doesn't that also delete the Text?
> Not really my intention.
> Although I could save the text before using and restore it,
> but that would probably cause problems when I want to reinsert things
> at the former position(s) of the images.
>
> I appreciate your help,
> Lincoln
> >
>

--~--~-~--~~~---~--~~
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: Not possible to delete image element?

2009-10-16 Thread Austin Chau (Google employee)
Hi,
I believe the problem is that you are trying to delete element using
absolute index position.  The moment you delete the first element in your
loop, the absolute positions for the other elements have changed as a
result.  This is why the subsequent deletion would fail.  If you want to
delete all the elements of a blip, you can use the delete() method from
TextView.

Hope it helps,
Austin

On Fri, Oct 16, 2009 at 10:33 AM, Linc  wrote:

>
> I noticed that somehow the loop seems to stops at the point where it
> should delete the Image Element:
>
> else if ( e.getType() == EventType.FORM_BUTTON_CLICKED) {
>   if (e.getButtonName().equals("button")) {
>  Blip b = e.getBlip();
>  TextView textView = b.getDocument();
>
>   List elems = textView.getElements();
>   textView.append("Number of Elements:
> "+elems.size()+"\n");
>   for ( int i=0; i   textView.append(i+" : ");
>   int pos = textView.getPosition(elems.get(i));
>  textView.deleteElement(pos);
>  textView.append("Element of Type " +
> elems.get(i).getType
> () + " deleted.\n");
>  }
>  textView.append("\nDone");
>  }
>
> Output is:
>
> Number of Elements: 2
>
> 0 : Element of Type BUTTON deleted.
> 1 :
>
> Hope somebody knows what's wrong...I would really need that feature
> for my project.
> >
>

--~--~-~--~~~---~--~~
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: Trouble uploading Gadget's xml

2009-10-15 Thread Austin Chau (Google employee)
I didn't see any problem when I added your gadget spec.
Austin

On Thu, Oct 15, 2009 at 8:05 AM, bxgirten  wrote:

>
> I point to a perfectly valid URI
>
> http://demo.biogadgets.net/exist/gwave/wavegadget.xml
>
> but after clicking the Add XML button, the dialog disappears and
> nothing happens.
>
> >
>

--~--~-~--~~~---~--~~
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: Cursor Position

2009-10-11 Thread Austin Chau (Google employee)
The annotateSelection action in the menuHook of extension installer would
only trigger if something is highlighted on the wave client.  And this is
currently the only way to obtain the user cursor position.  So whatever text
that is highlighted by the user just before the extension installer is hit,
an annotation of your specific naming will surround those text when your
robot receives the event.
Austin

On Sat, Oct 10, 2009 at 9:40 PM, Spencer Chastain wrote:

>
>
> I'm trying to determine the cursor position.  I've seen some posts
> here that say I need to be looking at Annotations.  I've set up my
> code to dump all annotations, and I have none (except for when I
> highlight code - and then the Annotation name is different from what
> I've seen reported elsewhere)
>
> The cursor isn't represented as an Element or a Style ... so ... any
> help how I determine the cursor location?  I'm subscribed to the
> DOCUMENT_CHANGED event ... is there another event I need to be
> subscribed to?
>
> Thanks,
>
> --Spencer
>
>
> >
>

--~--~-~--~~~---~--~~
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: Gadgets and AuthSub requests.

2009-10-08 Thread Austin Chau (Google employee)
Hi,
This page might be helpful, it contains details on how to invoke AuthSub
wihtin opensocial container (Wave gadget is running on opensocial container)
-

http://wiki.opensocial.org/index.php?title=Leveraging_Google_Data_APIs_in_OpenSocial_Apps


Austin

On Thu, Oct 8, 2009 at 1:41 PM, simonporter007 wrote:

>
> Hi guys,
>
> I've just started tinkering around with the wave API and wave itself
> and am trying to throw myself into the deep end to learn what's
> possible with the gadget API.
>
> At the moment I have the basic idea of mashing the poll-like gadget
> with a google calendar invite, so that people can click yes/maybe and
> have it added direct to their google calendar accounts. I have been
> messing with the APi's today and am able to login via authsub -
> http://code.google.com/apis/accounts/docs/AuthSub.html#AuthSubRequest
> and query my calendars, add events.
>
> That bit is fine... I'm stuck on trying to use AuthSub inside a blip.
> The authorization request goes off and the page that requests access
> is the one long blip URL which gets automatically passed into the next
> parameter in order to go back to the previous page once the user
> clicks grant access or deny access.
>
> This then takes me back to a page that displays my gadget only. I can
> type wave.google.com back into the address bar and navigate to my wave
> again and have access, but that's obviously not a solution.
>
> Just wondered if anyone had any idea's or whether they had managed to
> solve this problem themselves. As I understand it, the next parameter
> is controlled by the client so I didn't think I could change that and
> even if I could, I couldn't see how to get the current wave url
> without being a robot.
>
> Cheers,
>
> Simon.
>
> >
>

--~--~-~--~~~---~--~~
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: Trouble getting String from a form.

2009-10-08 Thread Austin Chau (Google employee)
It looks fine.  You can make sure it is the right button that is triggering
the event by -
 if (e.getButtonName().equals(BUTTON_NAME)) {
FormView formView = currentBlip.getDocument().getFormView();
FormElement element = formView.getFormElement("input");
wavelet.appendBlip().getDocument().append(element.getValue());
  }

On Thu, Oct 8, 2009 at 1:17 AM, r.pesquera  wrote:

>
> Here is part of my code which has a form with a send button. The code
> as is does not work. When i press the submit button nothing happens,
> no new blip is created. But, If I comment out the "FormView form =
> blip.getDocument().getFormView();" the bot returns a new blip when the
> send button is pressed, but the new blip come out empty. It is
> supposed to return the same string entered in the text box. I would
> appreciate any help.. Thanks.
>
>
>if (bundle.wasSelfAdded()){
>Blip blip = wavelet.appendBlip();
>TextView textView = blip.getDocument();
>textView.appendMarkup("ENTER COMMAND:");
>form = textView.getFormView();
>form.append(new FormElement(ElementType.INPUT,
> TEXTFIELD));
>form.append(new FormElement(ElementType.BUTTON,
> "submit",
> "Enter"));
>}
>
>
>for (Event e: bundle.getEvents()){
>if (e.getType() == EventType.FORM_BUTTON_CLICKED){
>Blip blip = e.getBlip();
>FormView form =
> blip.getDocument().getFormView();
>String urlElement =
> form.getFormElement(TEXTFIELD).getValue();
>Blip blip1 = wavelet.appendBlip();
>TextView textView = blip1.getDocument();
>textView.append(urlElement);
>
>
>
>}
>
>}
>
> >
>

--~--~-~--~~~---~--~~
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: Plans to expand the API?

2009-10-08 Thread Austin Chau (Google employee)
I think you are talking about running your own federated instance of Wave.
 You should check out -

http://www.waveprotocol.org/

And the wave protocol discussion group -

http://groups.google.com/group/wave-protocol

Austin

On Thu, Oct 8, 2009 at 10:28 AM, Rich Manalang wrote:

>
> Are there any plans to expand the Wave API beyond robots, extensions,
> and wave embeds?  I'm interested in an API that will allow me to build
> a simplified Wave client (web/AIR/native).
>
> Thanks!
>
> Rich
> >
>

--~--~-~--~~~---~--~~
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: How to append text following an annotation?

2009-10-08 Thread Austin Chau (Google employee)
You can insert a space after the anchor text and only annotate the anchor
text just before the trailing.  Quick sample code -
  private void addAnchorLink(Blip blip, int startIndex, String url, String
anchorText) {
anchorText += " ";
TextView textView = blip.getDocument();
textView.insert(startIndex, anchorText);
textView.setAnnotation(new Range(startIndex, startIndex +
anchorText.length() - 1),
"link/manual", url);
  }

On Thu, Oct 8, 2009 at 1:24 PM, F. Andy Seidl
wrote:

>
> Thanks, I'll try appending a single newline, removing all annotations
> from that character, and then appending the rest of the text.
>
> On Oct 8, 2:00 pm, Tad Glines  wrote:
> > I think the wave OT will automatically expand annotations that extend
> > to the end of the blip/document. You will probably have to manually
> > un-expand any annotations that extend to the end of the text.
> >
> > On Thu, Oct 8, 2009 at 5:35 AM, F. Andy Seidl
> >
> >
> >
> >  wrote:
> >
> > > I'm having difficutlty appending text following an annotation.  The
> > > issue is that the existing annotation that extends to the end of the
> > > TextView is automatically expanding to include the newly appended
> > > text.  I've experimented with a number of methods for appending text,
> > > but they all seem to produce the same outcome.
> >
> > > Is there a trick I'm overlooking?
> >
> > > Thanks,
> > >  -- fas- Hide quoted text -
> >
> > - Show quoted text -
> >
>

--~--~-~--~~~---~--~~
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: Adding a HTML Anchor to a Wave via the Robot Protocol.

2009-10-08 Thread Austin Chau (Google employee)
You can try to add a trailing space at the end of the anchor text and
annotate the text just before the trailing space.  This should prevent the
autolinking to continue on.
Austin

On Wed, Oct 7, 2009 at 11:43 PM, masouras  wrote:

>
> I can inject a link to the blip using SetAnnotation() but then the
> WYSIWIG editor keeps the link going for any text that is typed after
> the link. DeleteAnnotations() won't work since the blip text ends
> right at the end of the link. Is there a way to signify the end of the
> link to the editor so it won't keep including subsequent text within
> the link?
>
> >
>

--~--~-~--~~~---~--~~
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: Broken application environment (Python)

2009-10-07 Thread Austin Chau (Google employee)
Hey Daniel,
Can you send me your app id and any request logging info you have in GAE
that might help? you can email this info to me api.aus...@google.com

Thanks,
Austin

On Wed, Oct 7, 2009 at 2:47 PM, Daniel Faust  wrote:

>
> Not even the most basic stuff works:
>
>  main.py 
> #!/usr/bin/python2.5
>
> import logging
> logging.info('base')
>
> from waveapi import events
> from waveapi import model
> from waveapi import document
> from waveapi import robot
>
> def OnBlipSubmitted(properties, context):
>  logging.info('OnBlipSubmitted')
>
> if __name__ == '__main__':
>  logging.info('__main__')
>  _robot = robot.Robot('MyBot, '1', image_url='http://wave-
> mybot.appspot.com/public/image.png', profile_url='http://wave-
> mybot.appspot.com/public/profile.htm')
>  _robot.RegisterHandler('BLIP_SUBMITTED', OnBlipSubmitted)
>  _robot.Run(debug=True)
> 
>
> A thing to note is that logging.info('__main__') never logs to the
> log, neither is logging.info('base').
>
> But, "http://wave-mybot.appspot.com/public/image.png"; and "http://wave-
> mybot.appspot.com/public/profile.htm" are being hosted correctly (they
> are viewable in a browser), which means that robot.Robot('...') is
> effectively being executed.
>
> OnBlipSubmitted is apparently never executed.
>
> When I comment out "from waveapi import robot" I do get a traceback
> when robot.Robot('') is being called, but none of the logging messages
> are actually logged.
>
> Who can I contact to deal with this issue?
>
> --
> Daniel
>
> >
>

--~--~-~--~~~---~--~~
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: Adding a HTML Anchor to a Wave via the Robot Protocol.

2009-10-07 Thread Austin Chau (Google employee)
Thanks Greg, that would also work nicely without having to deal with
annotation :)
Austin

On Wed, Oct 7, 2009 at 1:58 PM, GH  wrote:

>
> I just came across something in the Java API that I thought might be
> useful in your situation.  It seems like the following may be a
> slightly more elegant solution:
>
> blip.getDocument().appendMarkup("http://www.google.com\";>To
> Google ");
>
> I haven't used appendMarkup() before, so I am making an educated
> guess.
>
> On Oct 7, 2:42 pm, "Austin Chau (Google employee)"
>  wrote:
> > Glad to help :)
> > Can you file a feature request to my documentation to include list of
> native
> > annotation names?
> >
> > http://code.google.com/p/google-wave-resources/issues/list
> >
> > Thanks,
> > Austin
> >
> > On Wed, Oct 7, 2009 at 11:58 AM, EntropyFails  >wrote:
> >
> >
> >
> >
> >
> > > Absolutely perfect. Thank you so much!
> >
> > > Here is the documentation for setAnnotation in TextView. I believe
> > > that is insufficient for me to have discovered this on my own. Is
> > > there a list of acceptable annotations anywhere? Can we get proper
> > > links to these in the documentation?
> >
> > > void setAnnotation(Range range,
> > >   java.lang.String name,
> > >   java.lang.String value)
> > > Sets an annotation affecting the specified range of the document.
> > > Parameters:
> > > range - The range over the document affected by this operation.
> > > name - The name of the annotation.
> > > value - The value of the annotation.
> >
> > > Thanks again for your help!
> >
> > > ---
> > > Entropyfails
> >
> > > On Oct 7, 12:25 am, "Austin Chau (Google employee)"
> > >  wrote:
> > > > Hi,
> > > > If you just append the straight URL, Wave will automatically linkify
> into
> > > an
> > > > anchor link with the URL as its anchor text.  But it seems like you
> would
> > > > like to have customized anchor text, you would need annotation to do
> > > that.
> > > >  The annotation name for anchor link is "link/manual", this is an
> example
> > > > how this is done -
> >
> > > >   TextView textView = yourBlip.getDocument();
> > > >   String content = textView.getText();
> > > >   String anchorText = "click here";
> > > >   textView.insert(content.length(), anchorText);
> >
> > > >   int start = content.length();
> > > >   int end = start + anchorText.length();
> >
> > > >   textView.setAnnotation(new Range(start, end),
> "link/manual", "
> > >http://www.google.com";);
> >
> > > > This snippet above would add an anchor text at the end of a blip and
> > > > annotate it with the URLhttp://www.google.com.
> >
> > > > Austin
> >
> > > > On Tue, Oct 6, 2009 at 2:47 PM, EntropyFails  >
> > > wrote:
> >
> > > > > Hello,
> >
> > > > > I've been playing around a bit with wave bots on the app engine
> > > > > architecture and I was wondering if anyone knows how to add a
> direct
> > > > > anchor link without using a wavelet?
> >
> > > > > For example, if I have a blip named "blip", obviously doing
> something
> > > > > like
> >
> > > > > blip.getDocument().append("http://www.google.com\";> To
> > > > > Google ");
> >
> > > > > will not work as that will only insert the escaped text of the
> anchor
> > > > > instead of the anchor itself.
> >
> > > > > Now I would assume that I would use something like
> >
> > > > > blip.getDocument().appendElement(?)
> >
> > > > > but there is no element type for anchors defined at
> >
> > > > >
> http://wave-robot-java-client.googlecode.com/svn/trunk/doc/com/google.
> > > ..
> >
> > > > > This seems strange to me as the native widget bar has an anchor
> > > > > element in it. (Also, the documentation for ElementType is
> terrible.)
> >
> > > > > Hopefully I'm missing something obvious.
> >
> > > > > Thanks for any help you can give.
> >
> > > > > --
> > > > > Entropyfails
> >
>

--~--~-~--~~~---~--~~
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: Adding a HTML Anchor to a Wave via the Robot Protocol.

2009-10-07 Thread Austin Chau (Google employee)
Glad to help :)
Can you file a feature request to my documentation to include list of native
annotation names?

http://code.google.com/p/google-wave-resources/issues/list

Thanks,
Austin

On Wed, Oct 7, 2009 at 11:58 AM, EntropyFails wrote:

>
> Absolutely perfect. Thank you so much!
>
> Here is the documentation for setAnnotation in TextView. I believe
> that is insufficient for me to have discovered this on my own. Is
> there a list of acceptable annotations anywhere? Can we get proper
> links to these in the documentation?
>
> void setAnnotation(Range range,
>   java.lang.String name,
>   java.lang.String value)
> Sets an annotation affecting the specified range of the document.
> Parameters:
> range - The range over the document affected by this operation.
> name - The name of the annotation.
> value - The value of the annotation.
>
> Thanks again for your help!
>
> ---
> Entropyfails
>
> On Oct 7, 12:25 am, "Austin Chau (Google employee)"
>  wrote:
> > Hi,
> > If you just append the straight URL, Wave will automatically linkify into
> an
> > anchor link with the URL as its anchor text.  But it seems like you would
> > like to have customized anchor text, you would need annotation to do
> that.
> >  The annotation name for anchor link is "link/manual", this is an example
> > how this is done -
> >
> >   TextView textView = yourBlip.getDocument();
> >   String content = textView.getText();
> >   String anchorText = "click here";
> >   textView.insert(content.length(), anchorText);
> >
> >   int start = content.length();
> >   int end = start + anchorText.length();
> >
> >   textView.setAnnotation(new Range(start, end), "link/manual", "
> http://www.google.com";);
> >
> > This snippet above would add an anchor text at the end of a blip and
> > annotate it with the URLhttp://www.google.com.
> >
> > Austin
> >
> >
> >
> > On Tue, Oct 6, 2009 at 2:47 PM, EntropyFails 
> wrote:
> >
> > > Hello,
> >
> > > I've been playing around a bit with wave bots on the app engine
> > > architecture and I was wondering if anyone knows how to add a direct
> > > anchor link without using a wavelet?
> >
> > > For example, if I have a blip named "blip", obviously doing something
> > > like
> >
> > > blip.getDocument().append("http://www.google.com\";> To
> > > Google ");
> >
> > > will not work as that will only insert the escaped text of the anchor
> > > instead of the anchor itself.
> >
> > > Now I would assume that I would use something like
> >
> > > blip.getDocument().appendElement(?)
> >
> > > but there is no element type for anchors defined at
> >
> > >http://wave-robot-java-client.googlecode.com/svn/trunk/doc/com/google.
> ..
> >
> > > This seems strange to me as the native widget bar has an anchor
> > > element in it. (Also, the documentation for ElementType is terrible.)
> >
> > > Hopefully I'm missing something obvious.
> >
> > > Thanks for any help you can give.
> >
> > > --
> > > Entropyfails
>
> >
>

--~--~-~--~~~---~--~~
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: Included OAuth code causing "The class not persistable" error

2009-10-07 Thread Austin Chau (Google employee)
Hi Eric and Nicolas,
If you are guys are using Eclipse with GAE plugin, try running the
"project->clean" which will force rebuilding the entire project includeing
the enhance target.

Austin

On Wed, Oct 7, 2009 at 7:04 AM, Nicolas  wrote:

>
> I am having the exact same problem...
>
> I just tried to adapt Tweety's code so I really have no clue as why it
> doesn't work, anyone ?
>
> On Oct 3, 6:58 am, Eric  wrote:
> > I'm trying to use theOAuthcode included in the API .jar file,
> > however I get
> >
> >   The class "com.google.wave.api.oauth.impl.OAuthUser" is not
> > persistable. This means that it either hasnt been enhanced, or that
> > the enhanced version of the file is not in the CLASSPATH (or is hidden
> > by an unenhanced version), or the Meta-Data/annotations for the class
> > are not found.
> > org.datanucleus.exceptions.ClassNotPersistableException: The class
> > "com.google.wave.api.oauth.impl.OAuthUser" is not persistable. This
> > means that it either hasnt been enhanced, or that the enhanced version
> > of the file is not in the CLASSPATH (or is hidden by an unenhanced
> > version), or the Meta-Data/annotations for the class are not found.
> >
> > When trying to use it. I'm fairly new to appengine development, is
> > there something more complicated I need to be doing other than adding
> > the jar to the build path? I've looked around on Google, and I can't
> > find anyone with the same issue.
> >
>

--~--~-~--~~~---~--~~
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: Adding a HTML Anchor to a Wave via the Robot Protocol.

2009-10-06 Thread Austin Chau (Google employee)
Hi,
If you just append the straight URL, Wave will automatically linkify into an
anchor link with the URL as its anchor text.  But it seems like you would
like to have customized anchor text, you would need annotation to do that.
 The annotation name for anchor link is "link/manual", this is an example
how this is done -

  TextView textView = yourBlip.getDocument();
  String content = textView.getText();
  String anchorText = "click here";
  textView.insert(content.length(), anchorText);

  int start = content.length();
  int end = start + anchorText.length();

  textView.setAnnotation(new Range(start, end), "link/manual", "
http://www.google.com";);

This snippet above would add an anchor text at the end of a blip and
annotate it with the URL http://www.google.com.

Austin


On Tue, Oct 6, 2009 at 2:47 PM, EntropyFails  wrote:

>
> Hello,
>
> I've been playing around a bit with wave bots on the app engine
> architecture and I was wondering if anyone knows how to add a direct
> anchor link without using a wavelet?
>
> For example, if I have a blip named "blip", obviously doing something
> like
>
> blip.getDocument().append("http://www.google.com\";> To
> Google ");
>
> will not work as that will only insert the escaped text of the anchor
> instead of the anchor itself.
>
> Now I would assume that I would use something like
>
> blip.getDocument().appendElement(?)
>
> but there is no element type for anchors defined at
>
>
> http://wave-robot-java-client.googlecode.com/svn/trunk/doc/com/google/wave/api/ElementType.html
>
> This seems strange to me as the native widget bar has an anchor
> element in it. (Also, the documentation for ElementType is terrible.)
>
> Hopefully I'm missing something obvious.
>
> Thanks for any help you can give.
>
> --
> Entropyfails
>
> >
>

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