Dr. Mark Humphrys

School of Computing. Dublin City University.

Online coding site: Ancient Brain

coders   JavaScript worlds

Search:

Free AI exercises


Lab - Web (more)


  1. I have the plays of Shakespeare in the file system of student.computing.dcu.ie
  2. Let us take these pages and put them through a number of alterations.
  3. Copy just the home page to your web directory:
    cd /users/tutors/mhumphrysdculab/share/shakespeare
    cp home.html $HOME/public_html/shakespeare.html
    
  4. View your version in the web browser.
  5. Q. What http address?

Fix CSS link

  1. The page will have some errors, notably the link to the "style" file (the CSS file) is broken.
  2. We will not look at CSS here, but we will just fix the link so the page style looks better.
  3. Open the page in an editor and search for the CSS link.
  4. Copy the CSS from my Shakespeare directory to your web directory so that the CSS link works. Use a command like above.

Fix images

  1. Embedded images are broken. Search for these images. What HTML tag are we looking for?
  2. Copy images needed to your directory.

Fix links

  1. The links to the plays are broken. We have a problem with fixing them since the University of Adelaide pages are gone.
  2. Find and replace the links so they point to the Internet Archive copy of the page:
     https://web.archive.org/web/2019/https://ebooks.adelaide.edu.au/s/shakespeare/william/PLAY/ACT.html 

Extra

  1. Copy all the Macbeth pages from my Shakespeare directory to your web directory.
  2. Change the links for Macbeth to point to your local pages not remote pages.


ancientbrain.com      w2mind.org      humphrysfamilytree.com

On the Internet since 1987.      New 250 G VPS server.

Note: Links on this site to user-generated content like Wikipedia are highlighted in red as possibly unreliable. My view is that such links are highly useful but flawed.