Autumn '03

Turning in homework online

First time you do this, create the directory that will be visible to the outside world and will contain all 220a homework.

The new directory should be under your web directory: [type in a terminal, and note that the `~' is short hand for your home directory, `~cc' is for mine]

cd ~/Library/Web

mkdir 220a

cd 220a

cp ~cc/220a/index.htm .

ls ~/Library/Web/220a


...this will change you to your web-visible directory, add the course subdirectory, change to it, copy in an index file, and then list the directory contents to verify.


Each homework will be a new file added to the web 220a directory, numbered respectively. By the end of the quarter the contents of the directory should include in its list:

index.htm

hw1.htm

hw2.htm

hw3.htm

hw4.htm

hw5.htm

fpr.htm



So it's now time to make your web page for hw1... when saved it'll have the full pathname:

~/Library/Web/220a/hw1.htm


I use OpenOffice for editing most office biz these days. It's pretty good at doing these html formats, and inserting graphics, etc.

Operation is pretty straightforward and the help menu is useful when it's not. When you have your file saved to the above filename, check it with a browser pointing to our homework factory.


The web space directory is part of your regular disk space, so adding soundfiles (especially the large ones) with the usual hyperlinks requires one more step. Each big file that will be hyperlinked should properly live on the snd disk, so do the following to create a symbolic file link (think of this as an “alias”):

ln -s /usr/ccrma/snd/220a-2003/<your login>/<the file> ~/Library/Web/220a/

Now, the file shows in the web 220a directory and web hyperlinks to it can be found, but the file remains on the snd disk.