Archive for 2009-05

5 月 16 2009

关于WordPress的评论头像

Published by under 技术流

在WordPress的评论中显示头像需要调用一个叫Globally Recognized Avatar的服务
你只需在http://www.gravatar.com注册一个帐号,就可以在全球任何使用Gravatar服务的站点显示个性化的头像
WordPress2.5之前需要安装专门的插件来实现,现在已经原生支持

 

Gravatar的索引是邮箱地址,根据你留在网站上的邮箱显示相应头像
注册后会让你输入一个主邮箱地址
如果你有多个常用邮箱,后面还可以加
每个邮箱都需要通过邮件验证

 

然后是上传头像
上传头像后会让你选图片级别,类似于国外的影片分级,由低到高依次为

  • G — 普通级别,任何年龄的访客都适合查看
    PG — 有一定争议性的头像,只适合13岁以上查看
    R — 成人级,只适合17岁以上成年人查看
    X — 最高等级,不适合大多数人查看

使用Gravatar网站也会有一个相应的显示级别,图片级别过高在有些网站就会显示不出来
所以只要没上传艳照的话,一般就选G吧

 

最后是把图片绑定到邮箱
图片也可以上传多张,随心情换

 

这个服务的好处是不必换个站就需要注册一个帐号上传一次头像
坏处是只要别人填的是你的邮箱,就可以冒用你的头像
不过这应该算开放式讨论系统本身的问题
WordPress后台也可以设成需要注册才允许评论,不过我一般不会这么做

 

Gravatar本身还提供了三套随机头像,用来显示那些没有绑定过的邮箱
具体用哪套就要看网站管理员的心情了
比如我就喜欢用Wavatar那套,好多小星星哦:P



本文链接地址:https://blog.cuilw.com/post/669

No responses yet

5 月 15 2009

Refugee, Afghanistan

Published by under Photo of the Day

http://photography.nationalgeographic.com/photography/photo-of-the-day/refugee-afghanistan-pod.html

Refugee, Afghanistan

Photograph by Reza

This Month in Photo of the Day: Images From National Geographic Books

Fleeing the war in Afghanistan, an elderly man set up a temporary home within sight of the Afghan mountains he loved.

From the National Geographic book Reza War + Peace, 2009

 

译文:

难民,阿富汗

摄影:Reza

本月每日一图的主题是:国家地理图书插图

为了躲避阿富汗国内的战乱,一位老人在能看到他深爱的阿富汗群山的地方建了一个临时的家。

来自2009年国家地理图书《Reza 战争与和平



本文链接地址:https://blog.cuilw.com/post/667

No responses yet

5 月 15 2009

[中国青年报]浙江高考航模加分者被指多来自权势家庭

Published by under 闲言蜚语

终于有人说了我不能说的话

版权问题不能转载,大家去中青网看吧

http://www.cyol.net/zqb/content/2009-05/15/content_2667636.htm



本文链接地址:https://blog.cuilw.com/post/666

No responses yet

5 月 15 2009

冷笑话一则

Published by under 似水年华

– 你投了联通的什么职位?

– 系分和网优

– 网优?

– 移动网络优化

– 哦,你去联通给移动做网络优化?

– ……



本文链接地址:https://blog.cuilw.com/post/665

No responses yet

5 月 14 2009

Pilgrims, Tanta, Egypt

Published by under Photo of the Day

http://photography.nationalgeographic.com/photography/photo-of-the-day/pilgrims-egypt-pod.html

Pilgrims, Tanta, Egypt

Photograph by Reza

This Month in Photo of the Day: Images From National Geographic Books

A crowd of pilgrims arrives at the mosque in Tanta for Ragabiya, a three-day festival honoring the most venerated saint in Egypt, Sidi Ahmad Al-Badawi.

From the National Geographic book Reza War + Peace, 2009

 

译文:

朝圣者,坦塔,埃及

摄影:Reza

本月每日一图的主题是:国家地理图书插图

一群朝圣者来到坦塔的清真寺,参加Ragabiya——为纪念埃及最受尊敬的圣人Sidi Ahmad Al-Badawi而举行的为期三天的庆典。

来自2009年国家地理图书《Reza 战争与和平



本文链接地址:https://blog.cuilw.com/post/664

No responses yet