Small company logo:
   History
 
Advertising banner:
 
 A136
Home • Help • A0 • Internet Services • A136
 
Publishing content to the web


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 (including regular text and literal HTML)
•       FirstClass home pages
•       HTML documents (including organization policies, maps, and so on)
•       external folders (containing non-FirstClass information, such as FTP resources).



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.
06092010_122716_1.pngNote
Never include more than one home page in any web site 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. Literal HTML can output Frames, Java code, tables, specific formatting (such as custom fonts), and image anchors.
06092010_122716_1.pngNote
Users without edit permissions will not be able to view text formatted in Literal HTML in the client.



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
or
•       create brand new templates using HTML and Internet Services script variables (see Customizing templates)
06092010_122716_1.pngNote
Advanced information such as script variables can be found on FCOL at Conferences > Peer to Peer Support > FirstClass Webmasters > FAQs.
IS script works only in server-parsed HTML files. By default, Internet Services considers these files to be server-parsed:
•       files ending in .SHTML or .SHTM
•       include files (.INC)
•       templates (from the .templates container).
•       forms created with FirstClass Designer and saved as an HTML document.
In the MIME Types file, you can define whether or not Internet Services should  server parse a file type.
For more information