|
Using freely available php
This tutorial walks you
This recursive function
Ever wonder how those sites
classes I show how it is
through on how to create
crawls a domain for Google
you visit have headlines
possible to download the
"your own" content
PageRanks of every webpage
from other sites appearing
contact list from Gmail
grabbing program in minutes.
on the site.
on their pages? An
and/or the MSN messenger
It'll tell you how to create
explanation of how to take
service (given a username
connections, parse unwanted
Slashdot.org's headlines
and password) and return
data, smoothen it out and
explains the methods used.
this to the user. The user
then display it customized
First it uses a small bash
can then select or deselect
to your needs, using a
script to get the news, and
the contacts they wish to
simple yet concrete example
then a perl script for
send an email to before
of grabbing news from yahoo!
inserting news into MySQL.
submitting the form and
Finally, Using PHP it makes
sending emails to all their
a simple configurable table
chosen contacts.
This is
for news results.
quite a nice method to
'turbocharge' the basic
'tell-a-friend' style
script. Rather than
contacting one friend it is
quick and simple to contact
fifty or a hundred contacts
which means more likely
visitors to your site.
Date: Dec, 19 2006 Date: Oct, 04 2003 Date: Jun, 17 2006 Date: Dec, 11 1999 |
|
The code used to find
Most scripts written for
pagerank of a website using
getting a google pagerank
PHP.
connect to the google
servers everytime someone
views a page where the
script is called. Depending
on how busy your site is
this can mean that you
connect to google thousands
of times each day to get
exactly the same
information.
This script
uses a cache to prevent this
from happening. The first
time someone visits your
site the script connects to
google and then after that
the pagerank value is
fetched from a cache. This
is far faster (my tests
suggested about 30 times
faster) and requires less
bandwidth.
Beyond the
benefits in time it is also
easy to use and can be used
to either fetch a value for
the pagerank or generate
html code to display an
image representing the
pagerank
Date: May, 27 2005 Date: Dec, 19 2006 |