home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
htmlg120.zip
/
htmlgen.HLP
(
.txt
)
< prev
next >
Wrap
OS/2 Help File
|
1996-03-18
|
20KB
|
562 lines
ΓòÉΓòÉΓòÉ 1. 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.
ΓòÉΓòÉΓòÉ 2. 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")
ΓòÉΓòÉΓòÉ 3. Register ΓòÉΓòÉΓòÉ
REGISTRATION FORM FOR HTMLGen Version 1.20
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 $10.00.
See other documentation.
Send to: HTMLGen 1.20
American Coders, LTD
P.O. Box 97462
Raleigh, NC 27624
Name:______________________________________ Phone: ____________
Company: ___________________________________ Phone: ____________
Address: ___________________________________________________________
___________________________________________________________
City: _________________________ State: ______ Zip: _____________
InterNet ID: _____________________________________________________
Where did you find HTMLGen: _______________________________________
Registered users get a 30 day money back guarantee, 60 days free telephone
support, unlimited support on CompuServe, free upgrades to the next release,
and the VisPro/Rexx source code.
Internet: joe@usacoder.rtp.nc.us
CompuServe ID: 74150,2370
CompuServe Support: GO OS2SHARE
Phone: (919) 846-2014.
ΓòÉΓòÉΓòÉ 4. Cut and Paste ΓòÉΓòÉΓòÉ
OS/2 Cut and Paste functions to the OS/2 clip-board are available.
Cut Press CTRL-Delete. To place mark text into the clipboard and remove
it from the script area. Or use menu function from the Edit pull
down.
Copy Press CTRL-Insert. To copy the marked area to the clip-board.Or use
menu function from the Edit pull down.
Paste Press Shift-Insert to copy clip-board text at the cursors position.
Or use menu function from the Edit pull down.
Marking Text To Cut and Copy Press Shift and use the arrow keys to mark pieces
of text in the script area.
ΓòÉΓòÉΓòÉ 5. Primary Window Menu ΓòÉΓòÉΓòÉ
There are several window menus to simplify your job.
ΓòÉΓòÉΓòÉ 5.1. File ΓòÉΓòÉΓòÉ
The file pull down provides access to OS/2 file system.
ΓòÉΓòÉΓòÉ 5.1.1. Open ΓòÉΓòÉΓòÉ
Open will load the script area with an existing. Any text in the script area
will be lost.
ΓòÉΓòÉΓòÉ 5.1.2. New ΓòÉΓòÉΓòÉ
This will restart a script by removing existing text.
ΓòÉΓòÉΓòÉ 5.1.3. Save ΓòÉΓòÉΓòÉ
This will save the script area to a file. If a filename has not been defined
the File dialog will pop-up.
ΓòÉΓòÉΓòÉ 5.1.4. Save As ΓòÉΓòÉΓòÉ
This will save the script area to a file. The File dialog will pop-up.
ΓòÉΓòÉΓòÉ 5.1.5. Insert Text ΓòÉΓòÉΓòÉ
This will insert text from another file into the script area. Text in the
existing area will not be lost.
ΓòÉΓòÉΓòÉ 5.1.6. Browser ΓòÉΓòÉΓòÉ
This will load the current text area to the defined file and call the Web
Browser you have defined on your system.
ΓòÉΓòÉΓòÉ 5.1.7. 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.
ΓòÉΓòÉΓòÉ 5.1.8. Editor ΓòÉΓòÉΓòÉ
This will load the current text area to the defined file and call an editor
you have defined.
ΓòÉΓòÉΓòÉ 5.1.9. Exit ΓòÉΓòÉΓòÉ
This will exit the program. Short-cut key is F3.
ΓòÉΓòÉΓòÉ 5.2. Edit ΓòÉΓòÉΓòÉ
There are eight options provided to simplify editting the HTML text.
ΓòÉΓòÉΓòÉ 5.2.1. Copy ΓòÉΓòÉΓòÉ
Copies marked text to clip board.
ΓòÉΓòÉΓòÉ 5.2.2. Cut ΓòÉΓòÉΓòÉ
Copies marked text to clip board and deletes it.
ΓòÉΓòÉΓòÉ 5.2.3. Paste ΓòÉΓòÉΓòÉ
Copies clip board to current cursor position.
ΓòÉΓòÉΓòÉ 5.2.4. Delete ΓòÉΓòÉΓòÉ
Deletes marked text.
ΓòÉΓòÉΓòÉ 5.2.5. Undo ΓòÉΓòÉΓòÉ
Undoes last change to text. One-level only
ΓòÉΓòÉΓòÉ 5.2.6. Search ΓòÉΓòÉΓòÉ
Brings up Search dialog to find and change text.
ΓòÉΓòÉΓòÉ 5.2.7. Find Next ΓòÉΓòÉΓòÉ
Find text as specified in search dialog.
ΓòÉΓòÉΓòÉ 5.2.8. Change Next ΓòÉΓòÉΓòÉ
Changes text as specified as specified in search dialog.
ΓòÉΓòÉΓòÉ 5.3. Options ΓòÉΓòÉΓòÉ
There are three options to provide HTMLGen with Browser/Editor and Text
prompting indicators.
ΓòÉΓòÉΓòÉ 5.3.1. Browser Defined ΓòÉΓòÉΓòÉ
Will pop-up a dialog box asking for the command to load your Web browser.
ΓòÉΓòÉΓòÉ 5.3.2. Editor Defined ΓòÉΓòÉΓòÉ
Will pop-up a dialog box asking for the command to load your editor.
ΓòÉΓòÉΓòÉ 5.3.3. Text Prompting ΓòÉΓòÉΓòÉ
This will turn-on/off the dialog boxes when the Tagging functions are used.
ΓòÉΓòÉΓòÉ 5.3.4. 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.
ΓòÉΓòÉΓòÉ 5.3.5. 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 editable 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.
ΓòÉΓòÉΓòÉ 5.4. Tags ΓòÉΓòÉΓòÉ
Tags are the identifies for the browser on how to display and format text,
pull in external files, and layout the general document.
ΓòÉΓòÉΓòÉ 5.4.1. 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.
ΓòÉΓòÉΓòÉ 5.4.2. Lists ΓòÉΓòÉΓòÉ
Unordered Lists <UL> </UL> Unordered lists provide the ability to set off lists
of text that are prefixed by bullets, dashes and filled circles.
Unordered 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 Unordered 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.
ΓòÉΓòÉΓòÉ 5.4.3. 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 document 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.
ΓòÉΓòÉΓòÉ 5.4.4. Formats ΓòÉΓòÉΓòÉ
Formats provide changing the fonts of text.
o ITALICS
- Italics <I> </I> - Short-cut key is Ctrl-i.
- Emphasized Italics <em> </em> - Short-cut key is Ctrl-e.
- Citation <cite> </cite> - Short-cut key is Ctrl-c.
- Variable <var> </var> - Short-cut key is Ctrl-i.
o BOLDS
- Bold <b> </b> - Short-cut key is Ctrl-b.
- Strong bold <strong> </strong> - Short-cut key is Ctrl-s.
o MONO-SPACED
- Typewriter <TT> </TT> - Short-cut key is Ctrl-t.
- Code <CODE> </CODE> - Short-cut key is Ctrl-C.
- Sample <SAMP> </SAMP> - Short-cut key is Ctrl-s..
- Keyboard <KDB> </KBD> - Short-cut key is Ctrl-k.
o Definition <DFN> </DFN> - Short-cut key is Ctrl-d.
May not work with some Mosaic browsers.
ΓòÉΓòÉΓòÉ 5.4.5. Special Characters ΓòÉΓòÉΓòÉ
o 'Less Than' character '<' is <.
o 'Greater Than' character '>' is >.
o 'Ampersand' character '&' is &.
o The paragraph marker indicates a new paragraph. <P> </P> - can be used to
indicate an end of a paragraph block. Short-cut key is Ctrl+Enter.
ΓòÉΓòÉΓòÉ 5.4.6. 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.
ΓòÉΓòÉΓòÉ 6. 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.
ΓòÉΓòÉΓòÉ 6.1. 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.
ΓòÉΓòÉΓòÉ 6.2. 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.
ΓòÉΓòÉΓòÉ 6.3. Extern Dialog Box ΓòÉΓòÉΓòÉ
This box is used to define an external image file and reference 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
o GIF
o TIFF
o JPEG
o RGB
o HDF
ΓòÉΓòÉΓòÉ 6.4. Inline Image Dialog Box ΓòÉΓòÉΓòÉ
This box provides the IMG tag to 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.
This window is also used to define files for browsers and editors. We took a
short cut here. This dialog box is multipurpose.
ΓòÉΓòÉΓòÉ 6.5. Single Line Dialog Box ΓòÉΓòÉΓòÉ
This box is used for tags that use a single line of text, such as headers and
the address tags.
ΓòÉΓòÉΓòÉ 6.6. Anchor Dialog Box ΓòÉΓòÉΓòÉ
The box will allow you to define an anchor title and text. It generates an <A>
</A> tag.
ΓòÉΓòÉΓòÉ 6.7. 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.
ΓòÉΓòÉΓòÉ 6.8. Tables ΓòÉΓòÉΓòÉ
Several functions are available to assist in creating tables.
Create This kicks off a dialog for creating a complete definition for a
table. All rows and columns are filled in based on response to the
dialog.
Header This creates a tag for specifying a column heading in a table. <TH>
</TH>
Data This creates a tag to indicate data in a column row. <TD> </TD>
Row This inserts a new row tag in the dialog <TR>.
ΓòÉΓòÉΓòÉ 7. History Of Changes ΓòÉΓòÉΓòÉ
HTMLGen 1.20 A HTML Script Generator
History of changes.
1. Version 1.20 Mar. 15, 1996
o Improved editor
o Added tables to tags.
o Rearranged screen layout.
2. Version 1.10 Aug. 15, 1995
o Added user-defined macro support.
o Added a backslash to the end of the special characters & .
3. Version 1.05 Jan. 31, 1995
o Corrected problem with data entry fields being too short or not usable.
o Improved help.
o Allowed both HTML script and IPF script screens to be re-sizable.
4. Version 1.04 Jan. 25, 1995
o Corrected problem with files, i.e. your browser, being corrupted
o Enlarged field lengths.
o Corrected problem with some tags.
5. Version 1.03 Jan. 21, 1995
o Integrated Browser/Editor programs.
o Added INI file.
o Improved IPF converter.
6. Version 1.02 Jan. 14, 1995
o First general release.
ΓòÉΓòÉΓòÉ 8. Author's Address and Information. ΓòÉΓòÉΓòÉ
American Coders, LTD joe@usacoder.rtp.nc.us (919) 846-2014 Copyright 1995 -
All rights reserved