On The Insider: Nicole Richie Home from the Hospital
BNET Business Network:
BNET
TechRepublic
ZDNet

October 11th, 2006

Google Docs to go 'offline' and more

Posted by Garett Rogers @ 8:21 am

Categories: Google Speculation

Tags:

In Focus » See more posts on: Web Office

As you probably know, I really like to dig through source code — and sometimes I find things.  Google's newly designed Writely (or "leftly" according to the source code) has a few very interesting things hidden away for us to discover.

Online word processors aren't as "handy" as one installed on your computer because if your internet goes away, so do your documents — so I will start with the most interesting piece of code I found.  Google is working on a solution that will allow you to install Writely on your local machine:

if (location.host.indexOf("localhost") > -1)
{
  if (location.host.indexOf("Prefactor") > -1)
    return "http://localhost:8180/Prefactor/" + page + paramString;
  else
    return "http://localhost:8180/Docster/" + page + paramString;
} else
  return "http://" + location.host + "/" + page + paramString;

function RunningOnLocalServer() { if (typeof onLocalServer == 'undefined') return false; return onLocalServer; }

An offline version of Writely would give users a stronger sense of ownership — something the current version lacks, and a big reason people use Microsoft Word.

Writely will also soon integrate with SalesForce.com in some way. This snippet of code calls an ajax function to "push" a document to SalesForce.  Could it be something like the Excel Connector?  Will it work with the Google OneBox for SalesForce?

if (action == "pushsalesforce") {
  asyncPOST("command=pushsalesforce&docid=" + docToUse + "&finis=true", "UserMiscCommands", function (req, timedOut)
  { SFCompletion(req); });
  return null;
}

function SFCompletion(req) {
  if (req == null || req.responseText == null || req.responseText == "" )
    return; //just status
  if (req.responseText.indexOf("error") != -1)
    DebugAlert("Salesforce error: " + req.responseText);
  else {
    alert("Document Stored to Salesforce");
    ReloadDocLists(window);
  }
}

And last, but not least, they have built in the ability to "skin" the product.  With a name like "Brander", we're sure to see some customization — probably for a Google Apps for Your Domain hosted solution.

<link xhref="/Brander/?f=Skin.css&v=c7p" rel=stylesheet type="text/css" />
<link xhref="/Brander/?f=Edit.css&v=ffh" rel=stylesheet type="text/css" />
<link xhref="/Brander/?f=ButtonStyles.css&v=djm" rel=stylesheet type="text/css" />

Garett RogersGarett Rogers is 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.

  • Talkback
  • Most Recent of 6 Talkback(s)
REally like to see that.
as the title see. (Read the rest)
Posted by: mikewarm Posted on: 10/17/06 You are currently: a Guest | | Terms of Use
I'm not so sure about the offline thing...  Tony Ruscoe | 10/11/06
I agree  lindros1 | 10/11/06
Need for offline work...  dave.leigh@... | 10/11/06
Why not use Open Source software?  Bill Drew | 10/12/06
Perhaps because: THAT'S NOT WHAT THE ARTICLE WAS ABOUT?  escoles@... | 10/12/06
REally like to see that.  mikewarm | 10/17/06

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement

Recent Entries

advertisement

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads

SmartPlanet

Click Here