This time we launched a basic service seo information for websites, the service consists of three interfaces, a website, an iframe to embed on your site and json api to use from any project.
First we have the website available at the following link http://seo.geeklab.com.ar/ if we want to link the site and show data directly linking our website it as follows.
We put the domain in the following way http://seo.geeklab.com.ar/OUR_DOMAIN for example
http://seo.geeklab.com.ar/geeklab.com.ar
http://seo.geeklab.com.ar/taringa.net
http://seo.geeklab.com.ar/argenteam.net
http://seo.geeklab.com.ar/facebook.com
We should note that the estimated value of the site and daily ad revenue are approximate and our formula works with sites with an Alexa of between 10000 and 400000
Now we will see the iframe, for that you must enter the following code into your site.
<iframe src="http://seo.geeklab.com.ar/seo-data-iframe/YOUR_SITE" height="125" width="250" frameborder="0" scrolling="no"></iframe>
For example for our site geeklab.com.ar the code is as follows
<iframe src="http://seo.geeklab.com.ar/seo-data-iframe/geeklab.com.ar" height="125" width="250" frameborder="0" scrolling="no"></iframe>
Which would look as follows
And now he json interface (we will see an example in PHP)
<?php $url = "geeklab.com.ar"; $url_data = "http://seo.geeklab.com.ar/get-seo-data/".$url; $json_data = file_get_contents($url_data); $seo_data = json_decode($json_data,true); if(is_array($seo_data)) { foreach($seo_data as $key => $value) { print "$key -> $value \n"; } } ?>
As we see once we make the data json_decode get a settlement that arrangement keys indicate the following data
DOMAIN -> The domain queried.
RANK -> The Alexa ranking.
LINKSIN -> The amount of sites that link (according to Alexa).
DMOZ -> True if the site is in the dmoz directory.
COUNTRY -> The Alexa ranking in the country better located. (not always available).
COUNTRY_NAME -> The country where the Alexa ranking is better located. (not always available).
PR -> Google Page Rank.
TIME -> The unix time where data were taken.
We hope this article will be useful to webmasters and programmers.

About Ricardo Marcelo Alvarez
- Web |
- More Posts(58)