Activities for FRF 101O
2 December 2002

More Web Authoring

Overview

Today's session will have three purposes:

1. Have you develop a page using a web authoring program (Netscape Communicator)

2. Have you save a file and upload it to Wilkes1

3. Have you change permissions and view your page on the web 


I . Creating a page using a web authoring program

Explanation: You will need to create an HTML file that contains the desired content, properly formatted, with active links. Such files can be created in any text editor like MS Word or a "SimpleText: application, and saved as a "Plain Text" file. However, there are numerous applications that allow you to type a document and add formatting in a WYSIWYG environment, and a tagged file is automatically created.

We will use the Composer option within Newscape Navigator to demonstrate use of a web authoring program.

To do:

II. Uploading your webpage to Wilkes1.

Explanation: You will need to transfer the file that you created and saved on your hard drive over to the webdocs folder in your wilkes1 account. To do this, you will need to use a file transfer program like WS-FTP. You will then need to set the source window to the directory on your hard drive where you saved the file, and the target window to the webdocs folder in your wilkes1 account.

To do:

 

III. Changing permissions

Explanation: All files on wilkes1 have three options for action: read (allows you to read a file), write (allows you to compose or change a file, and execute (allows you to make a program run). Unix has a set of commands that allows you to determine whether you or somebody else has the permission to carry out those three functions.

We define three levels of permission, user (the owner of the account), groups (the collection of users within which your account resides - like "users" or "staff"), and others (everybody else with access to the web).

You can check on the permissions status of your files by typing the command "ls -la". A listing of your files and their permissions will be displayed for you in a series of nine letters.

By default, most files that you upload to wilkes1 (or directories that you create) allow you (the user) to read, write, and execute them. However, such permissions are not automatically granted to others, either in or out of your group.

To publish on the web, you need to grant permission to allow everybody else to see and execute your files - but not to write them (you don't want people to change the content of what you post). Unix has the command "chmod" that allows you to change permissions.

The command "chmod 755 filename" will allow you to change the permissions to the desired set.

Note that once you upload a new file to the web, you must change permissions. You can make changes to that file, and re-upload as often as you want, without changing permissions. However, if you upload a new file, you must change its permissions before people can see it. Failure to properly change permissions is a common source of "404 error" messages.

To do:

IV. Check demo

V. Review Assignment


Return to Homepage for FRF 101O

This page posted and maintained by Kenneth M. Klemow, Ph.D., Biology Department, Wilkes University, Wilkes-Barre, PA 18766. (570) 408-4758, kklemow@wilkes.edu.