[Dojo-checkins] alex - r6318 - trunk/src/rpc
dojo-checkins-admin at dojotoolkit.org
dojo-checkins-admin at dojotoolkit.org
Wed Oct 25 09:36:22 MDT 2006
Author: alex
Date: Wed Oct 25 09:36:21 2006
New Revision: 6318
Modified:
trunk/src/rpc/yahoo.smd
Log:
adding term extraction
Modified: trunk/src/rpc/yahoo.smd
==============================================================================
--- trunk/src/rpc/yahoo.smd (original)
+++ trunk/src/rpc/yahoo.smd Wed Oct 25 09:36:21 2006
@@ -86,9 +86,6 @@
//
// WEB SEARCH
//
-
- // NOTE: contextual search and term extraction are not stubbed out
- // becaues I'm not sure if we can POST via script src inclusion method
{
// http://developer.yahoo.com/search/web/V1/webSearch.html
"name":"webSearch",
@@ -124,6 +121,35 @@
{ "name":"results", "type":"INTEGER" } // 1-50, defaults to 10
]
},
+ {
+ // http://developer.yahoo.com/search/content/V1/termExtraction.html
+ "name":"termExtraction",
+ "serviceURL": "http://search.yahooapis.com/ContentAnalysisService/V1/termExtraction",
+ "parameters":[
+ { "name":"query", "type":"STRING" },
+ { "name":"context", "type":"STRING" },
+ { "name":"results", "type":"INTEGER" } // 1-50, defaults to 10
+ ]
+ },
+ {
+ // http://developer.yahoo.com/search/web/V1/contextSearch.html
+ "name":"contextSearch",
+ "serviceURL": "http://search.yahooapis.com/WebSearchService/V1/contextSearch",
+ "parameters":[
+ { "name":"query", "type":"STRING" },
+ { "name":"context", "type":"STRING" },
+ { "name":"type", "type":"STRING" }, // defaults to "all"
+ { "name":"results", "type":"INTEGER" }, // defaults to 10
+ { "name":"start", "type":"INTEGER" }, // defaults to 1
+ { "name":"format", "type":"STRING" }, // defaults to "any", can be "html", "msword", "pdf", "ppt", "rst", "txt", or "xls"
+ { "name":"adult_ok", "type":"INTEGER" }, // defaults to null
+ { "name":"similar_ok", "type":"INTEGER" }, // defaults to null
+ { "name":"language", "type":"STRING" }, // defaults to null
+ { "name":"country", "type":"STRING" }, // defaults to null
+ { "name":"site", "type":"STRING" }, // defaults to null
+ { "name":"license", "type":"STRING" } // defaults to "any", could be "cc_any", "cc_commercial", "cc_modifiable"
+ ]
+ },
//
// IMAGE SEARCH
//
More information about the Dojo-checkins
mailing list