<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	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/"
	>

<channel>
	<title>Toojoor &#187; how to</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>
			<item>
		<title>How to identify the current opensocial container</title>
		<link>http://www.toojoor.com/blog/2007/12/11/how-to-identify-the-current-opensocial-container/</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>
]]></content:encoded>
			<wfw:commentRss>http://www.toojoor.com/blog/2007/12/11/how-to-identify-the-current-opensocial-container/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to test opensocial API in Orkut&#8217;s sandbox</title>
		<link>http://www.toojoor.com/blog/2007/12/02/how-to-test-opensocial-api-in-orkuts-sandbox/</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>
]]></content:encoded>
			<wfw:commentRss>http://www.toojoor.com/blog/2007/12/02/how-to-test-opensocial-api-in-orkuts-sandbox/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to test opensocial API in Hi5&#8217;s sandbox</title>
		<link>http://www.toojoor.com/blog/2007/12/02/how-to-test-opensocial-on-hi5/</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>
]]></content:encoded>
			<wfw:commentRss>http://www.toojoor.com/blog/2007/12/02/how-to-test-opensocial-on-hi5/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
