Search result page display traking  
Author Message
Mazeno





PostPosted: Visual C# General, Search result page display traking Top

Hi Guys,

I have a lot of keywords to pass to google or yahoo search, or search.live.com. Keywords are on text file.

So I need some idea how to handle it, sample codes which will open any of the search pages, and pass the keyword,which are on text file, then it writes top 10 results of the search in text file.

Example:

keywords in text inputfile F1

test1

test2

test3

www.google.com(test1) or http://www.hide-link.com/ (text1) or www.search.live.com(text1)

search result

1 www.test1.com

2 www.testXX.com

3 www.testXXXX.com

4.

10. www.

www.google.com(test2) or http://www.hide-link.com/ (text2) or www.search.live.com(text2)

1.www.test2.com

2.www.text2XX.com

3...........................

What I need is the list of these pages on my output text file

output textFile

www.test1.com

www.testXX.com

...............

www.text2.com

www.text2XX.com

...................

Is there any one who is/are familiar with such kind of problem

I appreciate your help.

Thanks

Mac



Visual C#18  
 
 
David L





PostPosted: Visual C# General, Search result page display traking Top

I would recommend you to use webservices to do your searches, instead of screenscraping the html for the results.

The following links contains documentation, information and guides how to search with webservices.

http://code.google.com/apis/soapsearch/

http://developer.yahoo.com/dotnet/

http://msdn.microsoft.com/live/gettingstarted/searchstart/default.aspx

Once you can search and collect results from the search engines, you could just loop through your file and perform the searches on each word/line etc.

HTH


 
 
Mazeno





PostPosted: Visual C# General, Search result page display traking Top

Thanks,