<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d24605170\x26blogName\x3dWhat\x27s+New\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://newsko.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://newsko.blogspot.com/\x26vt\x3d-5077661798594369790', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script>
   What's New[definition].  
 
    
Google
Google Web
« Home

Posts

Samsung SGH-P900 Gets FCC Thumbs Up
Apple's MacBook sports user-replaceable hard disks
Microsoft to Launch URGE This Week
New search engine's ads pay-per-action
Free calls within the US and Canada
SkypeOut…Is It Really Free?
Ten reasons to love WMP 11
Exclusive: New Yahoo! homepage
Sony delivers world’s first full-function pocket-s...
Building a Brand With a Blog
 
     Archives
March 2006
April 2006
May 2006
June 2006
July 2006
 
     Links




Word of the Day

Article of the Day

This Day in History

In the News

Quotation of the Day

Digging into Google Notebook javascript

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 Google Personalized Homepage.";

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_ = "To turn off this debugging window,hit 'D' inside the main caribou window, then close this window.
";

Digging into Google Notebook javascript - Wednesday, May 17, 2006 -

Post a Comment

Enter your email address:

Delivered by FeedBurner



 


Linux Tips and Tricks - Mox Diamond - Arcane Denial - Sylvan Library
Linux Tips and Stuff - ba-zoo-ra - iBUG teks/

© 2006 What's New