Login   Register  
PHP Classes
elePHPant
Icontem

File: Readme.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of kai  >  Blue Crawler  >  Readme.txt  >  Download  
File: Readme.txt
Role: Documentation
Content type: text/plain
Description: readme
Class: Blue Crawler
Crawl and retrieve links of Web pages
Author: By
Last change:
Date: 5 years ago
Size: 462 bytes
 

Contents

Class file image Download
Crawling a complete site:

construct the Crawler class with a string representing the URL you want to crawl

call getAllLinks(); on the object to return an array of found links



To crawl the site for a specific word or phrase construct the Crawler class with with a string representing the URL you want to crawl and the phrase you are looking for.

Reference the “thelink” variable owned by the Crawler object for the link the phrase were found on.