How to parse HTML text from a website using asp.net. Actually, I want to develop a dictionary program in which user types a word and the meaning of that word is fetch from wikitionary websites (or other dictionary websites). So, how can i fetch the html text. In java, there is a "Jerico HTML parser" for fetching the text. How to do it in asp.net.

I am working with C#....
I am a beginner, so plz do reply in detailed information...

thank you.....

Member Avatar for stbuchok

Just out of curiosity, aren't there web services you can use? Also I know for a fact that there are XML file dictionaries out there you can use if you Google them. You could also use jQuery for what you want to do.

http://api.jquery.com/load/ - look at the Loading page fragments section.

Also for ASP.Net, here is a screen scraping example:

http://www.4guysfromrolla.com/webtech/070601-1.shtml

There are quite a few dictionary APIs available for use out there. Just google "dictionary api" and you oughta get some hits.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.