IZEA just made their IZEARanks website live, and it includes an API so you can use the data however you want to.

I’m not too good at programming, but I combined a few things and made a simple button to display your RealRank on your website. It will look something like this:
example.gif

If you want to use this, all you need is the one PHP file. Download it here

Once you’ve done that, open it up in a text editor like notepad and edit in your domain name and your API key. You can get your API key from your account page on IZEARanks. You also need to enter the path to the image file you want it to create. Then upload it to your server.

You will need to go to your hosting control panel and add a cron job. You will want this cron to run every day at about 3 AM EST (I believe the rank is updated about 2 AM). The line would look something like this:
0 3 * * * php -q /home/user/public_html/realrank/realrank.php

I think you also need to make the folder where the image will go writeable. I am not too sure because i am on a different kind of server than normal.

Once you’ve done that, go ahead and visit the realrank.php file you just uploaded so it will create the image (It will update after that by the cron job). Then link to the image like this:
<a href="http://izearanks.com/sites/yourdomain-com"><img src="rank/realrank.gif" width="80" height="15" alt="RealRank" /><a>

And it should show up. Let me know if you have any questions. This isn’t perfect, and I’m not the best at programming, but it’s better than nothing.

I’m going to be looking into how to read XML a little more in PHP and hope to make it so you can show your average RealRank over a period of days (user defined). Maybe add the little lightbulb for IZEA as well. and anything anybody else things of.

Rate this:
2.5