Saturday, February 5, 2011

Storing Domino Data on your Phone - the HTML5 Manifest File

HTML 5 is the latest version of HTML. It has new tags and functionality. You can create a WEBSQL database on the Client Device.


You can create a Manifest File. This is simply a list of resources that you want the Phone to store locally. Think of it as Cache for pages, images, css, scripts..etc..


Create a $$HTMLFrontMatter Tag - Make it computed for display. Then in the formula point it to your manifest file ""


mywebsite.manifest is a page that has its Web Access Content Type set to "Other" then put in "text/cache-manifest"

This will send the correct header info to the browser so it will download the files and store them locally.


To update your Phone's files you need to update your manifest( make some change..like ad a space) then save it and reload your page twice.
The 1st time it will compare manifest versions, the second time it will pull down the updated content to the phone.

No comments:

Post a Comment