HTMLGen - An Overview

HTMLGen is a HTML script generator for OS/2.

HTML scripts are used to generate Home Pages for World Wide Web browsers.

HTMLGen provides a simple method for generating scripts. By selecting the appropriate tag, a dialog box will pop-up to gather data and fill in the script.

Adding To Desktop

To place the program on your WPS Desktop use the following rexx script.
  /* Place HTMLGen on Your Desktop */
  rc = RxFuncAdd("SysLoadFuncs","RexxUtil","SysLoadFuncs")
  rc = SysLoadFuncs()
  rc = SysCreateObject("WPProgram","HTMLGen","","exename="||directory()||"\htmlgen.exe")
  rc = SysSetIcon(directory()||"\htmlgen.exe","htmlgen.ico")

Register

REGISTRATION FORM FOR HTMLGen Version 1.10

Registration fee is $45.00 per copy.

North Carolina residents must include sales tax.
In USA and Canada add $5.00 for shipping/handling.
All other international shipments add $15.00.
 
See other documentation.

Send to: HTMLGen 1.10
         American Coders, LTD
         P.O. Box 97462
         Raleigh, NC  27624
 
Name:______________________________________      Phone: ____________
Company: ___________________________________     Phone: ____________
Address: ___________________________________________________________
         ___________________________________________________________
City: _________________________    State: ______  Zip: _____________

CompuServe ID: _____________________________________________________

Where did you find HTMLGen: _______________________________________

Registered users get a 30 day money back guarantee, 60 days free telephone
support, unlimited support on CompuServe, and free upgrades to the 
next release.

CompuServe ID:  74150,2370
CompuServe Support: GO OS2SHARE

Internet: joe@usacoder.rtp.nc.us

Phone: (919) 846-2014.

Cut and Paste

OS/2 Cut and Paste fucntions to the OS/2 clip-board are availablle.
Cut
Press CTRL-Delete. To place mark text into the clipboard and remove it from the script area.
Copy
Press CTRL-Insert. To copy the marked area to the clip-board.
Paste
Press Shift-Insert to copy clip-board text at the cursors position.
Marking Text To Cut and Copy
Press Shift and use the arrow keys to mark pieces of text in the script area.

Primary Window Menu

There are several window menus to simplify your job.

File

The file pull down provides access to OS/2 file system.

Open

Open will load the script area with an existing. Any text in the script area will be lost.

New

This will restart a script by removing existing text.

Save

This will save the script area to a file. If a filename has not been defined the File dialog will pop-up.

Save As

This will save the script area to a file. The File dialog will pop-up.

Insert Text

This will insert text from another file into the script area. Text in the existing area will not be lost.

Browser

This will load the current text area to the defined file and call the Web Browser you have defined on your system.

IPF Build

This will translate your HTML script into the IPF format. IPF is used by the IBM IPFC compiler to generate INF and HLP files.

IPFC compiler is not provide with HTLMGen.

Editor

This will load the current text area to the defined file and call an editor you have defined.

Exit

This will exit the program. Short-cut key is F3.

Options

There are three options to provide HTMLGen with Browser/Editor and Text prompting indicators.

Browser Defined

Will pop-up a dialog box asking for the command to load your Web browser.

Editor Defined

Will pop-up a dialog box asking for the command to load your editor.

Text Prompting

This will turn-on/off the dialog boxes when the Tagging functions are used.

IPF Conversion Options

There are three options available for the IPFC Conversion.

RES for Headings

Turn this on and a resource number will be assigned to each heading. This is useful for creating HLP files. HLP files work with PM Help functions. Resources are associated with PM items such when F1 is pressed when the cursor is on a button, defining the HELP push button, etc...

Index for Headings

Turn this on and each heading will have a IPF index assigned to it. For the Heading 1, only an I1 tag is created. For all other headings an I1 tag is created and an I2 tag with a reference to the previous I1 tag. Indexes define what shows up in the INDEX for your both HLP and INF files.

Edit Macros

This provides a dialog box to maintain your macros. Prompts are shown in the macro list and text is entered into the macro list when the prompt is double-clicked.

Macros are maintained an editible file HTMLGEN.MAC. The format is rather simple. A keyword "PROMPT:" is used to indicate a new macro. Text on the same line as "PROMPT:" is used for the macro prompt. All text following the prompt is considered to be macro "text" that is inserted into the HTML document when the prompt is double-clicked.

Tags

Tags are the indentifies for the browser on how to display and format text, pull in external files, and layout the general document.

Headings

Title </Title> <//Title>
The Title Tag describes the title of the HTML Document
Heading 1 </H1> <//H1>
The Heading 1 Tag marks the highest level sections in the document. Its text and font are the same size as the TITLES. Think of Heading 1 Tags as chapter indicators.

Short-Cut Key is Ctrl-1.

Heading 2 </H2> <//H2>
The Heading 2 Tag marks the second highest level sections within a Heading 1 section. Its text and font are smaller than a Heading 1.

Short-Cut Key is Ctrl-2.

Heading 3 </H3> <//H3>
The Heading 3 Tag marks the third highest level sections in a document and follows a Heading 2 section. Its text and font are smaller than a Heading 2.

Short-Cut Key is Ctrl-2.

Heading 4 </H4> <//H4>
The Heading 4 Tag marks the fourth highest level sections in a document and follows a Heading 3 section. Its text and font are smaller than a Heading 3.

Short-Cut Key is Ctrl-3.

Heading 5 </H5> <//H5>
The Heading 5 Tag marks the fifth highest sections and second lowest in a document and follows a Heading 4 section. Its text and font are smaller than a Heading 4.

Short-Cut Key is Ctrl-5.

Heading 6 </H6> <//H6>
The Heading 6 Tag marks the lowest sections in a document and follows a Heading 5 section. Its text and font are smaller than a Heading 5.

Short-Cut Key is Ctrl-6.

Lists

Unordered Lists </UL> <//UL>
Unrdered lists provide the ability to set off lists of text that are prefixed by bullets, dashes and filled circles. Unorder lists may be contained within other list types and may contain other list types.

Short-cut key is Alt-u.

Ordered Lists </OL> <//OL>
Ordered lists provide the ability to set off lists of text that are prefixed by a sequence of numbers. Ordered lists may be contained within other list types and may contain other list types.

Short-cut key is Alt-o.

List Item (Order/Unordered List) </LI> <//LI>
List Item Tag provides an item within an Unorder or Order list. List Items must appear within an </UL> <//UL> or </OL> <//OL> block.

Short-cut key is CTRL-i.

Descriptive Lists </DL> <//DL>
Provides a list that contains a title and a description items.

Short-cut key is Alt-d.

Descriptive Title and Description.
Descriptive Titles and Descriptions are used to mark informative areas of text. Descriptive Title and Text appear in pairs with in a </DL> <//DL> block.

Short-cut key is Ctrl-d.

Descriptive Title </DT> <//DT>
This provides for title for the following descriptive text.
Descriptive Description </DD> <//DD>
This provides a description used with the Descriptive Title. It may contain paragraphs, other lists and other information.

Blocks

Preformatted Text </PRE> <//PRE>
The preformatted tag marks text for fixed-width font with carriage returns, spaces and tabs kept in place. This section may contain other tags.

Short-cut key is Alt-p.

Quoted Text </BLOCKQUOTE> <//BLOCKQUOTE>
The block quote tag marks text for fixed-width font with carriage returns, spaces and tabs kept in place. This section may contain other tags.

Short-cut key is Alt-q.

Address </ADDRESS> <//ADDRESS>
The address tags is used to describe the author of the document. It is usually the last item in the document. This section may contain other tags.

Short-cut key is Alt-a.

Anchor Name </A> <//A>
The anchor name text provides to ability for other sections of the docuement to refer back to this section of text.

Short-cut key is Alt-n.

Anchor Reference </A HREF=> <//A>
The anchor name text provides to ability to refer back to another section of text mark by an anchor name.

Short-cut key is Alt-r.

Formats

Formats provide changing the fonts of text.

Special Characters

Images

Inline Images </IMG SRC=...>
Provides inline GIF or x-systems XBM pictures to display within your the document.

Short-cut key is ALT-SHIFT-I.

External Images </A HREF = ...>link anchor<//A>
Refers to GIF or XBM files that reside elsewhere. It also provides for referencing. See Anchors. Short-cut key is ALT-SHIFT-E.

Dialog Boxes

There are several dialog boxes to assist you in generating your HTML script. These boxes can be disabled by turning off the Text Prompting off of options. When Text Prompting is turned off, you are not prompted for text and the tag is immediately inserted into the script.

The titles of the dialog boxes will change depending on the tag being generated and what type of work it is doing.

Desc Dialog Box

This box is used to define both the Descriptive Item Heading and Descriptive Item Text. This will generate the </DT> and <//DD> tags. If text is not entered into either fields the tagged items are added to the script only, respectfully.

Ext Dialog Box

This box is used to define an external file anchor. The dialog will generate the </A HREF=xxxxx#yyyyy>/zzzzz<//A> tag. Where xxxxx is the name of the external (referenced) file, yyyyy is the named anchor and zzzzz is the text that will be highlighted and provide linking.

Extern Dialog Box

This box is used to define an external image file and refernce text. The dialog will generate the </A HREF=xxxxx>/zzzzz<//A> tag. Where xxxxx is the name of the external(image file and zzzzz is the text that will be highlighted and provide linking.

The FIND button starts the PM Find File dialog to help you search for a file.

Supported image files are

Inline Image Dialog Box

This box provices the IMG tagto alloc for XBM and GIF format images inside your HTML document. This tag is not recognized by all browsers.

The FIND button starts the PM Find File dialog to help you search for a file.

Single Line Dialog Box

This box is used for tags that use a single line of text, such as headers and the address tags.

Anchor Dialog Box

The box will allow you to define an anchor title and text. It generates an </A> <//A> tag.

Simple Text Dialog Box

This box is used for tags that use multiple lines of text, such as tagging formatted text or defining block quotes. The dialogs main item is a multi-line edit field. This field supports most of OS/2 cut and paste functions.

History Of Changes

HTMLGen 1.10 A HTML Script Generator

History of changes.

  1. Version 1.10 Aug. 15, 1995
  2. Version 1.05 Jan. 31, 1995
  3. Version 1.04 Jan. 25, 1995
  4. Version 1.03 Jan. 21, 1995
  5. Version 1.02 Jan. 14, 1995
American Coders, LTD joe@usacoder.rtp.nc.us (919) 846-2014 Copyright 1995 - All rights reserverd