没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > google-sgnodemapper |
google-sgnodemapper
|
1 | 0 | 233 |
贡献者 | 讨论 | 代码提交 |
The Social Graph Node Mapper is a community project to build a portable library to map social networking sites' URLs to and from a new canonical form (sgn:// URLs).
For example, the following URLs are all the same person:
http://brad.livejournal.com/ http://brad.livejournal.com/data/foaf http://brad.livejournal.com/data/rss http://brad.livejournal.com/data/atom http://brad.livejournal.com/profile http://www.livejournal.com/userinfo.bml?user=brad etc With sgnodemapper, all of those would map to sgn://livejournal.com/?ident=brad . And then, from the sgn URL, you can map back to http:// URLs for any known type: content page, profile page, RSS, Atom, etc.
The core library is portable, implemented in JavaScript, and then there are tiny bridge layers which bind the language-specific libraries to both a JavaScript interpreter (either SpiderMonkey or Rhino) and the sgnodemapper core. Bindings are available for:
C, C++ -- using SpiderMonkey Java -- using Rhino Perl -- using JavaScript::SpiderMonkey PHP -- thanks to Plaxo, wrapping the C++ library Coming soon:
Python -- using python-spidermonkey Ruby -- using ruby-spidermonkey Commit emails go here:
http://groups.google.com/group/sgnodemapper-commits Live web demo using the latest files in svn is here:
http://google-sgnodemapper.googlecode.com/svn/trunk/webdemo/demo.html