Browse Prior Art Database

Custom Hypertext Markup Language Flat Files

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

Publishing Venue

IBM

Related People

Foster, D: AUTHOR

Abstract

Disclosed is a method whereby simple variable substitution can be performed by a Web server on the Hypertext Markup Language (HTML) flat files it serves. The core of this disclosure is the format of the HTML files and the algorithm for variable substitution.

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

Custom Hypertext Markup Language Flat Files

      Disclosed is a method whereby simple variable substitution can
be performed by a Web server on the Hypertext Markup Language (HTML)
flat files it serves.  The core of this disclosure is the format of
the HTML files and the algorithm for variable substitution.

      In order for the Web server not to mistakenly replace valid
HTML tags, the replacement variables must be of the form,
"<<varName<<".  This works because "<<" does not exist as a valid
HTML tag by itself or in combination with any other text.  Fig. 1
shows an example of an HTML file with substitutable text.  SEE
ORIGINAL

Fig. 2 shows the same HTML after the variable substitution is
completed. 

                            (Image Omitted)

      The algorithm for variable substitution is relatively
straightforward when the C++ string class has a replacement method
that replaces all occurrences of one string with another.  Fig. 3
shows the specific algorithm for changing the source in Fig. 1 to
Fig. 2. 

                            (Image Omitted)