Microsoft Office Visio 2003 Inside Out (Inside Out (Microsoft))

Visio shows you broken links in your site map by displaying a red X on shapes that represent a broken link. Even better, Visio stores the reason for the broken link as a custom property of the shape. You can right-click a shape in the site map and then choose Properties to display information about the link, including errors associated with broken links (as Figure 15-18 shows). Visio can’t fix the error for you—you have to do that using your Web development tool. However, after you have repaired the problem on the site, you can update your site map by right-clicking the broken link shape, and then choosing Refresh Hyperlink <Address>.

Figure 15-18: Visio displays a red X on shapes that represent broken links. In the Custom Properties dialog box, the Error field reveals the type of error that Visio uncovered when mapping the site.

Visio can help you troubleshoot a site in other ways as well. You can generate reports that provide information about links or shapes in your site map, and you can compare different versions of a site map. The sections that follow tell you how.

Reporting on a Site’s Problems

Visio can create reports about the contents of your site map and the errors that were found when the site map was generated. Reports are based on the underlying model that Visio created when it generated your site map, not just the shapes that appear on the drawing page. Both of the following reports list broken links and other errors; they differ in how they organize the information:

Visio creates reports as HTML, Excel, Visio shape, or XML documents that open in your browser, as Figure 15-19 shows. To save a report, choose File, Save As, and then type a new name and location.

Figure 15-19: When you create a report, you can see all your broken links at a glance or review a list of links by file type.

Cross-Reference

For details about customizing reports based on the shapes in your site map, see “Creating Reports,” page 190.

Comparing Versions of a Site

If you have saved a site map diagram that you created earlier for a site that you’re mapping again, you can compare the two versions of the site. Visio includes a report specifically for listing modifications to a Web site based on a site map saved in a separate drawing file. Visio compares the links stored in the site’s two models and looks for files that are unique to each version. For each modification, the report lists the type of change, the hyperlink address and shape associated with it, and any errors, as Figure 15-20 shows.

Figure 15-20: When you compare two versions of a site map, Visio creates an HTML page that lists all the modifications.

Tip

You can compare a Visio 2003 site map to a site map diagram created in Visio 2000 or 2002.

Follow these steps to compare site maps:

  1. Display the more recent site map in Visio, and then choose Web Site Map, Compare To Previous Document.

  2. Locate and select the drawing file (.vsd) that contains the earlier version of the site map, and then click Open.

    Visio compares the two files and generates an HTML document, which is automatically opened in your browser.

  3. To save the report, choose File, Save in your browser.

Conceptual Web Sites

New Feature Visio 2003 not only lets you map your Web site, but also allows you to conceptualize a new one. With the Visio 2003 Conceptual Web Site template, you can build the roadmap for complex Web sites with little more than a handful of clicks and a couple of drags. Note that this tool doesn’t actually build a Web site, but rather maps the site that you will build with your favorite Web development tool.

Here are the basic steps of conceptualizing a new Web site:

  1. Choose New, Web Diagram, Conceptual Web Site.

  2. This opens a blank page and three stencils: Callouts, Web Site Map Shapes, and Conceptual Web Shapes.

  3. Drag the shapes on your page to create the Web site. Note that you can click the Connector tool to connect shapes as you drag them onto the page.

    Tip

    You can open the Conceptual Web Site stencil when working on a Web site diagram built from an actual site. Click on the Shapes button on the Standard toolbar, select Open Stencil, browse to the stencil’s location, and select it.

Категории