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

Implementation Flow - 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

The complete and detailed implementation flow for this application should look like this:


The web form is first presented to the user. They will enter the root domain URL, for example: http://www.thisistherootdomainurl.com . After that, the user will decide if he or she is interested in the number of back links pointing to the entire domain (home page + inner pages) or only to the specific root domain URL (home page only).

When the form is submitted, PHP will process the user inputs and then establish a connection to the Yahoo API. Details of the request will be sent, for example the Application ID, Requested Domain URL, and additional options (entire domain or to specific URL).

If the application ID is valid, the Yahoo API will send the request back to the server. PHP will receive the request, and then analyze the data by filtering for unique domains. For example, if PHP receive the series of back link URLs seen below:

http://www.remarriagemag.com/remarriage-blogs/

http://wordpress.org/extend/plugins/sort-searchresult-by-title/

http://www.remarriagemag.com/features/2009/05/07/my-ex-my-bff/

http://www.gorillapaintball.com/index.php?option=com_zoom&Itemid=54

http://www.gorillapaintball.com/index.php?option=com_weblinks&Itemid=23

http://www.gorillapaintball.com/index.php?option=com_calendar&Itemid=42

http://www.steve-barker.com/

http://www.remarriagemag.com/remarriage-blogs/2009/04/14/parents-steps-the-more-the-merrier/

http://www.remarriagemag.com/remarriage-blogs/2009/04/29/is-this-town-big-enough-for-the-both-of-us/

http://www.remarriagemag.com/remarriage-blogs/2009/06/11/the-pickle/

http://www.remarriagemag.com/remarriage-blogs/2009/05/05/teen-friends-of-a-feather-stick-together/

http://hober.com/php-developer.html

PHP should filter the back link data to count unique domains. In the above example, there are only five back links coming from unique domains.



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

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

PHP ARTICLES

- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- 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...

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: