Part of the Clay Basket Website. 7/22/96.

clay.website.getOutlineText

There's a new Apple Event implemented by Clay Basket, the glue script is at clay.website.getOutlineText, You can call it from a macro, it returns formatted text for the website outline that contains the page.

A couple of examples:

clay.website.getOutlineText takes four string parameters, the indent string, the outdent string, the linestart string and the lineend string. It builds a chunk of text by traversing the outline, adding an indent when it goes in a level, and an outdent when it surfaces.

At the beginning of each line we add the linestart string and at the end of each line we add the lineend string. For each line in the outline a hot reference is generated, so when the reader clicks on the line, the appropriate page will be displayed in the web browser.


This page was last built with Frontier on a Macintosh on Mon, Jul 22, 1996 at 10:34:22 PM. Thanks for checking it out! Dave