This section describes how to author and publish files easily. The
method described works only if your system is running the FastTrack
server.
-
Using dirview, open your home directory and locate the
directory public_html; open this directory.
This is the directory in which you'll author all your HTML documents.
-
In dirview, add a shelf to the open project root directory
window by choosing View > Shelf.
-
Place the cosmocreate icon on the shelf.
-
Choose Web Tools from the Find toolchest.
-
Drag the cosmocreate icon from the Web Tools page of
the icon catalog onto the shelf.
-
If you plan to include images and other types of media in your
documents, create subdirectories for each media type. This makes
finding and linking the files much easier.
For example, you might create one subdirectory called images
and another called movies.
-
For each subdirectory you created, create a shelf as you did in the
project root directory, and drag the appropriate media tools onto the
shelf.
-
Choose Media Tools from the Find toolchest to see all the available
tools. This step makes it easy for you to create and edit media files
and save them in the proper subdirectory.
-
Create the files you plan to link to or, if they already exist in
another location on your system, move them or place copies of them in
the appropriate subdirectories.
For example, copy several GIF or JPEG files into your images
directory.
Note: To save on disk space, rather than copying files into
the subdirectories, you can make linked copies of files by choosing Selected
> Make Linked Copy in a directory view window. Then drag
the linked copies into the subdirectories and remove
"link_to_" from the filename.
-
Start Cosmo Create from the shelf, either by double-clicking its icon
or by dragging an HTML document icon from the project root directory
onto the Cosmo Create icon.
-
Edit and save your HTML document in the public_html
directory.
The document is automatically available for viewing. Other users can
view the document by specifying the following URL:
http://<systemname>/~<username>/<filename>.