A Guide for World Wide Web Content Creators

This guide is intended to give you the procedures necessary to publish content on the CSUH campus web server. Please note that any items submitted to the Campus Web Administrator must meet these guidelines before they can be placed on the campus web server.

Step 1 - Creating content
When creating your HTML files, you will need to create the entire directory structure necessary to run your web pages, and test it using Netscape 1.1N or higher on your machine. We highly recommend that you make all your hyperlinks relative, and not absolute.

For example, instead of:

HREF="http://www.csuhayward.edu/mydir/index.html">
(example of absolute path to object)

use the structure as follows:

HREF="mydir/index.html">    
(example of relative path- Preferred!)

In the previous examples, "mydir" refers to the directory where your files will be stored on the campus web server, and "index.html" refers to your index file. You are generally free to pick the name of your directory, but keep in mind that the exact directory name will be dictated by the campus web administrator. We would like you to keep your directory name short and intuitive (for example, the school of business would be "sbe," and not "Business"), and we must avoid duplicate names.

If the relative links are working correctly on your machine, they will work correctly on the server. However, you must keep in mind that there are a few things that will work on PC's and Macintosh's that will not work in Unix. For this reason, you will want to follow these rules:

a.Your Main page must be titled "index.html". This way, you will be able to give the address to outsiders as "www.csuhayward.edu/mydir/", without having to also specify the file name. This will also help to prevent people from seeing the directory structure instead of your web pages when accessing your website.
b. We highly recommend that all files and all hyperlinks be lower case. Html pages will work on a file basis from your hard drive if the case does not match because the Netscape client for PC's & Mac's are not case sensitive. However, when placed on the UNIX server, upper and lower case will matter. For example, if you have a reference to the file HREF="gifs/mygif.gif", and the file is named mygif.GIF, the graphic will not show up in your pages.
c. Keep your directory structure simple, and flat. You should have a subdirectory for each major section, but please avoid creating excessive subdirectories. In the "mydir" directory, put "index.html". Place all gifs in the gif subdirectory, and all jpeg's in the jpg subdirectory. In the sub1, and sub2 subdirectory, place the various sections of your page.

Step 2 - Checking Functionality
To test your web pages, open Netscape, and then choose "Open File" from the file menu. Test your entire set of pages thoroughly to ensure that all links function properly, and that all graphics appear correctly.

Step 3 - Submitting your Content
The first time you submit your content, you will need to contact the web administrator to create a subdirectory on the web server, and grant you access. They will then create a link from the home page to your web pages. From this point on, it will be your responsibility to maintain your section on the campus web server. This will include uploading updated files via ftp, and fixing typos and spelling errors. Failure to adhere to these guidelines will result in those files being returned to be brought into compliance. Please see the proposed web policy section on the main campus webserver at www.csuhayward.edu/WebPolicy.html for additional guidelines and regulations.

To place your content files on the web server, you will need ftp capability. For the PC, Lan Workplace for DOS 5.0 is recommended. For the Macintosh, Fetch 2.12 is recommended. To start uploading content to the web server, point your ftp program to www.csuhayward.edu. Your web files will be stored in the /usr/ns-home/docs/mydir directory.

FTP instructions for PC: From inside Windows, open the "Rapid Filer" FTP program, and login to the server at www.csuhayward.edu. Once you are in your home directory under /usr/ns-home, you can start uploading files. Inside the local drive window, navigate to where your html files and directories are located. Next, make sure that the remote drive winow is in the /usr/ns- home/docs/mydir directory. You should be able to simply drag and drop all your files and directories to the web server.

FTP Instructions for Macintosh: Before logging in, go to the customize menu, and select preferrences. Under "Uploading", uncheck the box titled "Add suffix to files".

Open Fetch 2.12 (if you an earlier version, you can obtain 2.12 from the Delta server in HAY_CSVCS - Login:shareware, Password:none) and login to the campus web server at www.csuhayward.edu, and navigate to /usr/ns-home/docs/mydir. From the remote menu, select put folders and files. A dialog box will pop up asking you which files you want to transfer. Navigate through your hard drive, and select the files and folders to be transfered. After you are done selecting files, hit the "DONE" button. The following dialog box will pop up allowing you to choose the upload formats. Change the category "Other Files:" from MacBinary II to Raw Data. If you upload files in MacBinary format, and not Raw Data, your graphics files will be trashed!

Now is the time to test functionality of your files from the web server. You can check your files by pointing your web brower to www.csuhayward.edu/mydir/. If you have named your index file something different than index.html, Netscape will display a directory instead of bringing up an HTML file. Note: If you do not have a file named index.html in your directory, anyone can see a directory of your files, and can open old versions of files that you might not want available on the web. For security purposes, we recommend that each directory in your file structure have a file named index.html to prevent snooping.

Once you have checked ALL links and verified that everything is functioning properly, your site can be linked to the main campus home page. Contact Earle Lane at x4742, and request that a link be placed on the appropriate home page.