Home arrow PHP arrow Page 4 - Analyzing the Back Link Count from Unique Domains using Yahoo Inbound Links API

Running and performing a test implementation - PHP

Welcome to the conclusion of a three-part series that shows you how to count the back links to your web site from unique domains using the Yahoo Inbound Links API. In the second part you learned how to pass the form variables to PHP using AJAX, process the web form input using PHP, and finally validate the root domain name URL using PHP. In this part, we discuss the details of the Yahoo API PHP script process.

TABLE OF CONTENTS:
  1. Analyzing the Back Link Count from Unique Domains using Yahoo Inbound Links API
  2. Get API results and do preliminary data processing
  3. Filter unique domains and display in browser
  4. Running and performing a test implementation
By: Codex-M
Rating: starstarstarstarstar / 2
January 26, 2010

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

 

If you comply with the requirements stated in part one, particularly the PHP requirements, running this application with your server will not be that difficult.

 

You can see an actual working project at the link. You can also check the “Download source code” link, where you can download the .zip file of the entire source code discussed in this tutorial.

 

To implement, download it first, then unzip the folder. Upload the folder to your server root directory or htdocs directory if you are using XAMPP. Then, using a browser, enter this in the address bar:

 

http://www.thisisyourdomain.com/countuniquelinks/countuniquelinks.php

 

Or in XAMPP:

 

http://localhost/countuniquelinks/countuniquelinks.php

 

Note: Do not forget to replace (in bold):

appid=xxxxxxyourapplicationidherexxxxxxx ,with your own Yahoo application ID, replace the text in bold and save to yahooapiajax.php before uploading to your server or running the application.

 

If you do not see any error, then enter a sample root domain URL, such as:

 

http://www.devshed.com

 

Check the radio button option: “Only to the homepage URL,” to see the back link data pointing to the http://www.devshed.com home page only. Finally, after entering the captcha, click “Submit” button.

 

Since the form uses AJAX, the results will be shown in the same URL. You should see a link popularity statistics report like the one below:

 

-----------------------------------------

|THIS IS YOUR LINK POPULARITY STATISTICS:|

-----------------------------------------

ESTIMATED TOTAL BACKLINKS FROM UNIQUE DOMAINS POINTING TO THAT SPECIFIC URL ONLY: 43744

 

These are the unique domains of the total 230230 backlinks pointing to THAT SPECIFIC URL ONLY.

In a sample gathered, you have 19 backlinks from unique domains OUT of 100 SAMPLES GATHERED

CLICK HERE TO USE THE TOOL AGAIN

 

Below are the sample unique backlinking domains:(100 domains maximum)

 

eweek.com

linuxfordevices.com

microsoft-watch.com

desktoplinux.com

pdfzone.com

publish.com

baselinemag.com

cioinsight.com

windowsfordevices.com

bigredspark.com

linux-watch.com

channelinsider.com

devsource.com

ziffdavisenterprise.com

deviceforge.com

tamu.edu

ileriseviye.org

unmatchlist.com

degreetutor.com

 

Interpreting the results

 

The above example shows that total amount of links pointing to the http://www.devshed.com home page is 230,230. This includes duplicated links (multiple links coming from the same domain). The Yahoo Site Explorer API provided 100 back link samples, and according to the analysis, 19 out of 100 are unique. Using these statistics, the estimated back links coming from unique domains is 43,744.

 

The tool also provides the list of sample unique domains linking to the devshed.com website. With this data, you can determine whether or not those back linking domains are relevant to your domain. If they are not related, and only a few unique domains link to the site, then you need to work hard to increase your link popularity using techniques such as link baiting and others to raise your visibility.



 
 
>>> 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: