• Business posts
  • Technology posts
  • Company site
  • SubscribeRSS

Gravatars = Globally recognized avatars

Posted on July 20, 2007  by Mikko Ohtamaa
Filed Under Red innovation, Wordpress, avatar, blogging, gravatar

When travelling in Blogosphere you will be recognized, besides by your nick, by your avatar. Avatar is “user icon”, an user chosen image shown next to his/her comments. This little cheerful image brings a whole new dimension of feeling into otherwise so dull textual messages.

In the past, it has been a problem to register and upload your image to every site you visit. Not anymore. Gravatar is a service where one can register globally recognized avatar for himself/herself. An image is associated to an email address and every time you post somewhere with this email services, your avatar image is automatically fetched from gravatar.com. Simple and cool. The Gravatar images have even age limits!

Of course, this requires Gravatar support from the service you are posting into. But since the service is free and has received good community feedback, we can expect seeing more Gravatars in the future. To help the progress of the world, I added Gravatar support for blog.redinnovation.com. You are welcome to comment our blog with your Gravatar image to see whether this service works.

Also, I found a little bug from ZenPax’s Gravatar2 plug-in for Wordpress. Wordpress 2.2 rich text editor was sanitizing XML mark-up used in blog posts. Gravatar2 plug-in used misformed syntax in its “place your Gravatar to post” code. Gravatar2 was cleaned away. Here is required changes you need to do to make the plug-in work with Wordpress 2.2.

In function gravatars_in_post() change line (1055) beginning with preg_match_all to

preg_match_all("/<gravatar>([^<]+)</gravatar>/", $content, $matches);

Now you can place Gravatar images to the blog post. In the Wordpress rich-text editor, toggle Code view and use following tag:

<gravatar>youremailaddress@internet.com</gravatar>

Voilá!

  • About

    Twinapex Blog is the voice of mobile and Internet experts. We tell tales about our exciting life in the world where communication methods convergence and you can access whatever information you wish, wherever, on whichever device you want.

    If you find us interesting and talented and you are looking for developers, please contact us and we might just be able to help you.

    Creative Commons License
    This work is licensed under a Creative Commons Attribution 3.0 Unported License.

  • Recently Written

  • PyDev, Python and system default Unicode encoding problem
  • Creating a drag’n’drop basket with jQueryUI
  • Mobile browser wars: Nokia microB vs. Firefox Fennec
  • Profiling PostgreSQL database
  • It will be damn big, and damn fast…
  • Black Friday was not sad for mobile commerce
  • Nokia N900, sports tracking and geotagging
  • PhoneGap ported on N900 (Maemo)
  • Do you really think 160 chars tells the story?
  • Installing Python Imaging Library (PIL) under virtualenv or buildout
  • Tags

  • aggregator analytics android api buildout c++ cms comic debug debugging developer django documentation eclipse extjs failure html iphone javascript jquery language linux mobile multilingual nokia php plone Plone (old) pys60 python release rss s60 seo series 60 setuptools sql subclipse symbian ubuntu usability virtualenv web web development zope
  • Monthly Archives

  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • February 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
 
© Twinapex Oy 2010 Log in