Defining site queries
You define a site query in one or more subtabs of the Site Reports tab. A query can be simple or complex. Complex queries can contain multiple criteria on the same subtab or spread across multiple subtabs.
To define a query: - With a site project file open, do one of the following:
- Choose Site > Site Report.
- Choose Edit > Find, and click the Site Reports tab.
- Specify an "Or" search or an "And" search by selecting one of the following options:
- All of the Criteria Selected Below specifies an "And" search where all of the criteria must be satisfied. For example, if you select this option and define a query to show files that were created over two weeks ago and contain external links, the site report shows only those files created over two weeks ago that contain external links.
- Any of the Criteria Selected Below specifies an "Or" search where any of the criteria must be satisfied. For example, if you select this option and define a query to show files that were created over two weeks ago and contain external links, the site report shows the files created over two weeks ago with or without external links, and the files that contain external links regardless of when they were created.
- Specify one or more report criterion on one or more of the Site Reports subtabs:
- The File Info subtab shows files by byte size, download time, modification date, and creation date. For HTML files, the Download Takes option under the File Info tab considers everything that makes up the page (such as images or QuickTime movies) when computing download time.
- The Errors subtab shows pages with missing image attributes, problem titles, and HTML error and warning flags. The list of browsers that appears in the HTML error and HTML warnings categories is defined in the Browser Sets preferences. (See Setting Source preferences.) If you want a different list of browsers to appear in the Site Reports dialog box, change the list of browser sets in the application preferences.
- The Site Objects subtab shows pages in a site that use certain components, addresses, fonts, font sets, and site colors. The items that appear in the Site Objects subtab are the same items that appear in the site window. If you added or removed items from pages, update the items in the site window and in the Site Objects subtab by cleaning up the site. (See Cleaning up a site.)
- The Links subtab shows pages with external links, links to files with a certain extension, and links of one or more protocols (for example, ftp: or mailto:).
- The Accessibility subtab shows pages that conform to a number of guidelines for making Web content accessible to people with disabilities and persons using alternative browsing technologies. Although these site reports don't offer a complete solution, they can help determine whether your Web site is accessible.
- The Misc subtab shows pages a certain number of clicks away from a given page.
- Do one or both of the following:
- To save the query for reuse, click Save Query, and then enter a name for the query. The .glsq extension is provided automatically. Click Save.
- To generate and view a site report based on the query, click Search. GoLive displays the report in the Report Results window.
|