3 messages in com.googlegroups.google-gearsRe: url variables in offline pages| From | Sent On | Attachments |
|---|---|---|
| bert3d | 07 Dec 2007 11:18 | |
| bert3d | 07 Dec 2007 11:51 | |
| Ben Lisbakken | 10 Dec 2007 10:06 |
| Subject: | Re: url variables in offline pages![]() |
|---|---|
| From: | Ben Lisbakken (lisb...@google.com) |
| Date: | 12/10/2007 10:06:09 AM |
| List: | com.googlegroups.google-gears |
Bert3d -
A status code of 1 means that it's still updating (http:// code.google.com/apis/gears/ api_localserver.html#ManagedResourceStore). If you haven't fixed it, could you post your code so I can take a look?
-Ben
On Dec 7, 11:51 am, bert3d <a....@sympatico.ca> wrote:
Sorry, I'm a little new to this, and I'm only using the files from the tutorial unmodified (only thing changed was the manifest file). I see a call to that method in go_offline.js in the createStore function. Is that where I should add it?
Well, I stuck it at the end of the createStore function, it returns a status of 1 and no last error msg.
Thanks.
On Dec 7, 2:23 pm, "Aaron Boodman" <a....@google.com> wrote:
Sounds like you have things setup correctly. When you call checkForUpdates(), wait a few moments and then alert the value of managedResourceStore.updateStatus and managedResourceStore.lastErrorMessage. What are their values?
- a
On Dec 7, 2007 11:18 AM, bert3d <a....@sympatico.ca> wrote:
Okay, I've read that this works, but I don't seem to be able to get it going.
Say I want to cache the page "test.php?var=a". I've added the line as an url entry in the manifest.json file. No problems reported capturing the files. When I disconnect and go to the url, it tells me page not found. I've tried using just the "test.php" on its own, and that works fine with gears. As far as I can tell, the ignorequery option has been left at the default false, which is what it's supposed to be from what I understand.
Is there something missing or not set up properly? Thanks.- Hide quoted text -




