The View From Here: Maintaining a Web Site with Userland Frontier, part 3

  Locations of visitors to this page
be notified of website changes? subscribe
lawyers!

 

Frontier

Using Frontier

Extending Frontier

adding favicons

migrating websites

Using CSS

Fixing Radio 8.1

Fixing Frontier 5

nextPrev broken

err log sans timestamp

temperature conversion

our WebRing

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

The View From Here: Maintaining a Web Site with Userland Frontier, part 3

5

I skipped over some details in the template and page discussion to show the progression from source text to final web page, but now let's hit those points. You'll use this information in each web page you write. Once again, here's the template:

user.websit.jungle.#template

The first line shows the pageheader macro - all macros have the form {macroname ( "parameter" )} - that takes a parameter of <title>. This item is replaced by the #title directive you supply in the text portion and makes it the browser window's title (for bookmarking, etc.). Immediately thereafter I use the <title> to make a second-level header that shows the title (for those browsers which don't display the document title in the title bar).

The <bodytext> item is replaced by the web page text.

The remained of my template is the bottom page decoration, including the imgFileRef macro (used to place a GIF into your web page). Stored in user.html.macros.imgFileRef, this macro looks in a directory named "gif" in the directory you've specified in your #ftpsite. I modified imgFileRef to look in a more generic images directory. I also made a jpegref macro. These are mostly trivial and are left as an exercise for the reader.

Two points to note about the string I pass to imgFileRef, "logos/frontier/cactus". One, there's no ".png" suffix, imgFileRef adds that for me. Two, I've passed it a specifier that contains two folders and a filename, which follows my disk-based file hierarchy:

file system hierachy

To be absolutely clear, note that the images folder (and contents) is the only thing not generated by Frontier. The culture folder (and contents) are generated by Frontier when I ask it to render a web page or a hierarchy.

There you have it; everything I know about starting and maintaining a web site with Frontier. As I learn more I'll update this document. And as Frontier 5 is released in early 1998 I'll tell you about it too.

[Previous]

This page is part of the Userland Frontier WebRing. webring List all this webring's pages; visit another page; add your page to this webring.

Have you found errors nontrivial or marginal, factual, analytical and illogical, arithmetical, temporal, or even typographical? Please let me know; drop me email. Thanks!
 

What's New?  •  Search this Site  •  Website Map
Travel  •  Burning Man  •  San Francisco
Kilts! Kilts! Kilts!  •  Macintosh  •  Technology  •  CU-SeeMe
This page is copyrighted 1993-2008 by Lila, Isaac, Rose, and Mickey Sattler. All rights reserved.