6 web content - authoring, 1 web server example applications, 2 web authoring reference material – Horner APG XL4 OCS HE-ETN300 User Manual

Page 77: 3 web authoring tools, Web content - authoring, Web server example applications, Web authoring reference material, Web authoring tools

Advertising
background image

SUP0740-07

CH.11

11/30/2009

Page 77 of 98

# 958

The required fmt parameter is followed by a dash and a data entry format type. Valid format
types are BOOL, BIN, HEX, INT, UINT, DINT, UDINT, REAL and ASCII. Three of these format
types (BOOL, REAL and ASCII) have optional or required modifiers as follows:

The BOOL format writes a single bit, and two optional modifiers indicate the text that must be
submitted to set the bit to its logical On and Off states. If these modifiers are omitted, they default
to “TRUE” and “FALSE”, so that fmt–BOOL is equivalent to fmt–BOOL–TRUE–FALSE.

The REAL format writes a 32-bit floating-point value, and data can be entered in either standard
decimal notation or in scientific notation as desired, with or without the –E modifier. The –E
modifier is not necessary and is ignored if present.

The ASCII format accesses a string of ASCII characters, and a string size modifier from –1 to –31
is required, indicating how many ASCII characters will be written when the form is submitted. For
example, the fmt–ASCII–10 format writes a string of 10 ASCII characters. If the user enters an
ASCII string that is smaller that the specified string size, the submitted string will be padded with
spaces.

11.6

Web Content - Authoring


Web content can range from very simple to extremely complex depending on application needs.
As such, it is well beyond the scope of this supplement to attempt to provide a tutorial on the
subject.

11.6.1 Web Server Example Applications


One of the best ways to learn how to use the HTTP Web Server is to study working examples.
OCS HTTP Web Server Examples are available for download on the Horner APG, LLC web site
at:

http://www.heapg.com/Pages/TechSupport/Downloads.html

11.6.2 Web Authoring Reference Material


Those who are relatively new to web content development would be well advised to obtain and
study one or more published books on the subject. Here are two good places to start:

Crowder, David A. and Bailey, Andrew.
Creating Web Sites Bible, Second Edition.
Indianapolis, IN: Wiley Publishing, Inc., 2004.
ISBN: 0-7645-7498-1

Powel, Thomas A.
HTML & XHTML: The Complete Reference, Fourth Edition.
Emeryville, CA: McGraw-Hill/Osborne, 2003.
ISBN: 0-07-222942-X

11.6.3 Web

Authoring

Tools


There are several 3

rd

party tools available to assist in the development of web content. These

tools come in four basic types: Text Editors, HTML Editors, WYSIWYG Programs and Word
Processors.

Text Editors require intimate knowledge of HTML (HyperText Markup Language) and are
therefore not for the faint of heart. However, many experienced web developers prefer to work
using a plain text editor.

Advertising
This manual is related to the following products: