Backlink is a term for a type of URL that points from a site back to your site. You should track your most important backlinks, if they are removed by a webmaster you may lose traffic and rankings. Also, if you have purchased backlinks for your site then the backlink checking script will ensure your investment is safe.
The Ruby backlink checking script loads web pages from the given list and checks the link text to see if it matches the given search strings. It’s a way of ensuring that sites with links to your site are maintaining those links.
I recommend running this ruby script once a week; don’t add all your backlinks just the most important ones. On Jiploo this script takes approximately 4 seconds per website. The time is spent accessing the remote page and downloading it, this is dependant on how busy the remote site is.
# Add your links to the list.
links = [
{ "url" => 'http://www.someurl.com',
"reg" => /Link Text/ },
{ "url" => 'http://www.anotherurl.com/apage.html',
"reg" => /More Link Text/ },
]
for link in links
page = Net::HTTP.get(URI.parse(link["url"]))
found = page.find {|l| l =~ link["reg"] }
if found
print link["url"] + " : Found\n"
else
print link["url"] + " : Not Found\n"
end
end
Spread the word.