On mySimon: Ugg Woments Cargo Iii
BNET Business Network:
BNET
TechRepublic
ZDNet

May 16th, 2006

Digging into Google Notebook javascript

Posted by Garett Rogers @ 9:47 pm

Categories: Google Speculation

Tags:

google_notebook.gifA product launch just isn’t the same without digging through some source code to see what goodies are hidden under the hood.  It seems like most new Google products have code hanging around that doesn’t seem to do anything (yet).

Google Notebook isn’t any different — there are several references to interesting things that I’m sure you will enjoy.  These should not be considered a guarantee of future functionality — but I would say they are a pretty good indication.

The first piece of code is quite obviously "experimental" since it explicitly says so.  This code definitely indicates they are at least testing "gadgets" in Notebook.  I’m not sure how gadgets will enhance the service, but I guess they have determined it would be useful at some level.  By the look of it, you will be able to use Google created gadgets along with third party ones from the IGoogle directory.

ne_s.prototype.yJ=function(){
  this.xm("Add a Gadget [Experimental]");
  this.Tt("Add Gadget >>");

  this.zB()
}

ne_s.prototype.lJ=function(){
  this.Tt("OK");
  if(this.Wh){
    this.xm("Setup Gadget");
    this.BB()
  } else {
    this.xm("Loading gadget information…");
    this.au(this.qa["url"])
  }
}

ne_e.innerHTML="These are the same kinds of gadgets that you can add to your <a href=’http://www.google.com/ig’ target=’_blank’>Google Personalized Homepage</a>.";

The second piece of code that I thought was interesting is the reference to image uploading and editing HTML.  Currently you don’t have a lot of control over the final appearance of your notebooks — you are pretty much limited to pasting stuff, changing the font and creating links.  If this code is any indication, it could soon more closely resemble Google Page Creator.

var ne_d = ne_u.setupUpload (this.yourImagesTab, "Upload an image", ne_, this.bE.bind(this), ne_c, ne_b, !this.ag.Qa(), this.mK);

var ne_ = ne_aa.createTabDiv(ne_4.HTML_ID, "HTML", "Edit your HTML here", this.c, this.xa.bind(this));

And the third interesting snippet is for a debug window that according to the code, you have to hit ‘D’ inside the main "caribou" window to stop debugging.  What is caribou though?  Caribou was the codename for Gmail before it was released.  Could this mean some kind of Gmail integration in the future?  The interface already resembles Gmail wouldn’t you say? 

var ne_ = "<font color=#ff0000><b>To turn off this debugging window,hit ‘D’ inside the main caribou window, then close this window.</b></font><br>";

Garett RogersGarett Rogers Follow GarettRogers on Twitteris employed as a programmer for iQmetrix, which specializes in retail management software for the wireless industry. See his full profile and disclosure of his industry affiliations.


Email Garett Rogers

Subscribe to Googling Google via Email alerts or RSS.

Related Discussions on TechRepublic

Did you know you can take part in these discussions with your ZDNet membership?

  • Talkback
  • Most Recent of 2 Talkback(s)
Google Notebook features....
I agree with the general consensus that shows Google Notebook is far from earth shattering. Hopefully this is just a launch pad for something better from them, otherwise they truly have just taken som... (Read the rest)
Posted by: kent7854 Posted on: 05/19/06 You are currently: a Guest | | Terms of Use
Interesting intents?  dhigu | 05/18/06
Google Notebook features....  kent7854 | 05/19/06

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement
Click Here

Recent Entries

advertisement

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads

SmartPlanet

Click Here