To access predefined locations we need to go to Central Administration and go to Query SSA. There the Federated locations are defined.
1. Click on the New Location.
2. We need to provide the name, Display Name, Location and Author of the Location. The Display name will be available in the web part to select this location name.
3. The next two parameters are important and define the Type of the location and Query Template. The type of the location specifies the nature of the location. We can have the results from the Search index stored on the server farm or from the Search Engines supporting the OpenSearch protocals.
4. The Query Template is the query in which we specify the query used to search the data. To get the top google news result we will use the following query:
http://news.google.com/news?q={SearchTerms}&output=rss
so in this query we will be passing the query parameter using the q.
5. Other fileds we can leave for now. They can help to customize the UI of the results and the data returned from the engine. We will see this in the Part 3 of this post.
6. Now we need to select this location in the Federated Results Web Part:.
7. Now the Google News Results are displayed like:
2 comments:
Nice post. BTW I am using WSS 3.0 and I am just wondering if you know the Query Template for Google Search.
I've looking on the net and I couldn't find it. Some people say there are not supporting this. ?!!?
I can't right click at all on your blog, which means I have to retype your URLs, etc. Please enable!! Thanks.
Post a Comment