UserLand Software
Powerful, cross-platform web scripting.
 

Frontier 5: New Website...

Frontier Web Reference

Frontier for Windows Folder

Frontier for Macintosh Folder

Icons

Fat Pages

Outlines

Web menu

New Website...

Directives

PageHeader Attribute

Standard Macros

Tips and Tricks

Keyboard Commands

Useful Things

Site Source

The items created, their functions and defaults.

#filters

Filters are scripts Frontier uses to build pages.

  • firstFilter

    Called first.

  • pageFilter

    The default pageFilter makes the first character of every page large.

    This filter can be edited to modify a page before it is embedded into the template. It is called after the directives in the page are processed but before anything else has happened.

    To disable the default of enlarging the first character..., select the third line, the one that starts "try", and choose Toggle Comment from the Outliner menu. (And hit the Compile button.)

  • finalFilter

    FinalFilter is called at the end of the rendering process.

#ftpSite

The #ftpSite determines where Frontier will place the website files when they are rendered with Publish Page or Publish Table menu command.

  • folder

    The default is the Websites folder created by Frontier.

  • isLocal

    The default is true, meaning the files created with Publish commands will be stored on the local hard drive. If isLocal is set to false, then Frontier will launch the FTP client program and upload the pages as they are rendered with the Publish commands.

  • url

    This is the URL the site will occupy when it is on the Internet. Example: http://www.borg.com/mysite/

#glossary

This is a table that will contain the text substitutions called when Frontier renders a page, such as the information needed to build relative links.

Things inside the glossary table are not rendered when a site is published.

#images

This table will contain the images Frontier will render when called by the imageRef or bgImageRef macros.

#prefs

A subtable used as an organizational tool. Directives in the #prefs table do not need to be prefaced by a #, it will be assumed.

Things inside the glossary table are not rendered when a site is published. The default entries are used by the {bodyTag()} and {pageHeader()} macro and included in the <body> tag:

alink 008000
bgcolor FFFFFF
link 0000FF
vlink 800080

#template

  • {pageheader (title)}

    Creates the top of page HTML.

    Default:

    <html>
    <head>
    <title>title</title>
    <meta name="generator" content="Frontier 5.0 MacOS"></head>
    <body bgcolor="#FFFFFF" alink="#008000" vlink="#800080" link="#0000FF" text="#000000">

  • {bodytext}

    The contents of a web page is embedded in the page at the location of {bodytext} in the template.

  • {pagefooter ()}

    Adds </body> and </html> to the end of the published page.

  • title

    Generally included in every outline or wp object as the first directive listed.

    Used by the glossary to create relative links and by {pageHeader(title)} to create the <title> tag

#tools

Objects inside the tools table are not rendered when a site is published.

   


 
Site Scripted By Frontier
© Copyright 1996-98 UserLand Software. This page was last built on 2/20/98; 2:11:03 PM. It was originally posted on 2/9/98; 4:34:43 PM. Webmaster: thea@scripting.com.