<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>OpenSocial Hackathon</title>
	<atom:link href="http://hackathon.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://hackathon.wordpress.com</link>
	<description>Episode I of III</description>
	<lastBuildDate>Thu, 27 Mar 2008 18:07:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='hackathon.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>OpenSocial Hackathon</title>
		<link>http://hackathon.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://hackathon.wordpress.com/osd.xml" title="OpenSocial Hackathon" />
	<atom:link rel='hub' href='http://hackathon.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Hackathon III Tutorial Follow-up</title>
		<link>http://hackathon.wordpress.com/2008/03/27/hackathon-iii-tutorial-follow-up/</link>
		<comments>http://hackathon.wordpress.com/2008/03/27/hackathon-iii-tutorial-follow-up/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 18:07:07 +0000</pubDate>
		<dc:creator>hackathon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hackathon.wordpress.com/?p=43</guid>
		<description><![CDATA[Thank you for everyone who came to the Hackathon at HurricaneElectric. We had a good time. Thanks a bunch Benny. And thank you to everyone who attended my tutorial presentation. I enjoyed it very much and would be happy to be of service to anyone who needs help developing their apps. Here is a link [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackathon.wordpress.com&amp;blog=2604113&amp;post=43&amp;subd=hackathon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Thank you for everyone who came to the Hackathon at HurricaneElectric. We had a good time. Thanks a bunch Benny.</p>
<p>And thank you to everyone who attended my tutorial presentation. I enjoyed it very much and would be happy to be of service to anyone who needs help developing their apps.</p>
<p>Here is a link to the code I went over. The code is derived from the Orkut Sample App linked to below. <a href="http://ariel-jakobovits.com/OpenSocial/tutorial/OpenSocial_Tutorial.zip" target="_blank">Download Here  </a></p>
<p>Check out the list of links below that may be of interest.</p>
<p>Thanks again, and good luck with OpenSocial. Also, be in touch if you need help getting Flash/Flex deployed into your gadget.</p>
<p>-Ariel Jakobovits (arieljake at gmail dot com)</p>
<h3><font color="#00ccff"><b>Useful Links:</b></font></h3>
<p><b>hi5 hackathon PPT &amp; Sample App</b></p>
<p>http://www.slideshare.net/lrm718/hi5-hackathon-presentation</p>
<p><b>Orkut Sample App</b></p>
<p>http://code.google.com/apis/opensocial/articles/tutorial/tutorial-0.7.html</p>
<p><b>Orkut Tutorial Video</b></p>
<p>http://youtube.com/view_play_list?p=AF95111FF081DBAC</p>
<p><b>OpenSocial API</b></p>
<p>http://code.google.com/apis/opensocial/docs/0.7/reference/</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hackathon.wordpress.com/43/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hackathon.wordpress.com/43/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackathon.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackathon.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackathon.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackathon.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackathon.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackathon.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackathon.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackathon.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackathon.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackathon.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackathon.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackathon.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackathon.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackathon.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackathon.wordpress.com&amp;blog=2604113&amp;post=43&amp;subd=hackathon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackathon.wordpress.com/2008/03/27/hackathon-iii-tutorial-follow-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8bdd9ca62a7a31b29b1570616346f606?s=96&#38;d=identicon" medium="image">
			<media:title type="html">hackathon</media:title>
		</media:content>
	</item>
		<item>
		<title>Hackathon III: March 26, 2008</title>
		<link>http://hackathon.wordpress.com/2008/03/13/hackathon-iii-march-26-2008/</link>
		<comments>http://hackathon.wordpress.com/2008/03/13/hackathon-iii-march-26-2008/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 16:02:46 +0000</pubDate>
		<dc:creator>hackathon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hackathon.wordpress.com/2008/03/13/hackathon-iii-march-26-2008/</guid>
		<description><![CDATA[OpenSocial Hackathon Episode III: Western Region Happy Easter! We will be hosting Western Region OpenSocial Hackathon at Hurricane Electric &#8220;The Matrix&#8221; building. The city is listed as Fremont but it is actually on Milpitas border which is 2-3 miles north of 237 or less than 10miles from Mountain View. We are not going to put [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackathon.wordpress.com&amp;blog=2604113&amp;post=42&amp;subd=hackathon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3><font color="#3366ff">OpenSocial Hackathon Episode III: Western Region</font></h3>
<p>Happy Easter! We will be hosting Western Region OpenSocial Hackathon at Hurricane Electric &#8220;The Matrix&#8221; building. The city is listed as Fremont but it is actually on Milpitas border which is 2-3 miles north of 237 or less than 10miles from <span style="border-bottom:1px dashed #0066cc;cursor:pointer;" class="yshortcuts">Mountain View</span>.</p>
<p>We are not going to put any age limit. If you have a son or daughter want to hack codes with us or you haven&#8217;t even finish college or under 21, you can join us by bringing your laptop.</p>
<p>If you can&#8217;t do Javascript, just bring your laptop and we have enough hackers to explain how it works.</p>
<p>We are going to make this a hacker helping hacker event.</p>
<p>Bring your own pet projects or apps. If you don&#8217;t have any idea, you can join us on the learning project.</p>
<p>This is our last major effort to help those want to learn OpenSocial and solve some of your problems in hacking OpenSocial APIs.</p>
<p>Last hackathon we gave out hundreds of gifts from our sponsors. We&#8217;re going to give more out this time. We won&#8217;t be giving boxes and boxes every meeting. It takes a lot of work plus these boxes are extremely heavy to carry around. Come and learn while you&#8217;ll be getting something useful for your work.</p>
<p><b>Founder</b><br />
SVWB</p>
<p><b>Date/Time</b><br />
<span style="border-bottom:1px dashed #0066cc;cursor:pointer;" class="yshortcuts">3/26/2008 Wed 7pm</span>-12am</p>
<p><b> Location</b><br />
Hurricane Electric Data Center</p>
<p><b> Address</b><br />
<span style="border-bottom:1px dashed #0066cc;cursor:pointer;" class="yshortcuts">48233 Warm Springs Blvd. Fremont, CA</span></p>
<p><b> RSVP</b><br />
<a href="http://opensocialhackathoniii.eventbrite.com/" rel="nofollow" target="_blank"><span class="yshortcuts">http://opensocialhackathoniii.eventbrite.com</span></a></p>
<p><b>Giveaway Prizes for participating hackers</b><br />
Roxio:<br />
- Easy Media Creator 10 Suite (Value $99) 3 licenses PC<br />
- Toast 8 Titanium (Value $80) 3 licenses Mac</p>
<p><span style="border-bottom:1px dashed #0066cc;cursor:pointer;" class="yshortcuts">Google</span> OpenSocial:<br />
- Swags not specified</p>
<p>RockYou:<br />
- Geek toys<br />
- Stickers</p>
<p><span style="border-bottom:1px dashed #0066cc;cursor:pointer;" class="yshortcuts">Sun Microsystems</span>:<br />
- 3 T-Shirts (Value $20)<br />
- 2 Books (Value $50)</p>
<p>Peachpit:<br />
- 1 Book: Building a Web Site with Ajax: Visual Quick Project Guide by Larry Ullman (Value $20)<br />
- 1 Book: Bulletproof Ajax by Jeremy Keith (Value $35)<br />
- 1 Book: Bulletproof Web Design: Improving flexibility and protecting against worst-case scenarios with XHTML and CSS by Dan Cederholm (Value $40)</p>
<p>Dummies:<br />
- 3 Books: JavaScript for Dummiesby Emily A. Vander Veer (Value $25)<br />
- 1 Book: Web Analytics for Dummies by Pedro Sostre &amp; Jennifer LeCalire (Value $25)</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hackathon.wordpress.com/42/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hackathon.wordpress.com/42/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackathon.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackathon.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackathon.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackathon.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackathon.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackathon.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackathon.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackathon.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackathon.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackathon.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackathon.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackathon.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackathon.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackathon.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackathon.wordpress.com&amp;blog=2604113&amp;post=42&amp;subd=hackathon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackathon.wordpress.com/2008/03/13/hackathon-iii-march-26-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8bdd9ca62a7a31b29b1570616346f606?s=96&#38;d=identicon" medium="image">
			<media:title type="html">hackathon</media:title>
		</media:content>
	</item>
		<item>
		<title>Flex / Javascript API roundtrip</title>
		<link>http://hackathon.wordpress.com/2008/02/29/flex-javascript-api-roundtrip/</link>
		<comments>http://hackathon.wordpress.com/2008/02/29/flex-javascript-api-roundtrip/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 21:35:21 +0000</pubDate>
		<dc:creator>hackathon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hackathon.wordpress.com/?p=41</guid>
		<description><![CDATA[Here is some source code packaged in a zip file that completes the roundtrip for a request from Flex to Javascript for data from an Open Social API. Download here The code works like this: 1) the gadget.xml defines the plugin code and includes the necessary javascript files. 2) One of the included javascript files [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackathon.wordpress.com&amp;blog=2604113&amp;post=41&amp;subd=hackathon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is some source code packaged in a zip file that completes the roundtrip for a request from Flex to Javascript for data from an Open Social API.</p>
<p><a href="http://ariel-jakobovits.com/AJ/downloads/FlexOpenSocial.zip" title="Source code for roundtrip" target="_blank">Download here</a></p>
<p>The code works like this:</p>
<p>1) the gadget.xml defines the plugin code and includes the necessary javascript files.</p>
<p>2) One of the included javascript files is gadget.js, which defines an onload handler that instantiates the flex app and provides a getFlexApp method for obtaining a reference to the Flex application when it is time to call functions on it.</p>
<p>3) In OpenSocial.mxml, the flex app instantiates the FABridge, registers &#8220;setFriends&#8221; as a function callable by Javascript in the init() function, and provides a handler for a button that will call &#8220;getFriends&#8221; in the Javascript using the ExternalInterface.</p>
<p>4) The &#8220;getFriends&#8221; javascript function is defined in bridge.js, which is a file that contains all of the functions that I want the Flex app to use and all the functions that will communicate back to Flex.</p>
<p>5)  The function &#8220;getFriends&#8221; in bridge.js calls the function &#8220;loadFriends&#8221; found in api.js, which is a file that contains all of the Open Social API specific code, including request handlers that will receive data back from the Open Social container.</p>
<p>6) When the &#8220;loadFriends&#8221; function in api.js is complete and is ready to return the requested friends data, it will call &#8220;setFriends&#8221; in the bridge.js file to have the data returned to Flex.</p>
<p>7) Instead of returning the raw data from the OpenSocial APIs, the &#8220;loadFriends&#8221; function in api.js will use the &#8220;addFriends&#8221; function in aggregate.js which in turn uses the &#8220;makeFriendObject&#8221; function in objectify.js to add translate the raw friends data into an array of simple objects for use in Flex. This is what is passed to &#8220;setFriends&#8221; in the bridge.js file for delivery to Flex.</p>
<p>Questions?</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hackathon.wordpress.com/41/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hackathon.wordpress.com/41/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackathon.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackathon.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackathon.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackathon.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackathon.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackathon.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackathon.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackathon.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackathon.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackathon.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackathon.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackathon.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackathon.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackathon.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackathon.wordpress.com&amp;blog=2604113&amp;post=41&amp;subd=hackathon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackathon.wordpress.com/2008/02/29/flex-javascript-api-roundtrip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8bdd9ca62a7a31b29b1570616346f606?s=96&#38;d=identicon" medium="image">
			<media:title type="html">hackathon</media:title>
		</media:content>
	</item>
		<item>
		<title>Update: Flex and Open Social</title>
		<link>http://hackathon.wordpress.com/2008/02/26/update-flex-and-open-social/</link>
		<comments>http://hackathon.wordpress.com/2008/02/26/update-flex-and-open-social/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 02:41:50 +0000</pubDate>
		<dc:creator>hackathon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hackathon.wordpress.com/2008/02/26/update-flex-and-open-social/</guid>
		<description><![CDATA[Working with the crew from Hi5 (thanks guys, you really make things easier), we determined that in the latest containers, embedding flash in your application is as easy as using the gadgets.flash.embedCachedFlash function.  Here is an example: &#60;?xml version=”1.0″ encoding=”UTF-8″ ?&#62; &#60;Module&#62; &#60;ModulePrefs title=”Open Social App” author_email=”&#8221;&#62; &#60;Require feature=”opensocial-0.7″ /&#62; &#60;Require feature=”flash” /&#62; &#60;/ModulePrefs&#62; &#60;Content [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackathon.wordpress.com&amp;blog=2604113&amp;post=40&amp;subd=hackathon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="entrybody">
<div class="snap_preview">Working with the crew from Hi5 (thanks guys, you really make things easier), we determined that in the latest containers, embedding flash in your application is as easy as using the gadgets.flash.embedCachedFlash function.  Here is an example:</p>
<p>&lt;?xml version=”1.0″ encoding=”UTF-8″ ?&gt;<br />
&lt;Module&gt;<br />
&lt;ModulePrefs title=”Open Social App” author_email=”&#8221;&gt;<br />
&lt;Require feature=”opensocial-0.7″ /&gt;<br />
&lt;Require feature=”flash” /&gt;<br />
&lt;/ModulePrefs&gt;<br />
&lt;Content type=”html”&gt;<br />
&lt;![CDATA[</p>
<p>&lt;script type=”text/javascript”&gt;</p>
<p>_IG_RegisterOnloadHandler(init);</p>
<p>var flexAppId = “OpenSocial”;</p>
<p>function init() {<br />
loadFlash();<br />
}</p>
<p>function loadFlash()<br />
{<br />
var swfUrl = “url - to - your - swf”;<br />
gadgets.flash.embedCachedFlash(swfUrl, “flashcontainer”, {id: flexAppId, width: 500, height: 500 });<br />
}</p>
<p>function getFlexApp(appName)<br />
{<br />
if (navigator.appName.indexOf (”Microsoft”) !=-1) {<br />
return window[appName];<br />
} else {<br />
return document[appName];<br />
}<br />
}</p>
<p>&lt;/script&gt;</p>
<p>&lt;div id=”flashcontainer” style=”text-align: center;” width=”500″ height=”500″&gt;&lt;/div&gt;</p>
<p>]]&gt;<br />
&lt;/Content&gt;<br />
&lt;/Module&gt;</p></div>
</div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hackathon.wordpress.com/40/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hackathon.wordpress.com/40/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackathon.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackathon.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackathon.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackathon.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackathon.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackathon.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackathon.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackathon.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackathon.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackathon.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackathon.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackathon.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackathon.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackathon.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackathon.wordpress.com&amp;blog=2604113&amp;post=40&amp;subd=hackathon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackathon.wordpress.com/2008/02/26/update-flex-and-open-social/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8bdd9ca62a7a31b29b1570616346f606?s=96&#38;d=identicon" medium="image">
			<media:title type="html">hackathon</media:title>
		</media:content>
	</item>
		<item>
		<title>Hackathon II: Sat. February 23, 2008</title>
		<link>http://hackathon.wordpress.com/2008/02/17/hackathon-ii-sat-february-23-2008/</link>
		<comments>http://hackathon.wordpress.com/2008/02/17/hackathon-ii-sat-february-23-2008/#comments</comments>
		<pubDate>Sun, 17 Feb 2008 19:38:42 +0000</pubDate>
		<dc:creator>hackathon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hackathon.wordpress.com/?p=38</guid>
		<description><![CDATA[Event OpenSocial Hackathon Episode II of III Date Sat. February 23, 2008 Time 1:00-6:00pm Host University Of Phoenix Location University Of Phoenix &#8211; San Jose Campus Address 3590 N 1st St # 100 San Jose, CA 95134 Map Flyer PDF http://attachments.wetpaintserv.us/5jQ2FbEkf92PQR%2Bn2uC5cw%3D%3D586028 Hackathon I Photo http://picasaweb.google.com/thewebsig/OpenSocialHackathonEpisodeI Hackathon I Video http://www.youtube.com/watch?v=mGWwpz7OINc OpenSocial Blog http://opensocialapis.blogspot.com/2008/02/introducing-opensocial-codelab-with.html<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackathon.wordpress.com&amp;blog=2604113&amp;post=38&amp;subd=hackathon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><b>Event</b><br />
OpenSocial Hackathon Episode II of III</p>
<p><b>Date</b><br />
Sat. February 23, 2008</p>
<p><b>Time</b><br />
1:00-6:00pm</p>
<p><b>Host</b><br />
University Of Phoenix</p>
<p><b>Location</b><br />
University Of Phoenix &#8211; San Jose Campus</p>
<p><b>Address</b><br />
3590 N 1st St # 100<br />
San Jose, CA 95134</p>
<p><b>Map</b><br />
<a href="http://hackathon.files.wordpress.com/2008/02/gw500h400.jpg" title="University of Phoenix - San Jose - Map"><img src="http://hackathon.files.wordpress.com/2008/02/gw500h400.thumbnail.jpg?w=468" alt="University of Phoenix - San Jose - Map" /></a></p>
<p><b>Flyer PDF</b><b><font size="2"></font></b><br />
<a href="http://attachments.wetpaintserv.us/5jQ2FbEkf92PQR%2Bn2uC5cw%3D%3D586028" class="external" rel="nofollow" target="_blank"><font size="2">http://attachments.wetpaintserv.us/5jQ2FbEkf92PQR%2Bn2uC5cw%3D%3D586028</font></a></p>
<p><b>Hackathon I Photo</b><font size="2"><br />
<a href="http://picasaweb.google.com/thewebsig/OpenSocialHackathonEpisodeI" class="external" rel="nofollow" target="_blank">http://picasaweb.google.com/thewebsig/OpenSocialHackathonEpisodeI</a></font></p>
<p><b>Hackathon I Video</b><font size="2"><br />
<a href="http://www.youtube.com/watch?v=mGWwpz7OINc" class="external" rel="nofollow" target="_blank">http://www.youtube.com/watch?v=mGWwpz7OINc</a></font></p>
<p><b>OpenSocial Blog</b><font size="2"><br />
<a href="http://opensocialapis.blogspot.com/2008/02/introducing-opensocial-codelab-with.html" class="external" rel="nofollow" target="_blank">http://opensocialapis.blogspot.com/2008/02/introducing-opensocial-codelab-with.html</a></font></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hackathon.wordpress.com/38/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hackathon.wordpress.com/38/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackathon.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackathon.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackathon.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackathon.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackathon.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackathon.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackathon.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackathon.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackathon.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackathon.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackathon.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackathon.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackathon.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackathon.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackathon.wordpress.com&amp;blog=2604113&amp;post=38&amp;subd=hackathon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackathon.wordpress.com/2008/02/17/hackathon-ii-sat-february-23-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8bdd9ca62a7a31b29b1570616346f606?s=96&#38;d=identicon" medium="image">
			<media:title type="html">hackathon</media:title>
		</media:content>

		<media:content url="http://hackathon.files.wordpress.com/2008/02/gw500h400.thumbnail.jpg" medium="image">
			<media:title type="html">University of Phoenix - San Jose - Map</media:title>
		</media:content>
	</item>
		<item>
		<title>OpenSocial-Flex Integration (on Hi5)</title>
		<link>http://hackathon.wordpress.com/2008/01/31/opensocial-flex-integration-1/</link>
		<comments>http://hackathon.wordpress.com/2008/01/31/opensocial-flex-integration-1/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 08:50:36 +0000</pubDate>
		<dc:creator>hackathon</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[opensocial api flex javascript bridge swf hi5]]></category>

		<guid isPermaLink="false">http://hackathon.wordpress.com/?p=24</guid>
		<description><![CDATA[I just got back from the OpenSocial Hackathon, Episode I, sponsored by Silicon Valley Web Builder, conducted at the Google Campus. It was a fun night. We learned a lot about the OpenSocial API and building applications impromptu-style. Thanks to SVWB for organizing the event, Google for having us, the OpenSocial Google Team for presenting [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackathon.wordpress.com&amp;blog=2604113&amp;post=24&amp;subd=hackathon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://hackathon.wordpress.com/2008/01/31/opensocial-flex-integration-1/ariel-jakobovits/" rel="attachment wp-att-25" title="Ariel Jakobovits"><img src="http://hackathon.files.wordpress.com/2008/01/facebook_2.png?w=468" alt="Ariel Jakobovits" /></a></p>
<p>I just got back from the OpenSocial Hackathon, Episode I, sponsored by Silicon Valley Web Builder, conducted at the Google Campus. It was a fun night. We learned a lot about the OpenSocial API and building applications impromptu-style. Thanks to SVWB for organizing the event, Google for having us, the OpenSocial Google Team for presenting and guiding us, and the Hi5 guys for their help.</p>
<p>I spent most of my time working on integrating Flex and the OpenSocial API because A) I love Flex, and B) the REST API is not available yet. So my self-assigned task was to get a Flex app to use the Flex-Javascript bridge provided by Adobe to work inside a gadget deployed in an OpenSocial container and be able to display data retrieved from my profile using the JavaScript API. With minutes left in the event, I succeeded in doing so within the Hi5 container. Here is what I did:</p>
<p>1) Src&#8217;ed the FABridge.js file in my gadget XML file.</p>
<p>2) Embedded the SWF directly in my gadget XML file using the object tag (found in your index.template.html file), rather than use gadgets.flash.embedFlash or _IG_EmbedFlash because they never worked for me.</p>
<p>3) Cached my swf on gmodules.com</p>
<p>To do this, visit this url: http://gmodules.com/ig/proxy?url=&lt;place-swf-url-here&gt;. This will cause gmodules.com to download the swf at the specified url and save it locally. Also, you will need to append &#8220;?id=X&#8221; to the url each time you update the swf (where X is a number that you increment each time you update the SWF) because once cached, gmodules does not replace the SWF at a particular address if you visit the same url again.</p>
<p>This is necessary because modules deployed on Hi5 get served from gmodules.com, which means the domain of your javascript file that you embedded in your gadget XML file will be gmodules.com, and the Flash player will throw a &#8220;Security sandbox violation&#8221; error when your SWF tries to call a function using ExternalInterface if it is being loaded from your server. By caching your SWF on gmodules.com, you can bypass this problem of crossdomain security. (I tried flash.system.Security.allowDomain but it didn&#8217;t work for me).</p>
<p>Also, when actually served, the gadget will not reside on just &#8220;gmodules.com&#8221; but rather will be on &#8220;0.gmodules.com&#8221; (zero dot gmodules.com) or some other subdomain. Thankfully, even though we cached using just &#8220;gmodules.com&#8221;, we can still access our SWF using &#8220;0.gmodules.com&#8221;. So once you realize which server your gadget is coming from, update the src attribute of your embed tag in your gadget XML file to use the same domain and subdomain when referencing your SWF.</p>
<p>When using this workaround, don&#8217;t forget to update the gadget XML file&#8217;s embed url each time you advance the SWF file id in the gmodules.com cache.</p>
<p>4) Other notes:</p>
<p>Don&#8217;t forget to add &lt;Require feature=&#8221;flash&#8221; /&gt;  to the ModulePrefs section of your gadget file.</p>
<p>Don&#8217;t forget to call ExternalInterface.addCallback(&#8220;&lt;function-name&gt;&#8221;, &lt;function-name&gt;); in your Flex onCreationComplete function to expose your functions.</p>
<p>Don&#8217;t forget to make your Flex functions public (though I think that may not be necessary).</p>
<p>Be sure to assign an id in your object tag in your gadget XML file, and use this JavaScript function to reference it:</p>
<p>var flexApp = getFlexApp(&lt;object-tag-id&gt;) ;</p>
<p>function getFlexApp(appName)<br />
{<br />
if (navigator.appName.indexOf (&#8220;Microsoft&#8221;) !=-1) {<br />
return window[appName];<br />
} else {<br />
return document[appName];<br />
}<br />
}</p>
<p>Then you can make calls like  getFlexApp(&lt;object-tag-id&gt;).myFunction(&lt;args&gt;);</p>
<p>Also, you can&#8217;t use the getXXX() functions in Flex on the objects returned from the OpenSocial API as specified in the docs (like Person.getDisplayName()), and the objects returned from the various containers (Hi5, Orkut, etc) aren&#8217;t implemented the same way (Hi5: Person.fields_.name vs. Orkut: Person.obj_.Name), so you may have to construct objects on the JavaScript side using the getter functions so that Flex can work with the data.</p>
<p>Here is the Flex to JavaScript bridge I created:</p>
<p>Flex:</p>
<p>private function getFriends():void<br />
{<br />
ExternalInterface.call(&#8220;getFriends&#8221;);<br />
}</p>
<p>JavaScript:</p>
<p>function getFriends()<br />
{<br />
var req = opensocial.newDataRequest();<br />
req.add(req.newFetchPeopleRequest(&#8216;VIEWER_FRIENDS&#8217;), &#8216;viewerFriends&#8217;);<br />
req.send(onLoadFriends);<br />
}</p>
<p>function onLoadFriends(data)<br />
{<br />
var viewerFriends = data.get(&#8216;viewerFriends&#8217;).getData();</p>
<p>var vFriends = new Array();</p>
<p>viewerFriends.each(function(person) {<br />
vFriends.push(person.getDisplayName());<br />
});</p>
<p>getFlexApp(&#8216;OpenSocial&#8217;).setFriends(vFriends);<br />
}</p>
<p>5) Questions to the community:</p>
<p>What are my alternatives to the caching workaround to deal with the crossdomain issues?</p>
<p>Thanks, -Ariel Jakobovits (arieljake at gmail dot com)</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hackathon.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hackathon.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackathon.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackathon.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackathon.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackathon.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackathon.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackathon.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackathon.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackathon.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackathon.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackathon.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackathon.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackathon.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackathon.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackathon.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackathon.wordpress.com&amp;blog=2604113&amp;post=24&amp;subd=hackathon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackathon.wordpress.com/2008/01/31/opensocial-flex-integration-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8bdd9ca62a7a31b29b1570616346f606?s=96&#38;d=identicon" medium="image">
			<media:title type="html">hackathon</media:title>
		</media:content>

		<media:content url="http://hackathon.files.wordpress.com/2008/01/facebook_2.png" medium="image">
			<media:title type="html">Ariel Jakobovits</media:title>
		</media:content>
	</item>
		<item>
		<title>Hackathon I: Wed. January 30, 2008</title>
		<link>http://hackathon.wordpress.com/2008/01/24/hackathon-i/</link>
		<comments>http://hackathon.wordpress.com/2008/01/24/hackathon-i/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 06:50:09 +0000</pubDate>
		<dc:creator>hackathon</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[hackathon opensocial google]]></category>

		<guid isPermaLink="false">http://hackathon.wordpress.com/2008/01/24/hackathon-i/</guid>
		<description><![CDATA[Event OpenSocial Hackathon Episode I of III Date Wed. January 30, 2008 Time 5:00-10:30pm Location Google Campus Address 1600 Amphitheatre Parkway, Mountain View, CA 94043 Map Host Google OpenSocial Agenda 5:00pm OpenSocial Presentation &#38; Mission X Introduction 5:30pm Code Lab 7:00pm Hackathon 10:00pm Closing 10:30pm Ending Food and drinks will be served. Seats are limited. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackathon.wordpress.com&amp;blog=2604113&amp;post=1&amp;subd=hackathon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><b>Event</b><br />
OpenSocial Hackathon Episode I of III</p>
<p><b>Date</b><br />
Wed. January 30, 2008</p>
<p><b>Time</b><br />
5:00-10:30pm</p>
<p><b>Location</b><br />
Google Campus</p>
<p><b>Address</b><br />
1600 Amphitheatre Parkway, Mountain View, CA 94043<br />
<a href="http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;time=&amp;date=&amp;ttype=&amp;q=1600+Amphitheatre+Parkway,+Mountain+View,+CA+94043&amp;sll=37.413454,-122.131925&amp;sspn=0.098305,0.137501&amp;ie=UTF8&amp;z=16&amp;iwloc=addr&amp;om=0">Map</a></p>
<p><b>Host</b><br />
Google OpenSocial</p>
<p><b>Agenda</b><br />
5:00pm OpenSocial Presentation &amp; Mission X Introduction<br />
5:30pm Code Lab<br />
7:00pm Hackathon<br />
10:00pm Closing<br />
10:30pm Ending</p>
<p>Food and drinks will be served. Seats are limited. Require registration and approval.</p>
<p><b>Who Should Attend:</b></p>
<ul>
<li>developer Rock Stars,</li>
<li>group leaders, and</li>
<li>entrepreneurs from the Web 2.0 community</li>
</ul>
<p><b>What You Will Learn:</b></p>
<ul>
<li>cover sample code,</li>
<li>how to write a social application, and</li>
<li>how to work in an OpenSocial developer sandbox.</li>
</ul>
<p><b>How To Qualify:</b></p>
<ul>
<li>must bring your fully-charged laptop that support wireless with power charger</li>
<li>able to program proficiently in JavaScript and a server-side language</li>
<li>team player</li>
<li>willing to participate in coding</li>
<li>prepare to attend the entire hackathon</li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hackathon.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hackathon.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackathon.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackathon.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackathon.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackathon.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackathon.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackathon.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackathon.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackathon.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackathon.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackathon.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackathon.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackathon.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackathon.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackathon.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackathon.wordpress.com&amp;blog=2604113&amp;post=1&amp;subd=hackathon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackathon.wordpress.com/2008/01/24/hackathon-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8bdd9ca62a7a31b29b1570616346f606?s=96&#38;d=identicon" medium="image">
			<media:title type="html">hackathon</media:title>
		</media:content>
	</item>
	</channel>
</rss>
