The various Web
Search Web Services provided by Yahoo are discussed in Table 10.3.
Table 10.3 Yahoo Web Search Web Services
Web Service Description
Context Search The contextual web search service returns web pages that
match a query within a specified context.
Related Suggestion Provides suggestions for related queries based on the
submitted query.
Spelling Suggestion Provides suggested spellings for a specified term.
Web Search Provides a web search service using REST
(Representational State Transfer).
Before Yahoo Web Service may be used, registration with Yahoo
Search Web Services is required. To register with Yahoo Search Web
Services login to URL
http://search.yahooapis.com/webservices/register_application. Fill out the
Yahoo Developer Registration form as shown in Fig. 10.9. The web
application URL in which Yahoo Search Web Services are accessed is
required to be specified. The procedure to obtain the web application url is
explained in the next section.
Fig. 10.9 Registering with Yahoo Search Web Services
10.6 Creating an Ajax Web Search Application for Yahoo 205
When the registration form is submitted, Yahoo Search Web Services
provides with an application id with which Yahoo Search Web Services
may be accessed. Save a copy of the application id.
10.6 Creating an Ajax Web Search Application for Yahoo
First, create a JDeveloper application and project. Select File>New and in
the New Gallery window select General in Categories and Application
in Items and click on OK.
Pages:
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184