Browse Prior Art Database

Hypertext Markup Language Files with Resource File Format

IP.com Disclosure Number: IPCOM000118553D
Original Publication Date: 1997-Mar-01
Included in the Prior Art Database: 2005-Apr-01
Document File: 4 page(s) / 93K

Publishing Venue

IBM

Related People

Foster, D: AUTHOR

Abstract

Disclosed is a method to create and deliver Hypertext Markup Language (HTML) files in a resource file format. The core of this article is the process by which HTML files are created, read, and processed as an independent part of an application's resources, as opposed to being an integral part of the application's source code.

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

Hypertext Markup Language Files with Resource File Format

      Disclosed is a method to create and deliver Hypertext Markup
Language (HTML) files in a resource file format.  The core of this
article is the process by which HTML files are created, read, and
processed as an independent part of an application's resources, as
opposed to being an integral part of the application's source code.

The implementation of this method is as follows:

      Convert the HTML file to a resource.  The innovation here is
making each line of the HTML page an individual string.  The ability
to put these strings together allows us to reconstruct the entire
HTML page.  The first string comprising The HTML page has a unique
id, in our case STR_HTML_SHOWLOGON.  The succeeding strings for the
page have consecutive IDs based on first string id.

      The only modification to the html source to place in the string
table is to replace each double quote(") with two double quotes("").
See Fig. 1 and compare to Fig. 2.

      The compiled HTML resource files can be shipped each as a
separate file or the resources can be bound to the server executable.
In addition, all the major platforms (OS/2*, Windows**, AIX*) have
resource compilers, So this method is platform independent.

Add the code to read HTML resources to the Web Server Application
(Fig. 3).                       ..

      If resource format HTML files are given the extension .rhtml,
then addition...