CPSC 120 Lab 8:
Converting your Documents for the Web
If you want to have a personal Web site, you might want to put up a resumé on it. You could also include a portfolio of your work. If you have documents that you have written in a word processor, it can be pretty easy to convert them into HTML format for publication on the Web. Major word processors, such as Microsoft Word and Word Perfect, allow you to save a document in HTML format. So, if you already have a document, publishing it on the Web can be as easy as opening it in one of these word processors and doing a "Save As" HTML. If you mount your math account as a Windows drive, as described in earlier labs, you can even save the file directly into your www directory. Don't forget to save it using a file name that ends in ".html". And don't use a name that contains spaces or other funny characters.
Once the document has been saved in HTML format, you might want to edit it, using nedit, to fix up the formatting. If it's a long document, you could split it into sections, and maybe display it in a frame, with a menu in another frame.
When you save a document from Windows into your math account, you might have trouble with permissions. That is, it might be saved in such a way that the Web server does not have permission to read the file. You can fix the permissions using the GUI interface, if you want. Open your www directory in a window. Right-click the file, and choose "Properties" from the pop-up menu that appears. This will open a properties dialog box for the file. Click on "Permissions" at the top of this dialog box, and you will see the permissions for the file. Make sure that the box under "Read", "Others" is checked. (For a directory, you should make sure that the box under "Exec", "Others" is checked.) If you do this, the file should be accessible on the Web.
[ Previous ]