2008年12月6日星期六
2008年11月21日星期五
豆瓣猜
一直很喜欢豆瓣上的“豆瓣猜”这个功能,帮我找到了不少好书,最近我的豆瓣猜推荐的书中有《信息规则》《Programming Collective Intelligence》,都是最近看过的很棒的书,前者我在豆瓣上买到了二手书,后者则在网络上下到了电子版。有趣的是,《Programming Collective Intelligence》这本书是我在添加了哈耶克的《致命的自负》这本书后出现在我的豆瓣猜列表里面的。看过《致命的自负》这本书的人常常会去看 《Programming Collective Intelligence》吗。不会吧!!难道是因为两者都比较看重大众的智慧啊。
这让我想起一个事情,在一家超市里,有一个有趣的现象:尿布和啤酒赫然摆在一起出售。但是这个奇怪的举措却使尿布和啤酒的销量双双增加了。这不是一个笑 话,而是发生在美国沃尔玛连锁店超市的真实案例,并一直为商家所津津乐道。原来,美国的妇女们经常会嘱咐她们的丈夫下班以后要为孩子买尿布。而丈夫在买完 尿布之后又要顺手买回自己爱喝的啤酒,因此啤酒和尿布在一起购买的机会还是很多的。听起来很好玩吧。
2008年11月11日星期二
facebook开发应注意的5个原则
, which is an electronic version of those cards passed around the office for everyone to sign.
, Good Call Sports
, GroupCard
, RealGifts
and vDream Racing.
2008年11月4日星期二
2008年10月29日星期三
2008年10月28日星期二
雅虎Y!OS 1.0开放了
(YSP):有一系列的REST的APIs可以访问用户的Profiles,Connections, Updates, Contacts and Status.
(YQL):用像sql的语法一样去访问其他的web services数据 .
(YAP):目前的版本包括
- Developer hosted execution of applications with access to Yahoo's Social APIs and YQL;
- Support for OpenSocial's JavaScript API; and
- Support for server-side YML tags.
2008年10月26日星期日
wakoopa发现软件
2008年10月21日星期二
Android与社交
"摩托罗拉Android手机重点强调社交网络功能,可以让用户很便捷的接入社交网络站点,比如Facebook、MySpace等。举个例子,这样的手机可以让用户直接从电话本里找到社交网络中的好友,并直接发送信息。"
"行动迟缓就是给了对手机会。位于伦敦的INQ公司将于一个月内在英国和澳大利亚推出首款社交网络型智能手机INQ1。INQ1将Facebook功能和 地址本、摄像功能很好集成一起,预期于明年在美国推出。此外,诺基亚已经开始着手在高端手机中增强和其网络站点Ovi的互联。"
2008年10月19日星期日
facebook的iframe模式和fbml模式
当一个用户访问http://apps.facebook.com/yourapp/somepage的时候,这个iframe可以这样访问,http://www.yourdomain.com/callbackurl/somepage?fb_sig_in_iframe=1&fb_sig_locale=en_US&fb_sig_time=1221720862.9318&fb_sig_api_key=48102584111d14a9c2e41dd28ea637d7&fb_sig=e656792696ae913c1fc34eeff2d79f75
fb_sig系列的参数是facebook加给应用程序的一些需要用到的参数,在facebook app中有时候你需要用到一些社交性的内容比如姓名和个人照片,这些需要到facebook拿到的数据,这时候你就不能使用fbml而使用facebook的api并且你只能自己渲染它。

当一个用户访问http://apps.facebook.com/yourapp/canvaspage的时候,facebook并不立即返回一个响应,而是发送一个请求至你的app所在的服务器,他会发送一个HTTP POST到你的地址比如http://www.yourserver.com/callbackurl/canvaspage,fb_sig 参数就会放在POST里面,facebook希望得到的返回包含一些FBML,然后它把这些FBML解释成html发到用户的浏览器。这样,如果你需要显示一些社交内容比如名字和头像的话,就只需要使用像
2008年10月17日星期五
Shindig的几个部分
- Gadget Container JavaScript -- core JavaScript foundation for general gadget functionality (read more about gadget functionality). This JavaScript manages security, communication, UI layout, and feature extensions, such as the OpenSocial API.
- Gadget Server -- an open source version of gmodules.com, which is used to render the gadget xml into JavaScript and HTML for the container to expose via the container JavaScript.
- OpenSocial Container JavaScript -- JavaScript environment that sits on top of the Gadget Container JS and provides OpenSocial specific functionality (profiles, friends, activities).
- OpenSocial Gateway Server -- an open source implementation of the server interface to container-specific information, including the OpenSocial REST APIs, with clear extension points so others can connect it to their own backends.
shindig搭Opensocial容器
[bash] svn export \
http://svn.apache.org/repos/asf/incubator/shindig/trunk/
[bash] mv trunk shindig
DocumentRoot "C:/www/shindig/php"
ServerName shindig.mshome.net
ErrorLog "logs/shindig.log"
CustomLog "logs/shindig-access.log" common
Options FollowSymLinks
AllowOverride FileInfo
Order Allow,Deny
Allow from all
Make sure that mod_rewrite is also enabled in your web server. Check if you have the following line in the Apache’s configuration file httpd.conf:
LoadModule rewrite_module modules/mod_rewrite.so
第四步:ok,打开下面链接可以看到访问成功
http://localhost/gadgets/ifrurl=http://www.labpixies.com/campaigns/todo/todo.xml
2008年10月16日星期四
新的iGoogle
新增了canvas view:an expanded view of a single gadget inside of iGoogle
It's all About the Canvas
Google is clearly positioning iGoogle as a one-stop resource for all Google products. So far, it shared its fate with most other similar services like Netvibes. It was a good homepage for your browser, but the gadgets and widgets on the site didn't provide enough functionality to keep you coming back during the day. Now, iGoogle is basically becoming an interface to the rest of Google's product line and has instantly become far more useful.
"Canvas view allows developers to deliver richer content, games, and UI to users on iGoogle as well as the opportunity to monetize. "
"In addition to canvas view, we’re also replacing the tab interface with the left navigation seen in the sandbox. This allows users to jump from one canvas view to another with only one click. Going forward, we're working hard to graduate more functionality out of the sandbox and into production, such as OpenSocial."

