TIP 209: Running Site Reports with Queries


Search for XMP Metadata with Queries

New in GoLive CS2 is the ability to create queries that search for XMP metadata (see Tip 27). This makes it very easy to search for images with a specific caption, copyright, or keyword.


GoLive CS2 has a powerful search feature called queries, which give you the ability to search through your site for files based on a variety of criteria. A query can be run on a whole site, on selected files in a site, or on the results of another query.

You define queries in the Query Editor. To get to the Query Editor, first select Edit > Queries (Figure 209a). Click the New Query button to define a brand new query or select an existing query in the list and click the Edit Query button. Either way, the Query Editor will open (Figure 209b).

Figure 209a. Choosing Run Query from the Edit menu opens the Query dialog.


Figure 209b. Choosing New Query or Edit Query opens the Query Editor.


Finding Default Page Titles

Included with the built-in queries is a criterion for errors, which includes an option to find any page that still has the default page title. Run this query to quickly gather up those pages and change their titles to something appropriate for your page. Remember, most search engines rely on page titles to properly index Web pages. The more precise the page title, the better.


Click the double-facing arrow where it says Find What? to reveal a pull-down menu of search criteria. When a criterion is selected, its options are shown in the lower portion of the Query Editor. Make the appropriate selections for your search from those options.

To add additional criteria, click the small round button containing an arrow . From there you can select another criterion with Boolean options such as and, or, and not. Use the round button to the right of the Find What menu to delete a criterion.

When your query is ready to go, click the Test Query button to see how the Query works. After the query is complete, you can save the results as a collection or use the results as the basis of another query, syntax check, or find operation. When you close the Query Editor, you'll be asked if you'd like to save your query. If you do, then go ahead and name and save it into your Site folder.



    Adobe GoLive CS2 Tips and Tricks The 250 Best
    Adobe GoLive CS2 Tips and Tricks The 250 Best
    ISBN: B008CMGJS0
    EAN: N/A
    Year: 2005
    Pages: 301

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