You are here:   Details View
Register   |  Login
#Bing API Integration With VenexusSearch #DNN Module and Social Networking
By xfernal on Aug 03, 2009 08:15 PM • Rank (893) • Views 856

Get Adobe Flash player

0

0

This weekend I completed the Bing API integration with our DotNetNuke search module, VenexusSearch. I created this video to show the basics of how to configure and add the API key to the WebSearchProviders. I also show how search results are returned from the Bing API by searching for "Bing API" through this site, and how the social networking features of commenting, rating, and voting affects the search results for future queries.

Here is the basics of the VB.Net code to do a Bing API call using the Web sourcetype:
            Dim service As New LiveSearchService()
            Dim request As New net.live.search.api.SearchRequest()
            With request
                .Query = queryText
                .AppId = APIKey
                .Sources = New net.live.search.api.SourceType() {net.live.search.api.SourceType.Web}
            End With
            Dim response As net.live.search.api.SearchResponse = service.Search(request)
            For Each result As WebResult In response.Web.Results
                  'here are the main variables:

                  'result.Description
                  'result.Title
                  'result.Url
            Next

          

I also want to note that I am very impressed with the API. There are a lot of new methods when compared to the Live API. I have not had a chance to explore all of them, including Images, Instant Answers, MobileWeb, News, Phonebook, Spelling, Translation, Video, and Web, but I look forward to integrating these other areas in the future.

If you have any other ideas about Bing API integration with DNN or any questions. Please contact us.

 

Map Location

GPS Latitude: 0.00000 Longitude: 0.00000
Visitors
Top User:
Total Check-Ins: 0
Unique Visitors: 0
My Check-Ins: 0
  
Comments (3) - Comment RSS
James Wallace wrote: on Aug 04, 2009 07:11 PM
I just voted, commented and rated this item! so the rank will reflect accordingly! rank right now is 67, and it's been hours I think since I had this window open.
James Wallace wrote: on Aug 04, 2009 07:11 PM
it says 12 hours ago
James Wallace wrote: on Aug 04, 2009 07:12 PM
now the rank is 126 and it was 22 hours ago. I just refreshed the page.
Random Media - View All Media (1)
   
Socialize
Who Viewed
Who Reviewed
Shortened URL
http://tinyurl.com/lpqy3y

What is I'm Vivo! ?

Vivo is the Italian word for alive. Therefore, "I’m Vivo!" means "I’m Alive!" As a user and as a community, you decide if a piece of information will live or die. I’m Vivo! is changing how people discover information and bring it to life! » Learn more
» Submit an audio/podcast, business, feed, image, news, or video!