[Back to Developing an Advanced Web Page] [Forward to Managing a Web Site] [Contents]


4 - Developing an Expert Web Page

This chapter shows you how to develop an expert Web page by using foreign HTML tags and building your Web site:

For Tapestry Software Release 2.0, additional user tasks will be added to this chapter.


Introduction

This chapter contains some of the tasks, such as adding foreign HTML tags to develop an expert Web page. Note that additional information will be added for Tapestry Software Release 2.0.

Working With Foreign Tags

The source files for all Web documents are saved in Hypertext Markup Language (HTML) format, the markup language of the World Wide Web. After you develop a Tapestry document it is saved as an HTML text (ASCII) file, even though Tapestry has been designed so that you do not have to learn HTML.

The HTML standard changes rapidly. In addition, there are "Netscapisms", such as tables and frames that are not part of the HTML standard but are now widely used because of the popularity of the Netscape Navigator browser. Because Tapestry does not support all the possible HTML and Netscape tags, there is a Special->Foreign Tag command that allows you to add foreign tags to a Tapestry document.

Foreign tags that are not supported by Tapestry are indicated by icons (with a question mark on them). These icons are inserted in the appropriate position in the Tapestry document. Double clicking on one of these foreign tag icons opens a text dialog window where the text for the foreign HTML tag is displayed. You can edit this text. Thus you can view and edit HTML tags that Tapestry does not support. Some of the features that Tapestry Software Release 1.1 does not support include lists, forms, and tables. These features will be added to future releases of Tapestry.

For Tapestry Software Release 2.0, if you open an HTML document that was not created in Tapestry, Tapestry displays the document according to the markup that it supports, for example images are displayed, links are activated, and paragraphs are shown as white space. Other unsupported markup is stored, so that it is retained when the file is saved.

Adding Foreign Tags

Sometimes you may want to add tags that are not supported by Tapestry. These tags are referred to as "foreign tags". Tapestry does not correct or validate the foreign tags that you add. Thus you are responsible for making sure that you type in the correct syntax for the tag. If you are not careful when adding foreign tags you run the risk of adding illegal HTML tags which may prevent your pages from being correctly displayed on the Web.

To add a foreign tag to a Tapestry document:

  1. From the Tapestry window, choose Special -> Foreign Tag. A foreign tag icon (with a question mark on it) is added at the position of the current insertion point (mouse pointer).
  2. Double click on the foreign tag. An empty text dialog box (called Edit the contents of this tag) is displayed.
  3. In the text dialog box, type in the foreign tags (for example, the tags for an unordered list). Each tag must begin with a begin-angle-bracket (<) and end with a close-angle-bracket (>).
  4. To confirm the edit action, click OK.
  5. Start Netscape Navigator and test your pages using the File -> Open File... command to make sure that they display correctly. This test is particularly important when you have edited or added foreign tags.

Editing Foreign Tags

Editing a foreign tag is similar to adding a foreign tag. To edit a foreign tag in a Tapestry document:

  1. From the Tapestry window, double click on the foreign tag. An text dialog box (called Edit the contents of this tag) with the foreign tag is displayed.
  2. In the text dialog box, edit the foreign tag. Each tag must begin with a begin-angle-bracket (<) and end with a close-angle-bracket (>).
  3. To confirm the edit action, click OK.
  4. Start Netscape Navigator and test your pages using the File -> Open File... command to make sure that they display correctly. This test is particularly important when you have edited or added foreign tags.

Note that Tapestry may occasionally have difficulty in correctly identifying some of the foreign tags when you try to open a document authored with another HTML authoring system. Future releases of Tapestry will correct these problems. However, for Tapestry Software Release 1.1, if you are having problems opening a foreign HTML file you can use a text editor, such as SimpleText to add and remove problem tags in the HTML source file. Then after the foreign HTML file is open in Tapestry you can add any problem tags (using the Special -> Foreign Tag command) that were removed from the file to get it to open in Tapestry.

Building a Web Site

After you have developed a few pages of information for your Web site, you need to collect all the relevant HTML text files and transfer them to your Internet Service Provider. Tapestry has a process to help you organize all your Web files and build a Web site for you. If it can, Tapestry will correct some errors automatically and also check for missing links. If you have any missing links, Tapestry asks if you want to view them and if you choose Show displays the errors in a Tapestry window.

To build your Web site and check for errors:

  1. From the Tapestry window, choose the File -> Build Site... command. Tapestry checks your HTML tags for any errors and does one of the following:

  2. In the directory dialog box, select a folder on your hard disk and type the name of your source file (the default file name is index.html) and if required, the name of the common folder and click on Save. The files for your Web site are saved in a folder.

Checking for Errors in a Source File

Using Tapestry, you will not have any errors when you build a Web site provided that you do not move the source files to different folders on your hard disk after you have added links to them. If you do move the files on your hard disk the links become broken. Also, it is possible to add incorrect foreign HTML tags to your Tapestry document. Tapestry 1.1 finds and corrects some HTML errors, but is not designed to find all the HTML errors.

Transferring Files to the Internet Service Provider

After you have completed the File -> Build Site... operation, the Tapestry software creates a common folder containing all your HTML Web pages for your Web site. This common folder can contain the following folders:

You are now ready to transfer your files to your Internet Service Provider (ISP). The ISP maintains a computer for storing your files and usually gives you instructions on how to organize and transfer your files. You can send your files by:

For more information on transferring files and using Fetch, contact your Internet Service Provider.


[Back to Developing an Advanced Web Page] [Forward to Managing a Web Site]

[Contents] [Glossary]

[Index A B C D E F G H I J K L M N O P Q R S T U V W X Y Z]