Browse Prior Art Database

Writing Local Data from an Hyper Text Markup Language Page

IP.com Disclosure Number: IPCOM000119087D
Original Publication Date: 1997-Nov-01
Included in the Prior Art Database: 2005-Apr-01
Document File: 2 page(s) / 57K

Publishing Venue

IBM

Related People

James, DA: AUTHOR [+2]

Abstract

Disclosed is a program that enables a Hyper Text Markup Language (HTML) page to write data on a local disk. This program enables a web browser to be used as the interface for an application to store local data. An example application would use a JavaScript data file to read input values, an HTML FORM page to allow the user to modify the values, and the disclosed program to write the values back to the local disk for subsequent use.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 53% of the total text.

Writing Local Data from an Hyper Text Markup Language Page

      Disclosed is a program that enables a Hyper Text Markup
Language (HTML) page to write data on a local disk.  This program
enables a web browser to be used as the interface for an application
to store local data.  An example application would use a JavaScript
data file to read input values, an HTML FORM page to allow the user
to modify the values, and the disclosed program to write the values
back to the local disk for subsequent use.

      HTML and JavaScript do not provide for reading and writing data
from a local file system so that remote web pages cannot corrupt a
user's local file system.  A simple extension to HTML, however,
allows a browser to be used for the user interface to a local
application that does not require any remote access.  Such a local
application is easy to implement and can be very powerful, including
remote access if desired.

      The key to enabling this type of local application is to define
a helper application that will write an output file to the local
disk.  This helper application is defined for a new MIME type that is
used in the JavaScript statements "document.open(MIME type);
document.write(data); document.close();".  When executed, these
statements create a temporary file containing the data which is
passed to the helper application as a command line parameter.  For
generality, the name of the output file can be included as a comment
in the first line o...