SharePoint 2013 and OpenSearch – Search twitter, Facebook, wikipedia etc all in one page

, , 4 Comments

In this post will show you how you can search twitter, Facebook, wikipedia etc. all in one page in SharePoint 2013 by using/configuring OpenSearch Result Source types.

For your reference following are some OpenSearch Urls which can be configured in SP13 for search

TitleUrlComments
WikiPediahttp://search.live.com/results.aspx?q={searchTerms}+site%3awikipedia.org&format=rssusing live.com
Facebookhttp://search.live.com/results.aspx?q={searchTerms}+site%3afacebook.com&format=rssusing live.com
YouTubehttp://gdata.youtube.com/feeds/base/videos/-/{searchTerms}?alt=rss&client=ytapi-youtube-rss-redirect&v=2&orderby=published
Amazonhttp://www.amazon.com/rss/tag/{searchTerms}/new?length=100
Flickrhttp://api.flickr.com/services/feeds/photos_public.gne?tags={searchTerms}&lang=en-us&format=rss_200
Britannicahttp://www.britannica.com/opensearch?ct=eb&start=0&count=20&query={searchTerms}
Twitterhttp://search.twitter.com/search.atom?q={searchTerms}

Configuration steps are simple

1. Go to Site Settings -> Result Sources  or Search Application -> Result Sources( if you want to configure these result sources at SA level)

2. Add new source and configure the url (refer the table or any OpenSearch source url);

3. Add Search Result web part in the page and configure it to get query the source configured in Step 2.

Have created video to demo this. Hope you like it.