Friday, February 22nd, 2008

Gears PubTools: Offline Enable Content in Minutes

Category: Gears, Google

Gears gives you all of the components that you need to take your application offline. If you have the type of application that for now wants to just take some of its content offline, that should be trivial to do right?

That was Brad Neuberg’s position, so he created Gears PubTools as a way to make that happen. These tools are for content authors that don’t even want to touch JavaScript.

How you use it?

Point to a Gears manifest file (a special file that lists all the pages to take offline) with a simple HTML attribute:

  1. <html gears-manifest="manifest.js">

Create a desktop shortcut icon that points right to your app and
use a custom image:

  1. </html><html shortcut="true" gears-manifest="manifest.js">
  2. <head>
  3.  <link rel="shortcut.icon" title="32x32" href="icon32x32.png"></link>
  4. ...
  5. </head></html>

NOTE: This shows the Desktop Shortcut API that you can use in any offline application.

You don’t even have to write the manifest file yourself! PubTools includes a simple bookmarklet that developers can drag to their browser’s toolbar. Just navigate to the web pages you want offline, press the “Generate Manifest” bookmarklet, and a dialog will appear with the full manifest file generated for you ready to cut and paste into a file.

The core Google Gears gives us the building blocks that we can then build on top of to give users really easy tools and APIs. It has been great to see Brad join the Gears team and see him work on some of these issues. I expect to see much more from him in the future. What would you like to see?

Disclaimer: Remember, Brad and I work for Google

Posted by Dion Almaer at 11:56 am
1 Comment

4 rating from 20 votes

1 Comment »

Comments feed TrackBack URI

With combination of GreaseMonkey & GoogleGears, we can create really useful things for personal use.

Comment by bollywood — February 22, 2008

Leave a comment

You must be logged in to post a comment.