Posted By

reboltutorial on 03/02/10



Versions (?)

SEO Parse

 / Published in: CSS


I have been working on an internal tool for our sales and marketing departments. They wanted the ability to provide the URL of a company and return various information. One of the elements they wanted was the number of pages index in Google.

  1. goog:
  2. domain: "" ;modify this string for your search term/keyword
  3. replace/all domain " " "+"
  4. query: rejoin [goog domain]
  6. parse-rule: [
  7. thru "Results"
  8. thru "of about "
  9. thru <b>
  10. copy num to </b>
  11. to end
  12. ]
  14. html-content: read query
  15. parse/all html-content parse-rule
  16. print num

Report this snippet  

You need to login to post a comment.