Nicolas Schmit: Mäerz 3, 2007 - Verëffentlecht Technorati Rank WordPress Plugin.
UPDATE: Gutt et klëmmt datt Technorati eng deeglech Ufrogrenz huet. Ech hunn de schwéiere Wee erausfonnt, si hunn mech zougemaach. Wann Dir de Widget installéiert hutt, gesitt Dir datt et Feeler steet mat engem Link zréck op d'Projekt Säit fir datt Dir de Code selwer eroflueden an hosten. Ech hunn de Code och aktualiséiert sou datt Dir eemol d'Daily Allotment vun erreecht API rifft, ännert et einfach an e "Add to Favorites" Link.
Sinn als Datebankmarkéierer vum Handel, hunn ech zwee Mängel (okay ... vill méi wéi zwee, awer dës hu mat dësem Post ze dinn). Ech schaffen gutt mat numereschen Ziler an ech schaffen gutt organiséiert a logesch ausriichten Projeten, Leit, Software, asw. Och meng Bicher sinn organiséiert (lénks Säit vum Buchfall ass Software an Entwécklung, riets uewen ass Geschäft, ënnen riets ass Fiktioun).
De numeresche Feeler hält mech de ganzen Dag iwwer Technorati, Google Analytics a Google Adsense, all Dag. Techorati ass ee vun deenen, déi wierklech mäi Interesse kréien, well et mir gëtt, wien op mech verlinkt. Ech si gär déi Siten ze besichen a kucken wat se soen oder wat se nëtzlech fonnt hunn. Fir ze erkennen ob mäi Rang geännert huet oder net, muss ech awer op mengem Blog sichen.
Ech hunn eppes méi séier gebraucht also hunn ech e klenge "Widget" op Technorati programméiert API fir mäi Rang séier an einfach ze kréien. Et ass tatsächlech wat de Rang uewen op dësem Post affichéiert. Wann Dir wëllt gesinn wéi, da schloe meng Projet Säit up.
Ech hunn et mat PHP5 + gebaut (Et benotzt SimpleXML), cURL a JavaScript. SimpleXML ass en onheemlech mächtege XML-Motor! Et ass vill méi einfach ze programméiere wéi den alen Parsingmotor. Code Beispiller sinn op der Projet Säit och.
does this mean I get to be the first to say thanks 🙂 and let you know that I most definitely borrowed this 🙂
Borrow away, Steven! That’s what this blog is all about.
Steve,
I made a modification that utilizes the little Technorati logo. It’s styled quite nicely now. I’ve updated the code page as well.
Gréiss,
Doug
nice touch 🙂
I have it displaying in my Site Rankings text widget – with due credit of course 🙂
Wow, that’s a HUGE credit! Thanks, so much. Don’t feel compelled to keep that there. I have a little comment in the HTML that points to the project page.
I fixed the text size LOL so it looks a little better.
I updated the widget with a nice tooltip that provides additional details about your rank! Your Blog’s name (according to Technorati) as well as inbound links and blogs!
Well, that was quick! I am currently getting an error from Technorati:
You have used up your daily allotment of Technorati API queries.
With that in mind, I’ve modified my posts here to have people host the code on their own rather than hitting my site. Sorry about that folks! I didn’t even know there was a ‘daily allotment’.
well that really suck Doug 🙂 … oh well it was fun while it lasted. Although it soes go to show some definite popularity – maybe Technorati will have noticed and implement something similar themselves
I hope so, too. I read through their site and can not find what the ‘daily allotment’ is, though. It’s a little frustrating.
I have modified the code to simply pass the error message as commented HTML so it doesn’t display the “0” that it used to. Now it will only display the widget if there’s a positive response.
I suppose the best bet may be to host the source page yourself you can do that. I’ll keep you posted when I find out what the ‘daily allotment is’. Thanks, Steven!
Ok… some more improvements. If you try to look up a URL with the widget other than mine, it will tell you there’s an error and bring you to the project page. This is so that you can download the code and host it yourself. Anyone can host this code and that way you won’t run into the API daily allotment.
I’ve also modified it so that if you do reach the Daily Allotment, it simply switches into an “Add to Favorites” link!
I wonder how the Dapper guys are doing it? Maybe they only check once a day and cache the results.
Dapper Screen Scraping for any Site
Alright folks! I’ve totally rewritten this into a WordPress plugin and it has caching. Woohooo!
Technorati Rank WordPress Plugin
I found your little addon for Technorati, though I found out my server didn’t have cURL compiled when the PHP5 was installed.
So I’ll see if I can get this one working: http://samanathon.com/2007/03/10/wordpress-plugin-display-your-technorati-rank-with-php-4/ which you helped with for those who don’t use PHP5 🙂
Wow, Tyler! I knew cURL was a requirement but I did not realize that some folks wouldn’t have it available to them. I thought that was a library that was loaded by default with PHP installs. I’m only guessing – but I bet that Samanthon’s uses cURL as well.
Thanks alot! This has helped me out loads.
Now I just need to tweak it and it should be perfect
Anyone got any idea what the actual limit is? I just found out the hard way too testing an app 🙁
Oh just found out it is 1000… oops, did I really make 1000 queries today?
guitarnoize – be sure to put some kind of easy caching mechanism
http://www.snipe.net/2009/03/quick-and-dirty-php-...
Doug