La version 2 du plugin WordPress de rang Technorati est sortie!

Dans la foulée du premier plugin Technorati Rank, j'ai repensé le contenu de sortie pour le faire CSS conduit (ci-dessous est une capture d'écran, vous pouvez interagir avec celle de la barre latérale de mon site):

Plugin WordPress de rang Technorati version 2

Celui-ci était un peu plus difficile à produire, mais le résultat est beaucoup plus agréable. Tout d'abord, j'ai utilisé ce que j'ai appris Bitbox pour créer chacun des boutons de sortie sur l'image dans Illustrator.

L'étape suivante consistait à utiliser des styles pour créer réellement quelqu'un d'un carte d'image sauf qu'il y a en fait pas de carte! C'est plutôt cool, en fait. Vous pouvez définir l'arrière-plan global de la division, puis créer chacun des «hotspots» en utilisant le positionnement absolu et le CSS. Affichez le CSS de sortie.

J'ai également ajouté un lien vers la nouvelle version de Technorati WTF page et l'adresse RSS du site. J'espère que tu aimes! Je pense que c'est une énorme amélioration par rapport à la première version! Il y a un i lien en bas à droite qui promeut également le plugin.

Plugin WordPress actuel de classement Technorati version 2.0.4

23 Commentaires

  1. 1
  2. 3

    I tried to install the newest and greatest following your directions to the “letter” 🙂

    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

    Aucune suggestion?

    • 4
      • 5
        • 6

          I hope they do! But I also hope your host upgrades. PHP5 really brings some much better performance improvements, as well as some better tools for consuming APIs. I utilize Jumpline, you’ll see a link in my sponsor list on my home page. I also believe Dotster has some good VDS hosting with the latest and greatest.

      • 7

        Doug,
        J'ai le même problème
        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.

        Des idées?

  3. 10

    Awesome Plugin, Excellent styling! Thanks Doug, and great work. I never even knew about the first one, but this is going in my sidebar pronto.

    It’s REALLY Rewarding to see that my Illustrator tips helped you make your buttons!!!!!

    Merci encore,

    ~BitBox

    • 11

      Thank-you, BittBox! I think I’ve got a good eye for style, but I never seem to get it right most of the time. Being able to actually download your samples and dissect them is what makes the difference. I’m able to actually execute on those ideas now. 🙂

      I’m toying with some thoughts on my blog’s header and background next.

  4. 12

    Well, Doug, it seems that the version 2 plugin hates me. I get error messages:

    Warning: fopen(/technorati-rank.html) [function.fopen]: failed to open stream: Permission denied in /..../wp-content/plugins/technorati-rank/technorati-rank.php on line 121
    Warning: 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.

    Des idées?

    • 13

      Do you have a wp-content/cache directory Xial? I thought it would be a good idea to utilize the same cache directory as WP-Cache. In hindsight, perhaps it was not a good idea! That line is definitely to write to the cache file.

      • 14

        I certainly do, Doug. I’ve been running WP-Cache for quite a while. 🙂

        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.

      • 15

        Interesting bit of info to add:

        $ 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.

    • 16

      Just want to chime in with having the same error. Site runs php5, and the button displays.
      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?

  5. 17

    I’m getting the same errors as above, I also thought it was my cache dir but I have one and also made sure write rights were correct.
    In the side bar it will show the plugin (with rank) but with those errors above it.

    • 18

      Salut Richard,

      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.

      Merci!
      Doug

      • 19

        Well, Doug, I double-checked my PHP version.
        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

        • 20

          I’m going to take a deeper look this weekend. It’s running without any problems on a few sites – so it’s one of 3 things: 1. Cache, 2. cURL or 3. PHP Version.

          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!”.

  6. 21

    Just a note: Technorati has launched an Autorité Plugin

    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 À Propos Venez regardez des photos heureuses et inspirantes.

  7. 22
  8. 23

    I’ve received quite a few requests that there have been errors writing or reading from the cache file. I actually identified an issue where I was pushing and pulling the cache file to the root directory. I’ve modified version 2.0.4 so that it writes to a cache subdirectory within the plugin’s directory.

    Please let me know how it runs! (Still needs SimpleXML and cURL!)

Que pensez-vous?

Ce site utilise Akismet pour réduire les spams. Découvrez comment sont traitées les données de vos commentaires..