4 messages in com.googlegroups.google-gearsRe: [google-gears] Re: Capturing sing...
FromSent OnAttachments
Srikanth19 Jul 2007 02:38 
Aaron Boodman19 Jul 2007 09:15 
Michael Nordman19 Jul 2007 11:54 
Srikanth19 Jul 2007 23:52 
Subject:Re: [google-gears] Re: Capturing single file and mapping it for multiple urls:
From:Michael Nordman (mich@google.com)
Date:07/19/2007 11:54:08 AM
List:com.googlegroups.google-gears

Or if your are using a ResourceStore instead of a ManagedResourceStore, you can use the copy() method after "index.html" has been captured.

resourceStore.copy("/index.html", "/index"); resourceStore.copy("/index.html", "/services/index.html");

On 7/19/07, Aaron Boodman <a.@google.com> wrote:

Yes, using the src attribute:

{url:"/services/index.html", src:"/index.html"}

See: http://code.google.com/apis/gears/api_localserver.html#manifest_file for more details.

- a

On 7/19/07, Srikanth <srik@gmail.com> wrote:

When a url (<my website >/index.html ) is captured, you can access the same url when offline (with out network connection). Is it possible to map the captured file to another url like <my website>/ index , <my website>/services/index.html etc so that when user visits them, the cached file is served.