Posted by Mike Willbanks on 05/27/05 17:53
**tip**
1) look at the source of that page
2) write a regular expression to find the pagerank
3) use sockets (fso) or curl to retrieve the page
4) cache the result
5) echo out the page rank
so then your process is:
1) user enters domain
2) regular expression to validate the domain
3) check if there is a cached result (if true proceed to 6)
4) connect to the page
5) run the regular expression for page rank
6) show pagerank
> I have seen this on many web pages but I want to host my own script and
> I dont know how it is made.
> I want it to be something like this:
>
> http://www.googlecommunity.com/scripts/pagerank.php?url=www.adriantnt.com
Navigation:
[Reply to this message]
|