From 825e53522994de2d558b36d572e2bdedf615040a Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Sat, 18 Oct 2003 17:27:37 +0000 Subject: [PATCH] Added JSP 1.2 Tag Lib Descriptor (TLD) --- google-taglib/tlds/google-1.2.tld | 251 ++++++++++++++++++++++++++++++ google-taglib/tlds/google.tld | 27 +--- 2 files changed, 253 insertions(+), 25 deletions(-) create mode 100644 google-taglib/tlds/google-1.2.tld diff --git a/google-taglib/tlds/google-1.2.tld b/google-taglib/tlds/google-1.2.tld new file mode 100644 index 0000000..2310b72 --- /dev/null +++ b/google-taglib/tlds/google-1.2.tld @@ -0,0 +1,251 @@ + + + + + + @version@ + + 1.2 + + google + + http://www.thauvin.net/taglibs/google-taglib-@version@ + + The Google Tag Library. + + + cachedPage + net.thauvin.google.taglibs.CachedPage + JSP + Displays a page cached by Google. + + key + false + true + Specifies the authentication key. + + + + + element + net.thauvin.google.taglibs.Element + empty + Displays the given property of the current search result element. + + css + false + true + Specifies the HTML link's class attribute. + + + name + true + true + Specifies the desired property of the current result set item. + + + style + false + true + Specifies the HTML link's style attribute. + + + target + false + true + Specifies the HTML link's target attribute. + + + + + endIndex + net.thauvin.google.taglibs.EndIndex + empty + Displays the current search result end index. + + + + estimatedTotal + net.thauvin.google.taglibs.EstimatedTotal + empty + Displays the estimated total results count of the current search. + + + + next + net.thauvin.google.taglibs.Next + JSP + Displays a link to the next search result set. + + css + false + true + Specifies the HTML link's class attribute. + + + style + false + true + Specifies the HTML link's style attribute. + + + target + false + true + Specifies the HTML link's target attribute. + + + + + previous + net.thauvin.google.taglibs.Previous + JSP + Displays a link to the previous search result set. + + css + false + true + Specifies the HTML link's class attribute. + + + style + false + true + Specifies the HTML link's style attribute. + + + target + false + true + Specifies the HTML link's target attribute. + + + + + search + net.thauvin.google.taglibs.Search + JSP + Performs a Google search. + + cache + false + true + Specifies whether results are cached between search requests. + + + filter + false + true + Activates or deactivates automatic results filtering. + + + key + false + true + Specifies the authentication key. + + + lr + false + true + Restricts the search to documents within one or more languages. + + + maxResults + false + true + Specifies the number of results desired per query. + + + restrict + false + true + Restricts the search to a subset of the Google web index. + + + safeSearch + false + true + Enables filtering of adult content in the search results. + + + site + false + true + Restricts the search to documents within the specified site. + + + start + false + true + Specifies the index of the first desired result. + + + type + false + true + Specifies the file type to be searched. + + + + + searchComments + net.thauvin.google.taglibs.SearchComments + empty + Displays the current search comments. + + + + searchQuery + net.thauvin.google.taglibs.SearchQuery + empty + Displays the current search query. + + type + false + true + Specifies whether the search keywords or full query should be returned. + + + + + searchResult + net.thauvin.google.taglibs.SearchResult + JSP + Loops through the current search results + + + + searchTime + net.thauvin.google.taglibs.SearchTime + empty + Displays the elapsed time of the current search. + + + + searchTips + net.thauvin.google.taglibs.SearchTips + empty + Displays the search tips of the current search. + + + + spelling + net.thauvin.google.taglibs.Spelling + JSP + Performs a Google spelling suggestion. + + key + false + true + Specifies the authentication key. + + + + + startIndex + net.thauvin.google.taglibs.StartIndex + empty + Displays the current search result start index. + + diff --git a/google-taglib/tlds/google.tld b/google-taglib/tlds/google.tld index 723a22b..b2a7496 100644 --- a/google-taglib/tlds/google.tld +++ b/google-taglib/tlds/google.tld @@ -20,7 +20,6 @@ Displays a page cached by Google. key - Specifies the authentication key. false true @@ -33,25 +32,21 @@ Displays the given property of the current search result element. css - Specifies the HTML link's class attribute. false true name - Specifies the desired property of the current result set item. true true style - Specifies the HTML link's style attribute. false true target - Specifies the HTML link's target attribute. false true @@ -78,19 +73,16 @@ Displays a link to the next search result set. css - Specifies the HTML link's class attribute. false true style - Specifies the HTML link's style attribute. false true target - Specifies the HTML link's target attribute. false true @@ -103,19 +95,16 @@ Displays a link to the previous search result set. css - Specifies the HTML link's class attribute. false true style - Specifies the HTML link's style attribute. false true target - Specifies the HTML link's target attribute. false true @@ -128,61 +117,51 @@ Performs a Google search. cache - Specifies whether results are cached between search requests. false true filter - Activates or deactivates automatic results filtering. false true key - Specifies the authentication key. false true lr - Restricts the search to documents within one or more languages. false true maxResults - Specifies the number of results desired per query. false true restrict - Restricts the search to a subset of the Google web index. false true safeSearch - Enables filtering of adult content in the search results. false true site - Restricts the search to documents within the specified site. false true start - Specifies the index of the first desired result. false true type - Specifies the file type to be searched. false true @@ -200,13 +179,12 @@ net.thauvin.google.taglibs.SearchQuery empty Displays the current search query. - + type - Specifies whether the search keywords or full query should be returned. false true - + searchResult @@ -236,7 +214,6 @@ Performs a Google spelling suggestion. key - Specifies the authentication key. false true