Tuesday, August 18, 2009

Sync Google Chrome Bookmarks

The most recent Google Chrome dev build added a feature that lets you synchronize your bookmarks with a Google account. Because of a technical issue with Google's new sync technology and because Google Chrome uses folders instead of labels, bookmarks will not be displayed in Google Bookmarks, but in Google Docs.



How to try the new feature? Make sure you use Google Chrome's dev channel, which includes a buggier and less polished version of Google Chrome. Then create a desktop shortcut for the browser, right-click on the shortcut, select "Properties" and edit the "Target" field by appending:

--enable-sync

(make sure to add a space before pasting the flag). You should see something like this if you're using Windows Vista:

C:\Users\Ionut\AppData\Local\Google\Chrome\Application\chrome.exe --enable-sync

Restart the browser and you should find a new option in the Tools menu: "Sync my bookmarks". Enter your credentials and the sync process should start immediately. You'll be able to access your bookmarks in a weird location: a read-only folder in Google Docs (things will look less weird when Google Docs is transformed into Google Drive, a general-purpose online storage service). Install Google Chrome's dev build on a different computer and you'll be able to access your bookmarks, edit them and all the changes will be saved online.

Google will release a sync API so that developers can add similar features for other services. "To make this sync infrastructure scale to millions of users, we decided to leverage existing XMPP-based Google Talk servers to give us "push" semantics, rather than only depending on periodically polling for updates. This means when a change occurs on one Google Chrome client, a part of the infrastructure effectively sends a tiny XMPP message, like a chat message, to other actively connected clients telling them to sync," explains a Chromium document.

Tip: import the bookmarks from Google Bookmarks by clicking on the Tools menu, selecting "Import bookmarks and settings" and choosing "Google Toolbar" from the list.

Update: The file that implements the syncing algorithms (syncapi.dll) includes many references to GDrive, so it's likely that Google will use the same technology to synchronize all the files stored in Google Drive.


{ Thanks, Pascal. }

Labels:

  44 comments ( Post a comment )
Now if the extensions could also benefit from this...
Google should implement Google Toolbar wich has a native bookmarks syncing in chrome rather than developping a new app. Sometimes I dont understand Google....
I hope Google sync API allows integration with other browsers, and synchronization between Google Bookmarks and Google Docs.
I think developping a built-in Bookmarks (and more later) Syncing using XMPP is better than using the "old" Google Toolbar.
But it's so disappointed Chrome uses folders instead of labels.
Seems to be a strategy for putting all data on the cloud.
Initial Chrome OS file system?
Much like Google Bookmarks, this one supports Bookmarklets :D

However, we can't still edit those bookmarks in Google Docs such as renaming them.

And let's take note that Xmarks, formerly Foxmarks, will be supporting Google Chrome too. :D
I used it and i built fifteen bookmarks on it.
I think Chrome should have better support for Google Bookmarks. The bookmarklet is nothing compared to the Google toolbar bookmark button. Besides, I couldn't use it as my employer blocks Google Docs (and Google Pics) as 'file sharing' sites.

Lack of good Google Bookmarks support is one reason I don't use chrome. Lack of a LastPass plugin is another (on a very short list.)
Fantastic feature. Now maybe they can get people working on a RSS icon, you know, like everyother browser out there :)
Google Chrome? Are they still wasting their time mucking around with that thing?

I thought it's market share never took off and people dropped it as featureless vapourware?
My bookmarks aren't showing up under Google Docs. I'm wondering if it's because I am a Google Apps user instead of a normal gmail account user. Anyone else had this issue?
Tom

I had the same issue, logged into Google Docs (as opposed to Google Apps Docs) with my Apps username and password and found them there. Very annoying.
It's working great at my office on XP but, I'm running Windows 7 RC1 and cannot get it to work. For some reason the Target path in Windows 7 does not have " " around the path. If I add the quotes and append --enable-sync after the last quote, the quotes will vanish after it's saved. I'll start Chrome and will not get the option for bookmark sync. It appears to be a problem specific to Windows 7 so I'm sure it will be resolved by the time the OS is released.
then that function will tner google bookmarks, the bookmarks button in google toolbar, etc..
I do not see sense to have 2 pages of a google bookmarks bookmars and another google docs

I like to see my bookmarks and add bookmarks from my google toolbar, and it now expected to google chrome, there is a bookmarklet that allows you to save links to google bookmarks, so now to save your bookmarks in google docs as it is do I still lack a lot to do with IE, Firefox and Safari already have.
Being able to sync bookmarks between Chrome and a Google account is a critical feature for true portability.
I like the new feature as well as the integration with Google Docs; however it would great if we could also add/remove/edit bookmarks online as a way of saving a link for later on-the-go.
Google removed gdrive with version 4.0.202.
anyone have the problem that enabling this feature on two computers doesn't share the bookmarks?

They are still unsynced and seperate from each other
Make sure you log in to the same Google account.
How can I remove "Google Chrome" folder from me docs? I disabled sync in chrome and tried to delete it but got message that this folder is read-only.
Cant get it to work in Chromium:(
@Anonymous:

You're right, it doesn't work in Chromium and I'm using the latest build. Fortunately, you can install Chromium and Google Chrome on the same computer.
@Yura: you can "hide" it.
I don't think the why of Google uses Google Docs to save bookmarks is a "tecnical issue", but a strategy: using Google Docs as the center of the user data.
but nobody know it because Google said Nothing.It is Google's !
You can also check the synchronization status though about:sync
Google with Google Docs want to do what microsoft with SkyDrive, doing a google Google Docs dive, this means that Google Bookmarks is going to disappear, but now which will shape to add our bookmarks to google docs, only with the sync?
Still no sight of the new Docs interface and folder sharing UI. I think the Google guys are much too busy dealing with important things like doodles.
Sweet feature, I cannot wait to see it on the Stable Channel. Google chrome is and always will be the best browser on the market and because Google extensively tests all extensions before pushing them out it's really clean and stable.
well, 4 me it is not working at all, I made it this way:
http://www.google.com/support/chrome/bin/answer.py?hl=en&answer=100215
It means Google want to know where you are and when you are. Once again, too much CONTROL -
Is it possible for us to have less intrusive browser? inserting bookmarks into our USB stick and plug in and set the browser to connect the appropriate location in the usb stick?
bookmark sync does not work:

"Bookmark Sync Error! Google Chrome could not sync your bookmarks because it could not connect to the sync server."

Could anyone help me?
What is funny is all the people that scream companies have to much control must never leave their homes. Since any time you walk within 1 block from your house you are getting your picture taken. If you go into town you get your picture and filmed. There are so many that have so much control that you do not even know, but you scream google has to much control. They are just doing what MS has been doing for years lol, cept now you are catching onto it. (ex; when you install your OS (windows)it calls home to MS, and many many other things lol. Enjoy what you can access and share everything for knowledge is freedom.
Not working on the Mac Dev build of Chrome. I use terminal to open the app like so:

open "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --args --enable-sync

When i open about:sync in Chrome, it says SYNC DISABLED.

I use mainly Safari as a browser, but I'm looking for some way to sync bookmarks across browsers easily.
Tes my sync is disabled on mac os too. Any ideas please? 4.0.223.11
There's no need for a google toolbar in chrome, when Google is releasing something better, a universal open api, that any browser can use.
I'm running Chromium 4.0.233.0 (Ubuntu build 30813) from the "daily" deb packages channel, and I'm not seeing bookmark sync functionality when adding mentioned command-line argument. What's going on here?

Judging by other comments this still seems to be Windows-only.
Why don't save bookmark in Google bookmarks but in Google Docs? I like to edit and modify things in Google Bookmarks. But if Google keeps everything in Google Docs, Google should make editable bookmarks in Google Docs (Like import/export bookmark etc).
Please make the google bookmarks sync better. The only thing that stops me from using Google Chrome is the fact that there is no flexible google bookmarks functionality like in google toolbar.
I don't to see my bookmarks in Google Docs, I want see them build into the Chrome natively.
Is there any way to view which computers you are syncing to/from? Eg from within Google Docs or anything?

I'm just thinking might be useful to be able to remotely disable syncing or something
Since updating to Linux Chrome build 4.0.249.11 bookmark sync is again disabled (greyed out) even with the --enable-sync option. What happened?
I'm seeing the same thing with 4.0.249.11 on Ubuntu.
BJ, same here with Debian Lenny build. I starred your bug report here, thanks:

http://code.google.com/p/chromium/issues/detail?id=28655