持续关注A+M- -| 回首页 | 2005年索引 | - -Colin版《解脱》

GRAVATAR让你在不同blog留言时自动显示个性头像

                                      

最近在阿修DANCEMOON的blog留言的时候发现自己名字旁边自动地显示出了我的个性头像

有一点诧异这个功能是怎么实现的……于是我察看了图片的地址,找到了GRAVATAR这个网站,这才回想起自己几天以前忘了在哪位老兄的blog看到了介绍,也没仔细看就去注册了一个账号上传了这张图片。今天仔细看了该网站对这个服务的介绍,觉得很不错,在这里说明一下。

就是blogger们可以在自己的blog上加上调用GRAVATAR里已有的注册用户的头像图片,只要该blog加上了这个功能,所有在GRAVATAR注册了的用户的头像都可以在这个blog上显示出来,换句话说,只要我在GRAVATAR上注册并上传了自己的个性头像,那么我在任何支持GRAVATAR的blog上留言的时候都能自动显示自己的头像。这个功能的实现就是用了“http://www.gravatar.com/avatar.php?gravatar_id=gravatar注册用户的email地址的MD5编码”这段代码。想了想,不单单是在blog,这一功能可以可到很广泛的应用,就看GRAVATAR对自己的推广了,毕竟这个服务还是很方便也很贴心的。不过在网站上只看到了PHP、Perl、Java、ColdFusion的使用说明,按理说也该支持asp。

What is a gravatar?

A gravatar, or globally recognized avatar, is quite simply an 80×80 pixel avatar image that follows you from weblog to weblog appearing beside your name when you comment on gravatar enabled sites. Avatars help identify your posts on web forums, so why not on weblogs?

Stay up to date with The Gravatar Weblog

Read the entire FAQ and see them in action.

How do I get a gravatar?

Signing up for a gravatar.com account is FREE, and all that's required is your email address. Once you've signed up you can upload your avatar image and soon after you'll start seeing it on gravatar enabled weblogs!

Sign up now!

How do I get gravatars on my weblog?

Setting up gravatars on your weblog is easy, you don't even need an account! Plugins are available for leading weblog software, and our tutorials will have you running gravatars in no time. To request a gravatar from our servers, you simply add an image to your comments area with an "src" attribute that points to our gravatar image generator and includes an MD5 hash of the commenter's email address. Since all gravatars are rated with an MPAA style rating, you can restrict your site to show only gravatars whose content you are comfortable with.

Learn more.


【作者: bearcolin】【访问统计:】【2005年04月20日 星期三 10:55】【 加入博采】【打印

Trackback

你可以使用这个链接引用该篇文章 http://publishblog.blogchina.com/blog/tb.b?diaryID=1254393

回复

- 评论人:琐琐碎碎   2006-07-18 16:36:33   

喜欢是一种心情爱是一种感情爱,365没有休止365365

- 评论人:为哦   2005-11-19 14:07:45   

户沃萨吉我解围

- 评论人:为哦   2005-11-19 14:07:44   

户沃萨吉我解围

- 评论人:王 木 木   2005-11-01 14:51:30   

很好

- 评论人:智丽雪人   2005-11-01 14:26:23   

真的吗

- 评论人:wxr1113   2005-11-01 14:23:48   

rkk

- 评论人:男人 海洋   2005-10-29 12:35:57   

头 象蛮可爱

- 评论人:怎样爱   2005-10-26 15:15:51   

我曾深深的爱着你 为你付出 而结果是历史的重演 为什么我感动不了你 我是那么的深爱着你 为你我付出一切 失去一切 结果我还是失败者

- 评论人:怎样爱   2005-10-26 15:15:48   

我曾深深的爱着你 为你付出 而结果是历史的重演 为什么我感动不了你 我是那么的深爱着你 为你我付出一切 失去一切 结果我还是失败者

- 评论人:1251250   2005-10-22 12:45:57   

50

- 评论人:1251250   2005-10-22 12:45:55   

50

- 评论人:小涛   2005-10-07 11:50:20   

我爱你

- 评论人:小涛   2005-10-07 11:49:44   

我爱 你

- 评论人:   2005-09-28 15:22:50   


- 评论人:11112212   2005-09-22 11:32:48   

2121212121

- 评论人:11112212   2005-09-22 11:32:47   

2121212121

- 评论人:11112212   2005-09-22 11:32:47   

2121212121

- 评论人:553913992   2005-09-12 21:01:43   

ni hao

- 评论人:CrazyTiger   2005-05-25 14:21:20   

个性头像很可爱

验证码:   
评论内容: