Generating Reports for a Site


While testing your site, you can compile and generate reports on several HTML attributes by using the Reports command, which lets you check several options, including searching for untitled documents and redundant nested tags. You can run reports on a single document, a folder, or the entire site to help you troubleshoot and find potential problems before publishing your site.

1.

Select the Reports folder in the Lesson_15_Testing folder in the Files panel. Click the Files panel group Options menu (Macintosh only) and choose Site > Reports.

The Reports dialog box opens.

2.

Choose Selected Files In Site from the Report On menu. Leave all the options in the Workflow area unchecked. Check all the options in the HTML Reports area except for Accessibility.

The Workflow options are most useful when you are collaborating with a Web team and need to quickly see who has checked files out and what design notes have been created. The Check In/Out and Design Notes features were covered in Lesson 14.

The HTML Reports options check for combinable nested font tags, accessibility, missing alt text, redundant nested tags, removable empty tags, and untitled documents.

You can choose to run reports on the current document, an entire local site, selected files in a site, and a specific folder.

3.

Click Run to create the report.

A list of results displays in the Results panel. In this case, Dreamweaver alerts you that the About.html document has not been given a title.

4.

Click Save Report on the lower-left corner of the Results panel and save the report in the Lesson_15_Testing folder.

All reports are saved as XML files with the .xml file extension.

The Reports command lists problems in your pages, but does not fix them.

Note

After running the reports, you can use Clean Up HTML on any open documents by choosing Commands > Clean Up HTML. This command fixes many, but not all, of the problems found in the site report. A dialog box appears with a number of items you can choose to have Dreamweaver remove: empty tags, redundant nested tags, non-Dreamweaver HTML comments, Dreamweaver HTML comments, and specific tags. You can also choose to combine nested <font> tags when possible (if <font> tags are used in your pages) and to show the log upon completion. The log gives you a detailed list of the changes that were made to the document. More information about this feature will be given in Lesson 16 when you work with the code.





Macromedia Dreamweaver 8(c) Training from the Source
Macromedia Dreamweaver 8: Training from the Source
ISBN: 0321336267
EAN: 2147483647
Year: 2006
Pages: 326

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net