Technorati Rank WordPress Plugin Version 2 Released!
Hot on the heels of the first Technorati Rank Plugin, I’ve redesigned the output content to make it CSS driven (below is a screenshot, you can interact with the one in my site’s sidebar):
This one was quite a bit more challenging to produce but the output is much nicer. First, I utilized what I’ve been learning on Bittbox to make each of the output buttons on the image in Illustrator.
The next step was utilizing styles to actually build someone of an image map except that there’s actually no map! It’s pretty cool, actually. You can set the overall div background and then create each of the ‘hotspots’ utilizing absolute positioning and CSS. View the output CSS.
I also added a link to Technorati’s new WTF page and the site’s RSS address. I hope you like it! I think it’s a vast improvement from the first version! There’s an i link in the bottom right that promotes the plugin as well.

Douglas Karr

Man, that site is an inspiration.
but I got the following error
Fatal error: Cannot instantiate non-existent class: simplexmlelement in /home/winex4/public_html/wp-content/plugins/technorati-rank/technorati-rank.php on line 64
any suggestions?
That’s an error when SimpleXML is initiated, which is part of PHP5. Does your server have PHP5?
Regards,
Doug
Guess I’ll have to check out the other version or hang tough and see if they upgrade to 5.0
I’m having the same problem
I called my host and they said my server has PHP 4 and PHP 5, but if i want to run a file using PHP 5, the script has to have .php5 file extension.
So… I changed the file extensions, and it disappears from the plugins in wordpress.
Any Ideas?
I’m really surprised at how many hosts there are out there that don’t have the latest and greatest!
It’s REALLY Rewarding to see that my Illustrator tips helped you make your buttons!!!!!
thanks again,
~BittBox
I’m toying with some thoughts on my blog’s header and background next.
Warning: fopen(/technorati-rank.html) [function.fopen]: failed to open stream: Permission denied in /…./wp-content/plugins/technorati-rank/technorati-rank.php on line 121Warning: fwrite(): supplied argument is not a valid stream resource in /…./wp-content/plugins/technorati-rank/technorati-rank.php on line 122
Warning: fclose(): supplied argument is not a valid stream resource in /…./wp-content/plugins/technorati-rank/technorati-rank.php on line 123
Despite the error messages, it also shows my Technorati rank (~26.5k :D). I’m not knowledgeable enough about PHP to know why it’s crying over that one file.
Interestingly enough, on our server, we use SuPHP, so everything runs as us (so chmod requirements no longer require world-writable files, and php scripts will not execute if chmod’ed too high, for example).
All php for this subdomain runs as php5.
Any ideas?
I was a little curious, too, as to why it’d complain about this, since I do have the necessary directory, but I’m guessing it’s something else altogether.
$ pwd/..../wp-content/cache
$ ls -l tech*
-rw-r--r-- 1 meeeeeeee meeeeeeee 1.1K Mar 12 11:47 technorati-rank.html
It still returns the errors.
I tried commenting out lines 121-123, and the plug works fine. Can I put it live, or will the lack of those lines cause trouble in the longer run?
In the side bar it will show the plugin (with rank) but with those errors above it.
Can you check to see that you have PHP version 5+ and CURL is enabled? You can do this by building a page on your site with
<?php phpinfo(); ?>in a page. Then open that page. The top of the page will have your version of PHP and you can do a search for CURL to ensure it’s enabled.Thanks!
Doug
I am running PHP5, and cURL is compiled in (one of my usual three requests to my host, for things to be compiled into PHP).
Everything else works fine, but I’m not entirely sure why this plugin is choking, unless it’s the version of cURL compiled in to PHP (We’re at 7.15.4, and latest appears to be 7.16.1). However, I don’t want to pester my host to compile php5 again just for that, if I can help it. <:3
I can utilize older PHP 4 functionality to pull and parse the XML but it may slow it down quite a bit - I’m going to test this weekend. I appreciate all the input. “Houston, we have a problem!”.
Also - for all of those who are having problems with this plugin, I’d really encourage you to move to a new host :). I’ve got a 12 month free special with my host at the bottom of my About page.
Great work on the plugin. It worked ‘out of the box’ on Jumpline and is now installed on my blog.
Please let me know how it runs! (Still needs SimpleXML and cURL!)