Copying the Poetry Engine
Version 1.0

  1. Create a new directory on your hard drive. You might want to name it "Poetry".
  2. Copy the following files to your new directory by right-clicking on each link and choosing "Save Link As..." from the menu:
      copy.htm (this page)
      include.htm (sample code to create a link to a random poem in any web page)
      index.htm (the main index-page generator)
      index.js (sample index file)
      info.htm (the information page)
      poem.htm (the poem formatter)
      random.htm (the random-poem chooser)
      sample.js (sample poems)
  3. Edit your web pages and create a new directory there.
  4. Upload all the files you just copied from your hard drive to your new directory.
  5. Now type the URL of your new directory in the Location: line of your browser and press Enter. You should see an index page exactly like mine, but with fewer poems.
  6. Type your own poems, either directly into the "sample.js" file or as new ".js" files. Read the source of the "poem.htm" file for complete instructions on the format of these files.
  7. Update the "index.js" file to point to your new poems. Complete instructions are in the "index.js" file itself.
  8. Edit the .htm files to reformat the pages as you desire.


Back to information page   |   Back to index