This tag sends a query to Google via their Search API and parses the results. Requires a valid Google API Key. The sample code below demonstrates how the tag could be used to search the contents of a specific site. For more information about what parameters can be supplied to the tag, and how to use the results, see <http://www.google.com/apis/reference.html#1_1>.
Parameters
-filter
boolean, optional
Activates or deactivates automatic results filtering.
-key
string, required
A valid Google API Key.
-lr
string, optional
Restricts the search to documents within one or more languages.
-maxResults
integer, required
Number of results desired per query. The maximum value per query is 10.
-q
string, required
The search string.
-restricts
string, optional
Restricts the search to a subset of the Google Web index.
-safeSearch
boolean, optional
Enables filtering of adult content in the search results.
Click the "Download" button below to retrieve a copy of this tag,
including the complete documentation and sample usage shown
on this page. Place the downloaded ".inc" file in your
LassoStartup folder, restart Lasso, and you can begin using this
tag immediately.
08/04/2007, Dominique Guardiola Error on startup
on OSX/Lasso 8.5.2, I get this errors after restarting with this tag :
-9948 ERROR while running startup script "gapi_search.inc". No tag, type or constant was defined under the name null->find with arguments: array: (urn:GoogleSearch)
at: loadSchema with params:
Error on startup
on OSX/Lasso 8.5.2, I get this errors after restarting with this tag : -9948 ERROR while running startup script "gapi_search.inc". No tag, type or constant was defined under the name null->find with arguments: array: (urn:GoogleSearch) at: loadSchema with params:
Registered users can add comments.