Skip to main content

Microsoft Silverlight

Answered Question Google search result in silverlightRSS Feed

(0)

sert52
sert52

Member

Member

5 points

11 Posts

Google search result in silverlight

Could you tell me how can I show result of google search in silverlight (html page not web service)

Thank you Big Smile

MarkMonster
MarkMonster

Contributor

Contributor

5220 points

1,046 Posts

Re: Google search result in silverlight

If you're getting HTML as a response you will have to parse the HTML. Or do you want to show the HTML directly in your Silverlight Application?

Mark Monster - MCPD Enterprise
http://mark.mymonster.nl
Silverlight and Expression Insiders UG

Dont forget to click "Mark as Answer" on the post that helped you.

sert52
sert52

Member

Member

5 points

11 Posts

Re: Google search result in silverlight

Thank you for your response Big Smile I want to parse it in html maybe like this

http://blogs.infosupport.com/blogs/willemm/archive/2008/10/16/Google-search-sample-in-silverlight.aspx

Maud
Maud

Contributor

Contributor

3286 points

453 Posts

Re: Google search result in silverlight

Hi,

Silverlight still doesn't support embed html. As the link you provide, you could use WebClient to comsue google search api, then use linq to xml to parse the result to entity list, at last, display in silverlight listbox.

Thanks,

Maud

sert52
sert52

Member

Member

5 points

11 Posts

Re: Re: Google search result in silverlight

Thank you Big Smile for your explanation but I'm a newbie in silverlight

Do you have any example about it?

Maud
Maud

Contributor

Contributor

3286 points

453 Posts

Answered Question

Re: Re: Google search result in silverlight

The link you provide contains a sample project, I've downloaded and test, works well.

http://blogs.infosupport.com/blogs/willemm/archive/2008/10/16/Google-search-sample-in-silverlight.aspx

Please have a try!

Thanks,

Maud

sert52
sert52

Member

Member

5 points

11 Posts

Re: Re: Google search result in silverlight

It is very good example now I am customizing this example in my project

 

Thank you very much

  • sert52
    sert52

    Member

    Member

    5 points

    11 Posts

    Re: Re: Re: Google search result in silverlight

    I have some addition question, after I try to customize this example I found some problem I can search only 4 url per page and maximum of page is 8

    How to change it?

    Sorry to trouble you againCrying

    • Unanswered Question
    • Answered Question
    • Announcement
    Microsoft Communities