How the Search-Ranking Webbot Works

Our search-ranking webbot uses the process detailed in Figure 11-3 to determine the ranking of a website using a specific search term. These are the steps:

  1. Initialize variables for use, including the search criteria and the subject web page.

  2. Fetch the subject web page from the search engine using the search term.

  3. Parse the organic search results from the advertisement and navigation text.

  4. Determine whether or not the desired website appears in this page’s search results.

  5. Report the results.