2008年10月17日星期五

Shindig的几个部分

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容器

第一步:下载shindig
[bash] cd /cygdrive/c/www 
[bash] svn export \ 
          http://svn.apache.org/repos/asf/incubator/shindig/trunk/ 
[bash] mv trunk shindig

第二步:配置httpd.conf
# 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 
   
 
第三步:配置httpd.conf

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

新的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."