CPSCI 105: Explorations in Computer Science
Lab 9
February 22, 2007
Today's topics are meta elements and blogging, though we'll be
discussing more CSS along the way. You can begin on the first
two parts of the lab as soon as you're done taking today's quiz.
Modifying your emacs configuration file
-
Log in on warp and stay
in your home directory (not
your public_html directory). Open your .emacs
file in emacs.
-
Right-click on the the following hyperlink and open it in a new
browser window (that way you'll still be able to read these instructions):
emacs-Lisp code.
-
Go to your emacs window and go to the bottom of your .emacs file.
Copy the emacs-Lisp code from the browser window and paste it
into your .emacs file at the very end of the file.
(This is some experimental code that we may need to modify (or delete)
next week, so I want you to put it where you can find it easily.)
-
Save the file and exit emacs.
Blogging
-
Make public_html/img your working directory.
-
Copy the files
logo.jpg and
lgrey090.gif
from the directory /home/public/web-authoring/img/
to your img directory.
Make the files available to the web server (i.e., make them readable by others).
-
Make public_html/labs your working directory.
-
Copy the files
logo.html and
background.html
from the directory /home/public/web-authoring/
to your labs directory.
Make the files available to the web server.
-
Copy the file blog.html from the directory
/home/public/web-authoring/ to your labs directory.
Make the file available to the web server.
-
Open blog.html in emacs (but don't do anything with it yet).
Also open it in a browser window.
Stop when you reach this point and wait for the rest of the class
to catch up.
For the remainder of the lab, I'll show you how to
do stuff. Take good notes.
Most of what we'll talk about has been covered somewhere in the
readings that have been assigned over the past two weeks.
[ Return to the CPSCI 105-01 homepage ]
Brian J. Rosmaita <contact me>
This page was last modified Thursday, 22 February 2007 at 02:44 UTC.