First of all, English is not my first language, so if you find any mistakes bear with me. I started this just to learn how to develop Windows applications using C#. This application simply finds which position your site URL is in for given keywords, in Google search results. I did this when I came across the Free Google monitor application which does the same thing as my application. I decided to test my C# knowledge by writing the application with the same capabilities.
Using the code
This application can be used as it is as a utility to check Google position. Coding is done in a simple way. Submit query for a keyword to Google with the following URL: http://www.google.com/search?q=keyword. The returning page can be parsed and checked against the given site URL to identify the position. Navigating to next pages in the search result is again simpler. Again submitting the same URL with start and end result will return the appropriate pages.
I used many code snippets from Code Project itself to implement the features like retrieving HTML pages from web server and HTML parsing etc. You may find some of the functions useful which can be used as it is. Again, I am not a seasoned C# developer. So if you feel some part of the code can be done in some other way, feel free send me mail.
Points of Interest
I wanted to write this utility with supports different search engines. But Yahoo! and MSN result pages are embedded scripts which need to be resolved to identify the actual URL. If someone has done already this kind of work, I am more happy to see those.
This is the first version.. Let me update it once I have enough things to mention here.