LIS 523 - XRefHT32 Lab

This lab will give you some hands-on experience with using XRefHT32 to create a site index.

To do the lab, you will need 5 pages from the site that you are designing for the term project. These pages may still not be in their final form, but should have proper titles and headings and contain substantial amounts of text.

You also need to have installed both XRefHT32 and TheW32 and either downloaded a sample TheW32 thesaurus or created a TheW32 thesaurus of your own. The sample thesaurus craven.the contains a brief selection of terms related to subject access and computer applications; the much larger tgm.the contains a version of the Library of Congress Thesaurus for Graphic Materials.

  1. Run TheW32 and open the sample thesaurus or the thesaurus that you have created.
  2. Leave TheW32 running and run XRefHT32.
  3. In XRefHT32, select "Editing" from the "Window" menu.
  4. In XRefHT32's editing window, do the following for each of your 5 HTML files:
  5. Select "Indexing" from the "Window" menu to return to the main XRefHT32 window.
  6. Select "Extract headings from" from the "File" menu. In the "Open" dialog, select all 5 of your HTML files and click on "Open". In the "Levels" dialog, set the first level to 2 if your level-1 headings are all the same as your page titles; otherwise, leave the setting at 1; click on "OK". In the "URL Prefix" dialog, leave the edit box empty and click on "OK". Wait for XRefHT32 to extract all the headings and then look at the items that have been added to the list.
  7. Select "Save list as" from the "File" menu. Save the list as xrelab01.anc.
  8. Select "Extract titles from" from the "File" menu. In the "Open" dialog, select all 5 of your HTML files and click on "Open". In the "URL Prefix" dialog, click on "OK" as before. Scroll down to the end of the list and note the entries that have been added for titles.
  9. Save the list again as xrelab01.anc.
  10. Select "Extract meta keywords from" from the "File" menu. Proceed as before with the "Open" and "URL Prefix" dialogs. Note the entries that have been added for keywords at the end of the list.
  11. Save the list again as xrelab01.anc.
  12. Check "Include crossreferences" in the "HTML index creation" submenu of the "Options" menu.
  13. Select "Create HTML index" from the "File" menu. In the "Save HTML code in" dialog, save as xrelab01.htm.
  14. Select "Preview in browser" in the "Tools" menu. Your default browser should open and show you the HTML index. The cross-references in the index may be more or less useful, depending on how well the subject matter of your pages fits that of the thesaurus. Note any problems with the index entries, such as the same term appearing both with and without an initial capital.
  15. Switch back to the main XRefHT32 window and edit the list. Eliminate duplicates and useless entries ("Delete item" in the "Edit" menu). Modify entries to standarize format, eliminate initial articles, etc. (click on a cell and then click again to enter edit mode). Add some further entries of your own if you wish ("Insert item" in the "Edit" menu).
  16. Save the modified list as xrelab02.anc.
  17. Uncheck "Include crossreferences" in the "HTML creation" submenu of the "Options" menu.
  18. Select "Create HTML index" from the "File" menu. In the "Save HTML code in" dialog, save as xrelab02.htm.
  19. Select "Preview in browser" in the "Tools" menu. Examine your modified, uncrossreferenced index.
You should now have 9 files: the 5 HTML files with the added keywords; xrelab01.anc, xrelab01.htm, xrelab02.anc, and xrelab02.htm. Submit these 9 files as e-mail attachments.
Home

Last updated November 29, 2004.
This page maintained by Prof. Tim Craven
E-mail (text/plain only): craven@uwo.ca
Faculty of Information and Media Studies
University of Western Ontario,
London, Ontario
Canada, N6A 5B7