Is there a way to Embed the new google waves preview using the embed API?

0 views
Skip to first unread message

Antonio

unread,
Oct 1, 2009, 2:18:15 AM10/1/09
to Google Wave API
I'm trying the embed a wave from the preview account ... instead of my
old sandbox account...

is this possible?

is there a way to establish the new id in the current javascript embed
file?? (http://wave-api.appspot.com/public/embed.js)

it would be like this? : googlewave.com!w%252dfTDFgPCXyF

Brian Kennish (Googler)

unread,
Oct 1, 2009, 3:21:12 AM10/1/09
to google-...@googlegroups.com
On Wed, Sep 30, 2009 at 11:18 PM, Antonio <tza...@gmail.com> wrote:
> I'm trying the embed a wave from the preview account ... instead of my
> old sandbox account...
>
> is this possible?

Hey Antonio, good question. :-)

> is there a way to establish the new id in the current javascript embed
> file??  (http://wave-api.appspot.com/public/embed.js)
>
> it would be like this? : googlewave.com!w%252dfTDFgPCXyF

Try adding emb...@appspot.com to the wave (it'll also generate embed
code for you, but that code shouldn't work because Embeddy only knows
about wavesandbox).

Tell us how it goes after you get the ID.

ndee

unread,
Oct 1, 2009, 6:50:46 AM10/1/09
to Google Wave API, Brian Kennish (Googler)
Thanks for the hint.

On Oct 1, 9:21 am, "Brian Kennish (Googler)" <byo...@google.com>
wrote:

Graham Anderson

unread,
Oct 1, 2009, 3:25:41 AM10/1/09
to google-...@googlegroups.com

On Thursday 01 October 2009 08:18:15 Antonio wrote:

>I'm trying the embed a wave from the preview account ... instead of my

>old sandbox account...

>

>is this possible?

>

>is there a way to establish the new id in the current javascript embed

>file?? (http://wave-api.appspot.com/public/embed.js)

>

This should load the current wave that's talking about wave ID's

<script

  type="text/javascript"
  src="http://wave-api.appspot.com/public/embed.js">
</script>
<script type="text/javascript">
  var wave =
    new WavePanel('https://wave.google.com/wave/');
  wave.setUIConfig('white', 'black', 'Arial', '13px');
  wave.loadWave('googlewave.com!w+IMxBQWCOJ');
  wave.init(document.getElementById('wave'));
</script>

<div id="wave" style="width: 560px; height: 420px"></div>

--

“Experience is the name everyone gives to their mistakes.”

☘ Oscar Wilde

bbeckford

unread,
Oct 1, 2009, 7:06:06 AM10/1/09
to Google Wave API
I'd be interested to know if you can get this working :)

On Oct 1, 11:50 am, ndee <andy.ta...@gmail.com> wrote:
> Thanks for the hint.
>
> On Oct 1, 9:21 am, "Brian Kennish (Googler)" <byoo...@google.com>
> wrote:
>
>
>
> > On Wed, Sep 30, 2009 at 11:18 PM, Antonio <tzam...@gmail.com> wrote:
> > > I'm trying the embed a wave from the preview account ... instead of my
> > > old sandbox account...
>
> > > is this possible?
>
> > Hey Antonio, good question. :-)
>
> > > is there a way to establish the new id in the current javascript embed
> > > file??  (http://wave-api.appspot.com/public/embed.js)
>
> > > it would be like this? : googlewave.com!w%252dfTDFgPCXyF
>
> > Try adding embe...@appspot.com to the wave (it'll also generate embed

Antonio Zamora

unread,
Oct 1, 2009, 10:32:54 AM10/1/09
to google-...@googlegroups.com
well... I was unsuccesfull to place emb...@appspot.com placed correctly the new wave preview Id 

as you can see in the generated code ...

<script
  type="text/javascript"
  src="http://wave-api.appspot.com/public/embed.js
">
</script>
<script type="text/javascript">
  var wave =
    new WavePanel('https://wave.google.com/a/wavesandbox.com/');
  wave.setUIConfig('white', 'black', 'Arial', '13px');
  wave.loadWave('googlewave.com!w+MCbDexuyX');
  wave.init(document.getElementById('wave'));
</script>

but it stills refers to the wavesandbox .... ok ok ... I know I can change the url so instead of 


be
But it stills doesn't work ... :S

My last resort is to try to modify the http://wave-api.appspot.com/public/embed.js

but i'm not that expert in the wave api ... maybe, even if I coud understand it very well, the api would not allows us to make this 

embed waves because the preview is not allowed to .... just look how now we are unable to communicate waves between sand box 

and the google wave preview 

... Can some one confirms my hipotesis?

Graham Anderson

unread,
Oct 1, 2009, 5:16:37 PM10/1/09
to google-...@googlegroups.com
On Thursday 01 October 2009 16:32:54 Antonio Zamora wrote:
>well... I was unsuccesfull to place emb...@appspot.com placed correctly the
>new wave preview Id
>as you can see in the generated code ...

until the embeddy sample gadget getś updated, you can find out the current ID
of your wave and see some sample code (Embeddy clone) to embed it in a
blog/page. Add the robot blog...@appspot.com to your wave. Delete the blips
after you have finished with the info.

I've disabled it's main functionality for now, all it will do as a convenience
is report wave ID and sample code for embedding.

Antonio Zamora

unread,
Oct 1, 2009, 5:48:43 PM10/1/09
to google-...@googlegroups.com
GREAT!!    It Works!!!

Thanks Graham ... I used your bot to modify the wordpress plugin wavr of lucascaro

to embed a wave in a blog .... is really really easy and too simple

I created a simple demo blog with the new  wave!! you can see it here!!

http://cafetechno.com/   you can see it at the end of the post ...

cool  ... 

Again Thanks Graham!!

Jlcarroll

unread,
Oct 1, 2009, 6:24:51 PM10/1/09
to Google Wave API
Following these instructions, and the robot provided I generated the
following test code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-
microsoft-com:vml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/
>
<title>Google Wave Embed API Example: Simple Wave</title> </head>

<body onload="initialize()">

before
<div id="wave" style="width: 560px; height: 420px"></div>
after
<script
type="text/javascript"
src="http://wave-api.appspot.com/public/embed.js">
</script>
<script type="text/javascript">
var wave =
new WavePanel('https://wave.google.com/wave/');
wave.setUIConfig('white', 'black', 'Arial', '13px');
wave.loadWave('googlewave.com!w+QXjoHNhAA');
wave.init(document.getElementById('wave'));
</script>

</body>
</html>

which unfortunately seems to load a blank page between the before and
the after... any idea why it is blank? I am good and confused.

Thanks!

James

On Oct 1, 3:48 pm, Antonio Zamora <tzam...@gmail.com> wrote:
> GREAT!!    It Works!!!
> Thanks Graham ... I used your bot to modify the wordpress plugin wavr of
> lucascaro <http://sourceforge.net/users/lucascaro>

Antonio Zamora

unread,
Oct 1, 2009, 7:24:54 PM10/1/09
to google-...@googlegroups.com
hmmmm .... your code doesn't work for me neither .... 

the only differences between your code and mine ... are these:

<script
 type="text/javascript"
 src="http://wave-api.appspot.com/public/embed.js">
</script>
<script type="text/javascript">
 var wave =
   new WavePanel('https://wave.google.com/wave/');              ////// Remove the 's' ... use the unsecure protocol
 wave.setUIConfig('white', 'black', 'Arial', '13px');                     ///// Change all your quotes [ ' ]  for double quotes [ " ]
 wave.loadWave('googlewave.com!w+QXjoHNhAA');
 wave.init(document.getElementById('wave'));
</script>

And thats it ... maybe if you make those changes you can make the waves displayable .... I'm not really sure ... but give it a try ... 

Antonio


Brian Kennish (Googler)

unread,
Oct 1, 2009, 8:56:31 PM10/1/09
to google-...@googlegroups.com
On Thu, Oct 1, 2009 at 2:16 PM, Graham Anderson
<graham....@gmail.com> wrote:
> until the embeddy sample gadget getś updated, you can find out the current ID
> of your wave and see some sample code (Embeddy clone) to embed it in a
> blog/page. Add the robot blog...@appspot.com to your wave.

Neat! I patched Embeddy using your googlewave.com embed code. The root
URL is written dynamically now, so it *should* work everywhere. I
didn't have much time for testing, though. If you can give it a spin,
that would rock.

On Thu, Oct 1, 2009 at 2:48 PM, Antonio Zamora <tza...@gmail.com> wrote:
> GREAT!! It Works!!!

Good to hear. Nice job guys!

On Thu, Oct 1, 2009 at 3:24 PM, Jlcarroll <jlca...@gmail.com> wrote:
> Following these instructions, and the robot provided I generated the
> following test code:

Your code looks fine and successfully loads a wave for me when I plug
one I have access to in. What browser (specific version, please) are
you using?

Graham Anderson

unread,
Oct 2, 2009, 3:17:25 AM10/2/09
to google-...@googlegroups.com
On Friday 02 October 2009 02:56:31 Brian Kennish (Googler) wrote:
>Neat! I patched Embeddy using your googlewave.com embed code. The root
>URL is written dynamically now, so it should work everywhere. I

>didn't have much time for testing, though. If you can give it a spin,
>that would rock.
>

Not getting much output from Embeddy, tried adding as a bot
(emb...@appspot.com is correct?).

FYI, added to wave id FHdXCE54C

--

ndee

unread,
Oct 2, 2009, 5:22:31 PM10/2/09
to Google Wave API, Graham Anderson
Hi,

there is something screwed up with embeddy. I added embeddy in my
preview but it shows up as tweety BUT it is embeddy and generates the
iframe code :)
--- start contact info of embeddy/tweety ---
Tweety the Twitbot
Address: emb...@appspot.com
Website:
http://tweety-wave.appspot.com/about
--- end ---
Seems that there is a wrong config?

Greets

On 1 Okt., 23:16, Graham Anderson <graham....@gmail.com> wrote:
> On Thursday 01 October 2009 16:32:54 Antonio Zamora wrote:
>
> >well... I was unsuccesfull to place emb...@appspot.com placed correctly the
> >newwavepreview Id
> >as you can see in the generated code ...
>
> until the embeddy sample gadget getś updated, you can find out the current ID
> of yourwaveand see some sample code (Embeddy clone) to embed it in a
> blog/page. Add the robot blog...@appspot.com to yourwave. Delete the blips
> after you have finished with the info.
>
> I've disabled it's main functionality for now, all it will do as a convenience
> is reportwaveID and sample code for embedding.

Brian Kennish (Googler)

unread,
Oct 2, 2009, 6:09:48 PM10/2/09
to google-...@googlegroups.com, Graham Anderson
On Fri, Oct 2, 2009 at 2:22 PM, ndee <andy....@gmail.com> wrote:
> there is something screwed up with embeddy. I added embeddy in my
> preview but it shows up as tweety BUT it is embeddy and generates the
> iframe code :)

Wacky. :-P Rusty (the robot proxy) might have some bad data cached or
maybe the general profile problems people have been seeing are
affecting robots too because Tweety's profile info isn't anywhere in
Embeddy's code.

On Fri, Oct 2, 2009 at 12:17 AM, Graham Anderson
<graham....@gmail.com> wrote:
> Not getting much output from Embeddy, tried adding as a bot
> (emb...@appspot.com is correct?).

Seems alright now (besides the profile stuff) -- Rusty could've been
down when you added it before. I got a chance to do some more testing
today and I believe it's producing good embed code from googlewave,
wavesandbox, and other Wave domains.

MLH

unread,
Oct 3, 2009, 11:29:23 PM10/3/09
to Google Wave API
I'm also having trouble getting Waves to embed. When I added Embeddy,
it also showed up as Tweety for awhile, but now has no associated
avatar. I used the embed code, but I only get a blank page.

Do I need to add a public user to a Wave in order for it to appear on
my site?

-Michael


On Oct 2, 3:09 pm, "Brian Kennish (Googler)" <byoo...@google.com>
wrote:
> On Fri, Oct 2, 2009 at 2:22 PM, ndee <andy.ta...@gmail.com> wrote:
> > there is something screwed up with embeddy. I added embeddy in my
> > preview but it shows up as tweety BUT it is embeddy and generates the
> > iframe code :)
>
> Wacky. :-P Rusty (the robot proxy) might have some bad data cached or
> maybe the general profile problems people have been seeing are
> affecting robots too because Tweety's profile info isn't anywhere in
> Embeddy's code.
>
> On Fri, Oct 2, 2009 at 12:17 AM, Graham Anderson
>
> <graham.ander...@gmail.com> wrote:
> > Not getting much output from Embeddy, tried adding as a bot
> > (embe...@appspot.com is correct?).
>
> Seems alright now (besides the profile stuff) -- Rusty could've been
> down when you added it before. I got a chance to do some more testing
> today and I believe it's producing goodembedcode from googlewave,

MLH

unread,
Oct 3, 2009, 11:32:24 PM10/3/09
to Google Wave API
Forgot to mention:

I get the following JavaScript error:
"Uncaught TypeError: Cannot call method 'appendChild' of null"
at line 81 of embed.js.

-Michael

MLH

unread,
Oct 3, 2009, 11:36:35 PM10/3/09
to Google Wave API
My apologies for the multiple-messages, but I found the problem. It
was me, of course. :-) All is working; Waves are embedding; life is
good...

ndee

unread,
Oct 15, 2009, 6:18:44 PM10/15/09
to Google Wave API
Hi, is embeddy currently disabled or broken? A user reported that
adding embeddy did not work for him. I tried it myself in a new wave
and no embedding code was showing up. ?

On Oct 3, 12:09 am, "Brian Kennish (Googler)" <byoo...@google.com>
wrote:
> On Fri, Oct 2, 2009 at 2:22 PM, ndee <andy.ta...@gmail.com> wrote:
> > there is something screwed up with embeddy. I added embeddy in my
> > preview but it shows up as tweety BUT it is embeddy and generates the
> > iframe code :)
>
> Wacky. :-P Rusty (the robot proxy) might have some bad data cached or
> maybe the general profile problems people have been seeing are
> affecting robots too because Tweety's profile info isn't anywhere in
> Embeddy's code.
>
> On Fri, Oct 2, 2009 at 12:17 AM, Graham Anderson
>
> <graham.ander...@gmail.com> wrote:
> > Not getting much output from Embeddy, tried adding as a bot
> > (embe...@appspot.com is correct?).

Brian Kennish (Googler)

unread,
Oct 15, 2009, 6:35:32 PM10/15/09
to google-...@googlegroups.com
On Thu, Oct 15, 2009 at 3:18 PM, ndee <andy....@gmail.com> wrote:
> Hi, is embeddy currently disabled or broken? A user reported that
> adding embeddy did not work for him. I tried it myself in a new wave
> and no embedding code was showing up. ?

Hey, I just added it on wavesandbox and googlewave and it worked fine
(albeit was a little slow to appear on googlewave). Send me your
wavesandbox or googlewave (wherever you're having problems) username
and I'll start a wave with you to troubleshoot.

Reply all
Reply to author
Forward
0 new messages