Related Topics
Any information on your FirstClass system can be served out to the web. This information can include:
• FirstClass conferences and folders (original containers or aliases)
• FirstClass documents
• FirstClass home pages
By default, Internet Services automatically places
• HTML documents
• external folders (see Introducing FirstClass).
Creating a home page using a text editor
You can create a home page using a standard text editor. When serving out your home page to the web, Internet Services looks for a file with valid HTML code, a FirstClass document with regular text and images, or a combination of both. The home page must reside inside a site-specific container for Internet Services to access it.
You can create an HTML file using a simple text editor. Internet Services will automatically search for HTML files with the following names:
• default.html, default.htm, default.shtml, default.stm
• index.html, index.htm, index.shtml, index.stm
• home.html, home.htm, home.shtml, home.stm
• Home Page.
Once Internet Services finds a file with one of these names, it automatically opens it. If none of these files exists, Internet Services displays the contents of the site containers.
Note
Never include more than one home page in any Internet Services container.
If you wish to have an HTML file which includes references to containers or external folders (see Introducing FirstClass), you need to include the appropriate HTML code. You can reference FirstClass containers located in the WWW container using standard HTML code. For example, if you have a container named Services you wish to reference in the same location as the HTML file, use this code:
HTML code <a href=”Services”>Services</a>
Creating a home page using a FirstClass document
Open a home page using a FirstClass document through Message > New Document Special > Site Web Page. This file can contain regular text, literal HTML code or a combination of both and it does not require an extension.
If you use the Literal HTML style option (Format > Style > Literal HTML), highlight the code you want converted and apply the Literal HTML style to it. Internet Services will output this content as is for a web browser to interpret.
Creating site content
Internet Services serves out any content you place in a site container. This content can consist of HTML files or FirstClass content such as containers (conferences and folders), documents, and messages. Site content is subject to standard permission restrictions. For example, if you place a restricted
conference in your web site container and your users try to access it, they will be prompted to provide a valid user ID and password.
To create site content, place any documents, or containers (or aliases of these containers) in a site specific container that you want to serve out to the web. Internet Services renders on the fly, so changes to conferences or folders will be automatically displayed when the web page is reloaded.
Creating custom templates
You can customize your FirstClass templates to reflect the type and appearance of information that you want served out to your web users. To do this, you can
• copy an existing template set into a FirstClass document or text editor, and customize the code
• create brand new templates using HTML and IS script (see Creating templates)
Note
IS script works only in server-parsed HTML files. Internet Services considers these files to be server-parsed:
• files ending in .SHTML or .SHTM
• include files (.INC)
• templates (from the .templates container).
• create a new form using FirstClass Designer, and save it as an HTML document).
|