Chapter Search
MTGoogleSearch
Creates the search context by using the Google API to obtain results for a particular query or for pages that are similar to a particular entry. Once retrieved, the contents of this tag are looped through for each result. The type and parameters of the search are determined by the following supported attributes.
This tag is only recognized in search templates.
Attributes:
excerpt- Takes a boolean value. If set to 1 (true), the excerpt of the entry in context will be used as the query.keywords- Takes a boolean value. If set to 1 (true), the keywords of the entry in context will be used as the query.
query- Issues a specific search to Google.related- Return results that are similar to a certain page. The value of this parameter can be a URL or 1. Passing a value of 1 will cause your Site URL to be used. (You should have set your Site URL in your Weblog configuration — if not you'll have to do so to make use of this option.)results- An integer between 1 and 10 specifying the number of search results to insert.title- Takes a boolean value. If set to 1 (true), the title of the entry in context will be used as the query.
The attributes query, related, title, and excerpt are mutually exclusive.


