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:

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.
31 Responses
Heather in Beautiful British Columbia
10|Jan|2008 1Hey - that’s cool! Don’t apologize for it being simple - I like it
Russ
11|Jan|2008 2@Heather: Thanks for the comment. I’m sure other people will make much better ones, but there wasn’t anything yet so I felt like making something
Ted Murphy
11|Jan|2008 3Dew,
I love it. Can you make it link to a persons RR page? I would like to promote this on our blog.
Holly
11|Jan|2008 4I love it. Sometimes simple is best anyway!
Ted Murphy
11|Jan|2008 5This is great! Do you think you could make it so the button links off to a users IZEARanks page?
mcangeli
11|Jan|2008 6All you have to do is put:
Instead of just the:
change the YOURSITEHERE-COM to your domain (IE: delusionsofgrandeur-org)
Delusions of Grandeur » Blog Archive » Thats so RANK!
11|Jan|2008 7[...] they have an open api so anyone can develop for it with out any penalty. Already, there’s a rank badge available and its only a matter of time before there are more and more things [...]
mcangeli
11|Jan|2008 8Darn code….
My earlier comment should have been….
All you have to do is put:
<a href=http://www.izearanks.com/sites/delusionsofgrandeur-org target=_new rel=nofollow> <img src=/realrank.php border=0> </a>
where delusionsofgrander-org is your domain.
Russ
11|Jan|2008 9I’ve modified the code above so it includes the link.
Russ
11|Jan|2008 10I’ve made some changes to the code.
Instead of calling it as an image (which doesn’t work on all servers), the file should now be run as a cron job, where it will create an image nightly. This will mean there is less load on your server because it isn’t creating this image every time somebody visits your website, and less load on the IZEA server because it isn’t asking for the rank every time somebody visits.
I think it should work on most servers. I am on a server running phpsuexec so I can’t test what normal servers might do. Please let me know if you have any problems getting the new version to work.
sukosaki
11|Jan|2008 11Good work. I was waiting for something like this. I am no programmer either, hence the reason I have to wait
Utah Outdoor Adventure
11|Jan|2008 12dang its about time they come out with a different ranking system… im sure most of us bloggers are sick of the tyrant google who has been screweing everyone over… making it almost impossible to make money and maintain a good PR.
Starryskye.org
11|Jan|2008 13RealRank is LIVE Baby…
After the infamous Google Smackdown the web (well, us bloggers) were antsy for something that would actually reflect visitors and in-bound links instead of some weird Google algorithm that made no sense. But, the folks at Izea have jumped on their prov…
Kango Ling
11|Jan|2008 14Neat tool. Looks like it is going to a big hit, if they can market it right. I was getting a little tired of waiting on Google to update PR.
Robert
12|Jan|2008 15Dew, you’ve inspired me to add RealRank to BlogsPageRank dot com. Thank you.
dragonfly183
12|Jan|2008 16it won’t open for me
Russ
12|Jan|2008 17@dragonfly183: What won’t open? The file you download above must first be unzipped, then you can open the realrank.php file in a text editor. Use a program like winrar to unzip: http://www.rarlab.com/
CallCenterVet
12|Jan|2008 18I like and appreciate the effort of creating a realrank image dude but may I suggest a better image for it. I’d love to have it on my blog but I’d prefer something more colorful.
Thanks.
Russ
12|Jan|2008 19As I don’t know too much PHP this is the best I could come up with. The colors on it can be changed though, the blue and white can definitely be changed to a different color, if you would like those changed. Just let me know if you would and I can change them to something else for you.
mabelle
13|Jan|2008 20that’s a great button. but it’s not working with my blog yet. i don’t know why. tried to sign up also with izea but it says it has error something on my url i guess.i don’t know.hope this will work in the coming days so that i can use ur invention.that’s wonderful
Russ
13|Jan|2008 21You must first sign up with IzeaRanks and have your website ranked before you can use this code.
After that you have to input your API key, your url, and the path to the image you want it to create for this button to work.
mabelle
13|Jan|2008 22yap tried submitting this blog there. but izea will not take my url.i don’t know why they won’t take it. maybe there’s something wrong with my url or i don’t know.
Russ
14|Jan|2008 23I would suggest using the Contact Support link on the bottom right of IzeaRanks and let them know what’s happening. They should be able to fix it for you.
mabelle
14|Jan|2008 24k thanks for ur advise.i will.hope they can fix it.
fadern
17|Jan|2008 25I’m still learning
thenetguruz
19|Jan|2008 26I just got their mail yesterday about izea rank, I have rank of 506 in ppp and it will be a good idea to show it to readers. Thanks for the button, will try it today.
Retirement Income
23|Jan|2008 27allright… finally an alternative to the tyrannical rule of google!
e2
17|May|2008 28Great works. Any other button in for html/javascript please?
Russ
17|May|2008 29I know there are at least 2 other people who have made buttons, and there is an official one on the IZEA Ranks website.
Dragon Blogger
12|Dec|2008 30Having the following errors trying to run the php code:’
Warning: file(): URL file-access is disabled in the server configuration in /mnt/local/home/germinoj/dragonblogger.com/realrank.php on line 41
Warning: file(http://izearanks.com/api?url1=www.dragonblogger.com&start_date=2008-12-12&days=0&type=realrank&key=afa4ce9cfc597c228289e0480d1eac20): failed to open stream: no suitable wrapper could be found in /mnt/local/home/germinoj/dragonblogger.com/realrank.php on line 41
Warning: implode(): Bad arguments. in /mnt/local/home/germinoj/dragonblogger.com/realrank.php on line 41
Fatal error: Call to undefined function: () in /mnt/local/home/germinoj/dragonblogger.com/realrank.php on line 23
Russ
12|Dec|2008 31That’s probably due to it requiring allow_url_fopen on to run, which is disabled on most servers these days for security reasons.
Unfortunately I’ve no interest in modifying the code to work with curl. You may want to either do this yourself, or use the one provided by IZEA
Leave a reply
Search
What I'm Doing...
Categories
Recent Comments
Meta
A design creation of Design Disease
Copyright © 2009 - Mountain Dew Knight - is proudly powered by WordPress
InSense 1.0 Theme by Design Disease