The Windows, Macintosh, and Unix/Linux operating system all use slightly different text file formats, with hard returns handled differently on each system. To make it easier to work with the book's example HTML files, the example files are available for download in Windows, Macintosh, or Unix/Linux versions. Download and extract the example ZIP files that are designated for the system you are using.
There are three different methods you can use to download and extract the example ZIP files:
Windows XP Method
Windows XP and Me users can automatically download and open ZIP-format files as "compressed folders" and should not need additional software to open and extract the contents of a ZIP-format file. When you download a ZIP file to your computer, it will be displayed as a compressed folder (with a "zipper" icon). Before using the example files, however, you will need to extract the contents of the compressed folder to a non-compressed folder:
Click "Extract all files" in the Folder Tasks list to start the Extraction Wizard.
Choose the location where you want to extract the example files (the My Documents folder, for instance) and then extract the files. The example files will be extracted to an HTML_Examples folder (in the My Documents folder, if that is where you chose to extract the files).
For this method, you will need to have WinZip or other file compression software installed on your computer. You can download WinZip at http://www.winzip.com/. Just follow these steps to download the example files if you have WinZip installed:
Click on the link to any of the Windows example ZIP files.
Leave the Open Using WinZip radio button selected. Click OK.
If WinZip opens in the Wizard Interface, click the WinZip Classic button.
Skip ahead to Extracting the ZIP File Contents.
This method allows you to bypass the prompt to open or save the file and go directly to saving the example ZIP files to a folder of your choice on your hard drive:
Right-click on the link to any of the Windows example ZIP files.
In Internet Explorer 6, select Save Target As. In Netscape 6 or Mozilla, select Save Link Target As.
Use the "Save in" list box to navigate to and open the folder where you want to save the example ZIP files (the My Documents folder, for instance). Click the Save button to save the file.
Run WinZip. If WinZip opens in the Wizard Interface, click the WinZip Classic button.
Skip ahead to Extracting the ZIP File Contents.
Extracting the ZIP File Contents Using WinZip
These steps assume you have opened the example ZIP file in WinZip (using the Classic Interface):
Click the Extract button on the toolbar.
Specify a drive and folder to which you want to extract the contents of the ZIP file. For instance, type C:\My Documents in the "Extract to" box to select to extract the ZIP file contents to your My Documents folder. You can also use the "Folder/drives" panel to navigate to and open the folder to which you want to extract the ZIP file contents.
Click the Extract button. This will extract an HTML_Examples folder, containing all of the example folders and files, to your My Documents folder (or any other folder you specified in step 2.
You can use Windows Explorer or My Computer to look for and find the HTML_Examples folder in the C:\My Documents folder (or any other folder you specified in step 2. Double-click on the folder to open it.
Repeat these instructions to download and extract the contents of each of the example ZIP files, extracting them all to the same folder (My Documents, for instance). They will all extract to the same HTML_Examples folder.
Windows users can also use PKZIP to open and extract the contents of ZIP-format files. PKZIP can be downloaded from http://www.pkware.com/.
It is not anticipated the students will be working on Unix or Linux systems in a classroom or computer lab situation, but some students may want to work with the book's examples on a Linux computer at home, for instance.
You or your instructor need to download and extract the following example ZIP files:
contains example files used to complete the case examples for Part 1.
Stuffit Expander, a freeware file decompression utility, is also available for Linux or Solaris. You can download it at http://www.stuffit.com/.
PKZIP for UNIX is available in Standard and Professional Editions for Linux, Solaris, HP-UX, and IBM-AIX. You can download it at http://www.pkware.com/.
Linux and Unix users might also be able to use the Unzip command to unzip a zip file. For instance, key "unzip html_examples_unix.zip" to unzip the contents of that file. Other commands that might be available include Uzip and Gunzip.
The main thing to keep in mind when working with the example files is that any examples you create that make use of the downloaded example files must be saved in the example folder for the chapter you are working in. If you have downloaded and extracted the contents of all of the example ZIP-format files, in the resulting HTML_Examples folder you will find separate folders (chap01, chap02, chap03, and so) that contain the example files for each chapter. Thus, if you are working creating a case example in Chapter 3, you need to save any files you create to the chap03 (included in the HTML_Examples folder that you extracted to your hard drive). You can copy the chap03 folder (or any of the other chapter example folders) to another folder. You can also copy the chap03 folder to a floppy disk, if you have been instructed to by your instructor to save your work on a working disk or if you want to take your work home or to another computer.