Home arrow PHP arrow Page 3 - Count Backlinks from Unique Domains Using Yahoo Inbound Links API

Implementation Concept - PHP

If you've just started using the Yahoo Site Explorer Inbound Links API and want to know how far you can take it, keep reading. This three-part series will show you how to build an application that can help you track your links.

TABLE OF CONTENTS:
  1. Count Backlinks from Unique Domains Using Yahoo Inbound Links API
  2. Requirements
  3. Implementation Concept
  4. Implementation Flow
  5. PHP approximates the overall unique back links count
  6. PHP-Powered Web Form
By: Codex-M
Rating: starstarstarstarstar / 3
January 21, 2010

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

Before we dive into the details of programming, we should first formulate the concepts that will govern the implementation. The following is the native flow of the Yahoo Inbound Links API using PHP:


The PHP web application will be the first one to establish communication to the Yahoo API, and then the Yahoo API will examine the application ID. If it is valid, it will output the requested Yahoo API data back to the user.

Since you need to count back links coming from unique domains pointing to a specific targeted domain, you need to have “Domain URL” as the most important user input, which should preferably be the canonical home page URL. Yahoo Site Explorer API does not take the www and non-www versions as the same. This means that if the query to the API is www.php-developer.org , this result will be entirely different if only the non-www version is used: php-developer.org.

For example, it is entirely possible for Yahoo Links API to return 583 back links for the www version of the entire site, but no links (zero) for the non-www version.

In SEO, you should be interested in the overall number of back links (coming from unique domains) pointing to the entire domain, not only the home page URL. The higher the number of links to the entire domain, the more authoritative the domain will be. However since it is possible for Yahoo Links API to return the number of links pointing to the entire domain or only to a specific page, these can be added as an option in the web form.

Bear in mind that “back link obsession” is not recommended; this data should only serve as a guide in formulating general strategies. You should not worry about each little detail.



 
 
>>> More PHP Articles          >>> More By Codex-M
 

blog comments powered by Disqus
   

PHP ARTICLES

- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...
- PHP: Building Concrete Validators
- Sanitizing Input with PHP
- Executing Shell Commands with PHP
- Handling File Data with PHP
- File Security and Resources with PHP
- ArrayObject PHP Class Examples
- ArrayObject PHP Class: An Introduction
- Getting File System Data with PHP
- PHP Tools for Working with the File and Oper...
- Working with the File and Operating System w...
- PHP Proxy Patterns: Completing a Blog


© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 8 - Follow our Sitemap

Dev Shed Tutorial Topics: