<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="http://feedproxy.google.com/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feedproxy.google.com/~d/styles/itemcontent.css"?><!-- generator="wordpress/2.3.1" --><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Toojoor</title>
	<link>http://www.toojoor.com/blog</link>
	<description>Experiences with social networks, javascript, opensocial, google gadgets, etc.</description>
	<pubDate>Fri, 14 Dec 2007 06:51:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feedproxy.google.com/Toojoor" type="application/rss+xml" /><item>
		<title>Shindig: official list of _IG_ functions not defined yet</title>
		<link>http://feedproxy.google.com/~r/Toojoor/~3/GRtdaidZOCM/</link>
		<comments>http://www.toojoor.com/blog/2007/12/14/shindig-official-list-of-_ig_-functions-not-defined-yet/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 06:47:30 +0000</pubDate>
		<dc:creator>didier</dc:creator>
		
		<category><![CDATA[opensocial]]></category>

		<category><![CDATA[shindig]]></category>

		<category><![CDATA[gadget]]></category>

		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.toojoor.com/blog/2007/12/14/shindig-official-list-of-_ig_-functions-not-defined-yet/</guid>
		<description><![CDATA[As the Opensocial API blog just announced the first commit to the source code repository of Shinding (project by the Apache Foundation to deliver an open source of an opensocial container), I rushed to study the code and see if I could extract from it an "official"  list of the functions implementing Google Gadgets [...]]]></description>
			<content:encoded><![CDATA[<p>As the<a href="http://opensocialapis.blogspot.com/2007/12/lets-get-this-shindig-started.html"> Opensocial API blog just announced the first commit</a> to the source code repository of <a href="http://incubator.apache.org/projects/shindig.html">Shinding (project by the Apache Foundation to deliver an open source of an opensocial container)</a>, I rushed to study the code and see if I could extract from it an "official"  list of the functions implementing Google Gadgets interface.</p>
<p>That would have become my official list of <a href="http://code.google.com/apis/gadgets/docs/reference.html#JS_Ref">_IG_  functions</a> for opensocial conformance</p>
<p><strong>Result</strong>: no _IG_  functions  defined in Shindig yet!</p>
<p>I also studied <a href="http://code.google.com/p/opensocial-container-sample/">Opensocial Reference Container on Google Code</a>: no definition either (except 2 functions <a href="http://opensocial-container-sample.googlecode.com/svn/trunk/util.js">in util.js:</a>  _IG_RegisterOnloadHandler and _IG_AdjustIFrameHeight containing mock up code)</p>
<p>I'll have to wait a bit more to be able to include the official list in <a href="http://www.toojoor.com/blog/igcheck-results/">the final report</a> of my <a href="http://www.toojoor.com/blog/2007/12/09/opensocial-containers-check-google-gadget-api-compliance-with-gadget-igcheck-dev-tool/">IGCheck gadget</a> for opensocial compliance testing!</p>
<img src="http://feedproxy.google.com/~r/Toojoor/~4/GRtdaidZOCM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.toojoor.com/blog/2007/12/14/shindig-official-list-of-_ig_-functions-not-defined-yet/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.toojoor.com/blog/2007/12/14/shindig-official-list-of-_ig_-functions-not-defined-yet/</feedburner:origLink></item>
		<item>
		<title>How to identify the current opensocial container</title>
		<link>http://feedproxy.google.com/~r/Toojoor/~3/X4LJRznSS9s/</link>
		<comments>http://www.toojoor.com/blog/2007/12/11/how-to-identify-the-current-opensocial-container/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 08:44:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[how to]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[opensocial]]></category>

		<category><![CDATA[api]]></category>

		<category><![CDATA[hi5]]></category>

		<category><![CDATA[igcheck]]></category>

		<category><![CDATA[igoogle]]></category>

		<category><![CDATA[ning]]></category>

		<category><![CDATA[orkut]]></category>

		<guid isPermaLink="false">http://www.toojoor.com/blog/2007/12/11/how-to-identify-the-current-opensocial-container/</guid>
		<description><![CDATA[Within my IGCheck gadget (to analyze Google Gadget API compliance for opensocial containers) , I have to identify in which container the gadget code is running.
Currently, I have to differentiate between IGoogle itself, Ning, Orkut &#38; Hi5. They are the only containers that I can access as of now. If you know of more, please [...]]]></description>
			<content:encoded><![CDATA[<p>Within my <a href="http://www.toojoor.com/blog/2007/12/09/opensocial-containers-check-google-gadget-api-compliance-with-gadget-igcheck-dev-tool/">IGCheck gadget (to analyze Google Gadget API compliance for opensocial containers) </a>, I have to identify in which container the gadget code is running.</p>
<p>Currently, I have to differentiate between IGoogle itself, Ning, Orkut &amp; Hi5. They are the only containers that I can access as of now. If you know of more, please let me know!</p>
<p>To distinguish among them, I use the following strategy:</p>
<ul>
<li>following <a href="http://groups.google.com/group/opensocial/web/opensocial-gadget-parameters">this sample</a>, I parse as an associative array the arguments of the url (located at "window.location.search.substring(1)")  used to launch the gadget. Then, I get the value of the key 'synd'. It give either: 'ig' (for igoogle), 'hi5' or 'orkut' as of now. So, already 3 out of 4 identified!</li>
<li>then, for those like <a href="http://www.toojoor.com/blog/2007/12/09/opensocial-containers-check-google-gadget-api-compliance-with-gadget-igcheck-dev-tool/">Ning that don't run their opensocial APIs with the gmodules infrastructure</a>, I obtain the url argument with key 'location' and look for known string (currently 'ning') to identify the last one.</li>
</ul>
<p>That's the most "container-orthogonal" way that I found up to now, I you have any better way, let us know!</p>
<img src="http://feedproxy.google.com/~r/Toojoor/~4/X4LJRznSS9s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.toojoor.com/blog/2007/12/11/how-to-identify-the-current-opensocial-container/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.toojoor.com/blog/2007/12/11/how-to-identify-the-current-opensocial-container/</feedburner:origLink></item>
		<item>
		<title>Opensocial containers: check Google Gadget API compliance with gadget “IGCheck” (dev tool)</title>
		<link>http://feedproxy.google.com/~r/Toojoor/~3/bv9s5ljAbDA/</link>
		<comments>http://www.toojoor.com/blog/2007/12/09/opensocial-containers-check-google-gadget-api-compliance-with-gadget-igcheck-dev-tool/#comments</comments>
		<pubDate>Sun, 09 Dec 2007 10:36:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[javascript]]></category>

		<category><![CDATA[opensocial]]></category>

		<category><![CDATA[gadget]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[hi5]]></category>

		<category><![CDATA[igcheck]]></category>

		<category><![CDATA[ning]]></category>

		<category><![CDATA[orkut]]></category>

		<guid isPermaLink="false">http://www.toojoor.com/blog/2007/12/09/opensocial-containers-check-google-gadget-api-compliance-with-gadget-igcheck-dev-tool/</guid>
		<description><![CDATA[When Google launched the Opensocial initiative, it was clearly stated that the current status is beta. As a prooof, the current version of the API is 0.5.
The opensocial containers have to implement 2 APIs to be conform with this initiative:

the opensocial API itself that provides access to the social data (people, their profile, their activities, [...]]]></description>
			<content:encoded><![CDATA[<p>When <a href="http://googleblog.blogspot.com/2007/11/opensocial-makes-web-better.html">Google launched the Opensocial initiative</a><a href="http://googleblog.blogspot.com/2007/11/opensocial-makes-web-better.html">,</a> it was clearly stated that the current status is beta. As a prooof, the current version of the API is 0.5.</p>
<p>The opensocial containers have to implement 2 APIs to be conform with this initiative:</p>
<ul>
<li>the <a href="http://code.google.com/apis/opensocial/docs/">opensocial API itself that provides access to the social data</a> (people, their profile, their activities, etc....</li>
<li>the <a href="http://www.google.com/apis/homepage/guide1.html">Google Gadget API</a> which allow opensocial gadgets to be integrated in containers, interact with the external world (Xmlhttprequest, statistics via Google Analytics, etc....)  and to "achieve things" with the opensocial data</li>
</ul>
<p>As <a href="http://opensocialapis.blogspot.com/2007/11/thoughts-on-implementing-opensocial-for.html">opensocial initiative specs are still beta</a> and many partners are already and will get involved, I noticed very early on in my first experiences discrepancies between implementations on the various containers that I can already access (or at least their sandbox...) : <a href="http://www.google.com/ig">igoogle</a> itself, Google's <a href="http://www.orkut.com/">Orkut</a>, <a href="http://www.hi5.com/">Hi5</a>, <a href="http://www.ning.com/">Ning</a>.</p>
<p>So, I decided to implement this Gadget IGCheck since those discrepancies have to get eliminated over time in order to reach the initial promise of Opensocial "Write Once, Run Anywhere".</p>
<p>The purpose of IGCheck is to test and report which functions of the Google Gadget API (i.e., prefixed with _IG_ in their Javascript name) are available in which containers. IGCheck then produces a report comparing the current test with reference data.</p>
<p>To get current status, check <a href="http://www.toojoor.com/blog/igcheck-results/">this page</a> to see the most current result that we can produce concerning igoogle, <a href="http://opensocialapis.blogspot.com/2007/11/hi5-ning-and-plaxo-sandboxes-go-live.html">orkut, hi5</a> &amp; <a href="http://blog.pmarca.com/2007/11/report-from-the.html">ning</a>.</p>
<p>As the number of opensocial partners that are open for tests remain limited as of now, the following  conclusions can be drawn as of now :</p>
<ul>
<li>Orkut uses the <a href="http://gigaom.com/2006/07/11/what-are-gmodules/">gmodules infrastructure of Google Gadget</a>s to run the opensocial api (see the line "host" in the result array)</li>
<li>Hi5 does the same and as such seems to have "outsourced" the task of running its opensocial container to Google (see the line "host" in the result array)</li>
<li>Ning has followed a more independent approach by implementing a fully independent container named "proxy.ning.com" (see the line "host" in the result array)</li>
<li>The choice of Ning has currently drawbacks: IGCheck finds only 6 _IG_ functions whereas 55 are present in the others.  (see the line "count" in the result array)</li>
<li>Ning seems to have created its own function(s) with _IG_Prefix: a function "G_Tabs" is present in the Ning container but nowhere else(see the line "_IG_Tabs" in the result array).</li>
</ul>
<p>The conclusions above are preliminary results only:</p>
<ul>
<li>the current and future containers will have to converge after the current pioneering phase in order to reach the promise "Write Once, Run Anywhere" although the fact that IGCheck itself is a proof of partial achievement (IGCheck source code is unique for all containers)</li>
<li>the opensocial initiative will have to get more precise on Google Gadget API requirements: the debate on this topic is currently hot on the <a href="http://groups.google.com/group/opensocial">opensocial discussion group</a> as nothing (at least to my knowledge...) has been clearly and officially stated in this area until now . <a href="http://groups.google.com/group/opensocial/web/gadgets-api-poll">A poll is under way</a>. The target is to get opinions of developpers and eventually to define to which extent opensocial containers have to implement the _IG_ API.</li>
</ul>
<p>To use IGCheck in the above container, please use <a href="http://www.toojoor.com/opensocial/js/google/gadget/ig-check.xml">http://www.toojoor.com/opensocial/js/google/gadget/ig-check.xml</a> as URL for application / gadget in the appropriate box on your social network of choice.</p>
<p><a href="http://www.toojoor.com/blog//">Stay tuned</a>  (via <a href="http://www.toojoor.com/blog/feed/">RSS</a> also): more result to come when we can access more containers....</p>
<p><span style="font-weight: bold"></span>If you want to reproduce my tests and don't know how to access, read my 2 tutorials for <a href="http://www.toojoor.com/blog/2007/12/02/how-to-test-opensocial-api-in-orkuts-sandbox/">Orkut</a> &amp; <a href="http://www.toojoor.com/blog/2007/12/02/how-to-test-opensocial-on-hi5/">Hi5</a>. The one about Ning will follow shortly.</p>
<p><span style="font-weight: bold">PS</span>: if you now of other containers that are open for test, please, let us know!</p>
<img src="http://feedproxy.google.com/~r/Toojoor/~4/bv9s5ljAbDA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.toojoor.com/blog/2007/12/09/opensocial-containers-check-google-gadget-api-compliance-with-gadget-igcheck-dev-tool/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.toojoor.com/blog/2007/12/09/opensocial-containers-check-google-gadget-api-compliance-with-gadget-igcheck-dev-tool/</feedburner:origLink></item>
		<item>
		<title>How to test opensocial API in Orkut’s sandbox</title>
		<link>http://feedproxy.google.com/~r/Toojoor/~3/r5WGOnNRQIs/</link>
		<comments>http://www.toojoor.com/blog/2007/12/02/how-to-test-opensocial-api-in-orkuts-sandbox/#comments</comments>
		<pubDate>Sun, 02 Dec 2007 11:14:50 +0000</pubDate>
		<dc:creator>didier</dc:creator>
		
		<category><![CDATA[how to]]></category>

		<category><![CDATA[opensocial]]></category>

		<category><![CDATA[api]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[orkut]]></category>

		<category><![CDATA[sandbox]]></category>

		<guid isPermaLink="false">http://www.toojoor.com/blog/2007/12/02/how-to-test-opensocial-api-in-orkuts-sandbox/</guid>
		<description><![CDATA[Of course, Google had to be first to allow tests of opensocial API in its own social network, Orkut.
So, if you want to verify the compatibility of your latest widget with the opensocial API and Orkut, here is the procedure

obtain a Google Accounts userid / password to log in in case you did not already [...]]]></description>
			<content:encoded><![CDATA[<p>Of course, Google had to <a href="http://googleblog.blogspot.com/2007/11/opensocial-makes-web-better.html">be first to allow tests of opensocial API</a> in its own social network, <a href="http://www.orkut.com">Orkut</a>.</p>
<p>So, if you want to verify the compatibility of your latest widget with the opensocial API and Orkut, here is the procedure</p>
<ul>
<li>obtain a <a href="https://google.com/accounts/">Google Accounts userid / password</a> to log in in case you did not already get one through GMail, Analytics, Adsense, etc...</li>
<li>go the homepage of Orkut, login and create your profile on <a href="http://www.orkut.com">the "productive" Orkut</a></li>
<li>then, go to <a href="http://code.google.com/support/opensocialsignup/">this page of the opensocial project</a> to request access to the Orkut sandbox</li>
<li>when you get the invitation from Orkut in your mailbox, you can now connect to the Orkut sandbox (located at <a href="http://sandbox.orkut.com">sandbox.orkut.com)</a></li>
<li>click the application button in the sidebar to access gadget configuration</li>
</ul>
<p><a href="http://www.toojoor.com/blog/wp-content/uploads/2007/12/orkut1.jpg" title="Orkut Sandbox - Application configuration"><img src="http://www.toojoor.com/blog/wp-content/uploads/2007/12/orkut1.thumbnail.jpg" alt="Orkut Sandbox - Application configuration" /></a></p>
<ul>
<li>enter the URL of your gadget into the box left to the button<em> 'Add Application'</em></li>
</ul>
<p><a href="http://www.toojoor.com/blog/wp-content/uploads/2007/12/orkut2.jpg" title="Orkut sandbox - Application url configuration"><img src="http://www.toojoor.com/blog/wp-content/uploads/2007/12/orkut2.thumbnail.jpg" alt="Orkut sandbox - Application url configuration" /></a></p>
<ul>
<li>then, click on this button <em>'Add Application'</em></li>
</ul>
<p><a href="http://www.toojoor.com/blog/wp-content/uploads/2007/12/orkut3.jpg" title="Orkut sandbox - add URL"><img src="http://www.toojoor.com/blog/wp-content/uploads/2007/12/orkut3.thumbnail.jpg" alt="Orkut sandbox - add URL" /></a></p>
<ul>
<li><em> </em>your gadget now appears both in the list of configured applications and in the sidebar</li>
</ul>
<p><a href="http://www.toojoor.com/blog/wp-content/uploads/2007/12/orkut4.jpg" title="Orkut sandbox - Gadget in list and sidebar"><img src="http://www.toojoor.com/blog/wp-content/uploads/2007/12/orkut4.thumbnail.jpg" alt="Orkut sandbox - Gadget in list and sidebar" /></a></p>
<ul>
<li>to run your test, you can now click on the new button named like your wadget (through the use of the title attribute in the xml configuring the gadget)</li>
</ul>
<p><a href="http://www.toojoor.com/blog/wp-content/uploads/2007/12/orkut5.jpg" title="Orkut sandbox - test gadget"><img src="http://www.toojoor.com/blog/wp-content/uploads/2007/12/orkut5.thumbnail.jpg" alt="Orkut sandbox - test gadget" /></a></p>
<p>If you  need a very simple gadget to start with, you can always access my "Hello World" gadget on <a href="http://www.toojoor.com/blog/download/">the Download page</a> of this blog.</p>
<img src="http://feedproxy.google.com/~r/Toojoor/~4/r5WGOnNRQIs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.toojoor.com/blog/2007/12/02/how-to-test-opensocial-api-in-orkuts-sandbox/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.toojoor.com/blog/2007/12/02/how-to-test-opensocial-api-in-orkuts-sandbox/</feedburner:origLink></item>
		<item>
		<title>How to test opensocial API in Hi5’s sandbox</title>
		<link>http://feedproxy.google.com/~r/Toojoor/~3/YXeixDdd90I/</link>
		<comments>http://www.toojoor.com/blog/2007/12/02/how-to-test-opensocial-on-hi5/#comments</comments>
		<pubDate>Sun, 02 Dec 2007 10:35:09 +0000</pubDate>
		<dc:creator>didier</dc:creator>
		
		<category><![CDATA[how to]]></category>

		<category><![CDATA[opensocial]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[hi5]]></category>

		<category><![CDATA[sandbox]]></category>

		<guid isPermaLink="false">http://www.toojoor.com/blog/2007/12/02/how-to-test-opensocial-on-hi5/</guid>
		<description><![CDATA[Hi5 , social network with currently over 60 millions registered accounts and currently #9 in the Alexa Global Top500 , has also opened an Opensocial sandbox. They are part of Google's initiative since launch.
Based on the page of Hi5's developer site, here is how to access their sandbox for testing the compatibility of your new [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hi5.com">Hi5</a> , social network with currently over 60 millions registered accounts and <a href="http://www.alexa.com/site/ds/top_sites?ts_mode=global&amp;lang=none">currently #9 in the Alexa Global Top500</a> , has also <a href="http://opensocialapis.blogspot.com/2007/11/hi5-ning-and-plaxo-sandboxes-go-live.html">opened an Opensocial sandbox</a>. They <a href="http://www.hi5networks.com/blog/2007/11/open_social_and_hi5.html">are part</a> of <a href="http://opensocialapis.blogspot.com/2007/11/were-here-listening-and-working.html">Google's initiative</a> since <a href="http://googleblog.blogspot.com/2007/11/opensocial-makes-web-better.html">launch</a>.</p>
<p>Based on the <a href="http://www.hi5networks.com/developer/">page of Hi5's developer site</a>, here is how to access their sandbox for testing the compatibility of your new opensocial widget with their container:</p>
<ul>
<li>get a regular account on Hi5 to create a valid pair of userid / password</li>
<li>go to http://sandbox.hi5.com and log in with userid /password</li>
<li>when logged in, click on <em>'MyProfile'</em></li>
</ul>
<p><a href="http://www.toojoor.com/blog/wp-content/uploads/2007/12/hi5-1.jpg" title="My Profile in hi5 Sandbox"><img src="http://www.toojoor.com/blog/wp-content/uploads/2007/12/hi5-1.thumbnail.jpg" alt="My Profile in hi5 Sandbox" /></a></p>
<ul>
<li>click then on Tab <em>'Applications'</em></li>
</ul>
<p><a href="http://www.toojoor.com/blog/wp-content/uploads/2007/12/hi5-2.jpg" title="Access Applications in Hi5 Sandbox"><img src="http://www.toojoor.com/blog/wp-content/uploads/2007/12/hi5-2.thumbnail.jpg" alt="Access Applications in Hi5 Sandbox" /></a></p>
<ul>
<li>now, you can test your widget by entering its URL in <em>'Add External'.</em> Here is what I get for <a href="http://www.toojoor.com/opensocial/js/hworld.xml">my "Hello World" widget</a></li>
</ul>
<p><a href="http://www.toojoor.com/blog/wp-content/uploads/2007/12/hi5-3.jpg" title="Hi5 - Test of Hello World gadget"><img src="http://www.toojoor.com/blog/wp-content/uploads/2007/12/hi5-3.thumbnail.jpg" alt="Hi5 - Test of Hello World gadget" /></a></p>
<p><strong>PS:</strong> the cat showing off on some screenshots is Unique, the family's <a href="http://en.wikipedia.org/wiki/Maine_Coon">Maine Coon</a></p>
<img src="http://feedproxy.google.com/~r/Toojoor/~4/YXeixDdd90I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.toojoor.com/blog/2007/12/02/how-to-test-opensocial-on-hi5/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.toojoor.com/blog/2007/12/02/how-to-test-opensocial-on-hi5/</feedburner:origLink></item>
		<item>
		<title>test</title>
		<link>http://feedproxy.google.com/~r/Toojoor/~3/p7su-tzRsZw/</link>
		<comments>http://www.toojoor.com/blog/2007/11/15/test/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 11:59:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[opensocial]]></category>

		<guid isPermaLink="false">http://www.toojoor.com/blog/?p=3</guid>
		<description><![CDATA[test
]]></description>
			<content:encoded><![CDATA[<p>test</p>
<img src="http://feedproxy.google.com/~r/Toojoor/~4/p7su-tzRsZw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.toojoor.com/blog/2007/11/15/test/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.toojoor.com/blog/2007/11/15/test/</feedburner:origLink></item>
	</channel>
</rss>
