<?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>LifeFX</title>
	<atom:link href="http://lifefx.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://lifefx.wordpress.com</link>
	<description>My ramblings</description>
	<lastBuildDate>Tue, 18 Nov 2008 17:44:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='lifefx.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>LifeFX</title>
		<link>http://lifefx.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://lifefx.wordpress.com/osd.xml" title="LifeFX" />
	<atom:link rel='hub' href='http://lifefx.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Live Services talk at MS Web Development Summit 2008</title>
		<link>http://lifefx.wordpress.com/2008/11/18/live-services-talk-at-ms-web-development-summit-2008/</link>
		<comments>http://lifefx.wordpress.com/2008/11/18/live-services-talk-at-ms-web-development-summit-2008/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 08:58:58 +0000</pubDate>
		<dc:creator>Nishant Gupta</dc:creator>
				<category><![CDATA[Live fx]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[HTTP]]></category>
		<category><![CDATA[livefx]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[REST]]></category>

		<guid isPermaLink="false">http://lifefx.wordpress.com/?p=34</guid>
		<description><![CDATA[Today I presented a version of the PDC talk at WDS. The audience consisted of mostly PHP developers and it was great to talk to them and show them our stuff since the demos were in Python and PHP. It was intresting to meet ex WordPress developer since I used it in the demo and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lifefx.wordpress.com&amp;blog=5420132&amp;post=34&amp;subd=lifefx&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I presented a version of the <a href="http://lifefx.wordpress.com/2008/11/12/talk-at-pdc-2008/" target="_blank">PDC talk </a>at WDS. The audience consisted of mostly PHP developers and it was great to talk to them and show them our stuff since the demos were in Python and PHP. It was intresting to meet ex WordPress developer since I used it in the demo and he liked it! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Some reactions -</p>
<p><a href="http://twitter.com/Jasrags/statuses/1010378510">http://twitter.com/Jasrags/statuses/1010378510</a></p>
<p><a href="http://twitter.com/a/statuses/1010354680">http://twitter.com/a/statuses/1010354680</a></p>
<p><a href="http://twitter.com/dougal/statuses/1010394801">http://twitter.com/dougal/statuses/1010394801</a></p>
<p><a href="http://twitter.com/dougal/statuses/1010406262">http://twitter.com/dougal/statuses/1010406262</a></p>
<p><a href="http://twitter.com/dougal/statuses/1010409655">http://twitter.com/dougal/statuses/1010409655</a></p>
<p>I was hoping to get more questions from the crowd in terms of how it compares to GData APIs, Google Gears, when can they use but I guess it was late in the day!</p>
<p>I am hoping that once we provision some (or maybe most) of these to play with our APIs, there will be more vaulable feedback. I will post anything that comes about due to this as and when it happens.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lifefx.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lifefx.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lifefx.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lifefx.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lifefx.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lifefx.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lifefx.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lifefx.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lifefx.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lifefx.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lifefx.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lifefx.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lifefx.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lifefx.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lifefx.wordpress.com&amp;blog=5420132&amp;post=34&amp;subd=lifefx&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lifefx.wordpress.com/2008/11/18/live-services-talk-at-ms-web-development-summit-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c450360f87ff217dcb04350ae5bfd85?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nishant</media:title>
		</media:content>
	</item>
		<item>
		<title>Live fx using Python</title>
		<link>http://lifefx.wordpress.com/2008/11/12/live-fx-using-python/</link>
		<comments>http://lifefx.wordpress.com/2008/11/12/live-fx-using-python/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 08:50:12 +0000</pubDate>
		<dc:creator>Nishant Gupta</dc:creator>
				<category><![CDATA[Live fx]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Live Services]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://lifefx.wordpress.com/?p=20</guid>
		<description><![CDATA[Following Ori&#8217;s post on how to get started on using Live fx with IronPython, I feel encouraged and somewhat obligated to write up a post on how to do the same with no Fe. Here is the basic function in Python which returns the data in a dictionary given the URL - import urllib2 import [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lifefx.wordpress.com&amp;blog=5420132&amp;post=20&amp;subd=lifefx&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Following Ori&#8217;s <a href="http://blogs.msdn.com/oriamiga/archive/2008/11/09/livefx-using-ironpython.aspx" target="_blank">post</a> on how to get started on using Live fx with IronPython, I feel encouraged and somewhat obligated to write up a post on how to do the same with no Fe.</p>
<p>Here is the basic function in Python which returns the data in a dictionary given the URL -</p>
<p><code><span style="font-size:9pt;"><span style="color:#ffc000;">import</span> urllib2 </span><br />
<span style="font-size:9pt;"><span style="color:#ffc000;">import</span> urllib </span><br />
<span style="font-size:9pt;"><span style="color:#ffc000;">import</span> json </span><br />
<span style="font-size:9pt;"><span style="color:#ffc000;">def</span> <span style="color:#00b0f0;">getData</span>(uri): </span><br />
<span style="font-size:9pt;">   authStr = <span style="color:#00b050;">'<em>&lt;insert your auth token here&gt;</em>'</span>; </span><br />
<span style="font-size:9pt;"><span style="color:red;">   # create the request </span></span><br />
<span style="font-size:9pt;">   req = urllib2.Request(uri) </span><br />
<span style="font-size:9pt;"><span style="color:red;">   # add the headers </span></span><br />
<span style="font-size:9pt;">   req.add_header(<span style="color:#00b050;">'Accept'</span>, <span style="color:#00b050;">'application/json'</span>) </span><br />
<span style="font-size:9pt;">   req.add_header(<span style="color:#00b050;">'Authorization'</span>, authStr) </span><br />
<span style="font-size:9pt;">   response = urllib2.urlopen(req) </span><br />
<span style="font-size:9pt;">   data = response.read() </span><br />
<span style="font-size:9pt;"><span style="color:red;">   # convert the string to a dictionary and return it </span></span><br />
<span style="font-size:9pt;"><span style="color:#ffc000;">   return</span> json.JSONDecoder().decode(data);</span></code></p>
<p>If I save the above function in a file called livefx.py, then I can play with it as follows -</p>
<p><a href="http://lifefx.files.wordpress.com/2008/11/py12.png"><img class="alignnone size-full wp-image-30" title="Using python with Live fx" src="http://lifefx.files.wordpress.com/2008/11/py12.png?w=459&#038;h=92" alt="Using python with Live fx" width="459" height="92" /></a><a href="http://lifefx.files.wordpress.com/2008/11/py11.png"></a></p>
<p>As you can see that we can get the service document by getting the data from the cloud endpoint in the form of a dictionary. Printing the dictionary gives us the following -</p>
<ol>
<li>Base Uri &#8211; base URI for the cloud endpoint</li>
<li>Contacts Link &#8211; relative URI for navigating to user&#8217;s Windows Live Contacts</li>
<li>Profiles &#8211; relative URI for navigating to user&#8217;s Windows Live Profiles</li>
<li>Mesh &#8211; relative URI for navigating to user&#8217;s Mesh</li>
</ol>
<p>Now, if I have to access user&#8217;s contacts, I can do that as follows -</p>
<p><a href="http://lifefx.files.wordpress.com/2008/11/py2.png"><img class="alignnone size-full wp-image-31" title="Retrieving contacts via Live fx using Python" src="http://lifefx.files.wordpress.com/2008/11/py2.png?w=460&#038;h=156" alt="Retrieving contacts via Live fx using Python" width="460" height="156" /></a></p>
<p>Similarly, if I have to list all the user&#8217;s mesh objects, I can do the following -</p>
<p><a href="http://lifefx.files.wordpress.com/2008/11/py3.png"><img class="alignnone size-full wp-image-32" title="Listing mesh objects using Python" src="http://lifefx.files.wordpress.com/2008/11/py3.png?w=460&#038;h=185" alt="Listing mesh objects using Python" width="460" height="185" /></a></p>
<p>I hope you would have gotten the idea by now on how to work with other resources. You might ask how to get hold of the auth token? Well, there are a more than a couple ways in which you can access it.</p>
<ol>
<li>Access it via .NET SDK for Live Framework</li>
<li>Look at the request header in Livefx Resource Browser</li>
<li>Look at the request header when you are sending request to <a href="http://developer.mesh-ctp.com">http://developer.mesh-ctp.com</a> on Fiddler.</li>
</ol>
<p>Ofcourse, when you are building a production web application, you will replace this header with that used for delegated authentication and use the delegated authentication token.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lifefx.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lifefx.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lifefx.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lifefx.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lifefx.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lifefx.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lifefx.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lifefx.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lifefx.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lifefx.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lifefx.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lifefx.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lifefx.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lifefx.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lifefx.wordpress.com&amp;blog=5420132&amp;post=20&amp;subd=lifefx&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lifefx.wordpress.com/2008/11/12/live-fx-using-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c450360f87ff217dcb04350ae5bfd85?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nishant</media:title>
		</media:content>

		<media:content url="http://lifefx.files.wordpress.com/2008/11/py12.png" medium="image">
			<media:title type="html">Using python with Live fx</media:title>
		</media:content>

		<media:content url="http://lifefx.files.wordpress.com/2008/11/py2.png" medium="image">
			<media:title type="html">Retrieving contacts via Live fx using Python</media:title>
		</media:content>

		<media:content url="http://lifefx.files.wordpress.com/2008/11/py3.png" medium="image">
			<media:title type="html">Listing mesh objects using Python</media:title>
		</media:content>
	</item>
		<item>
		<title>Talk at PDC 2008</title>
		<link>http://lifefx.wordpress.com/2008/11/12/talk-at-pdc-2008/</link>
		<comments>http://lifefx.wordpress.com/2008/11/12/talk-at-pdc-2008/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 06:59:15 +0000</pubDate>
		<dc:creator>Nishant Gupta</dc:creator>
				<category><![CDATA[Live fx]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[cURL]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Live Services]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://lifefx.wordpress.com/?p=10</guid>
		<description><![CDATA[This year I got the opportunity to present at PDC. It was a great experience and rewarding to talk about things that I have been working on and share the same with our customers first hand. Here is the link to the talk &#8211; http://channel9.msdn.com/pdc2008/bb51/ Comments welcome!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lifefx.wordpress.com&amp;blog=5420132&amp;post=10&amp;subd=lifefx&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This year I got the opportunity to present at PDC. It was a great experience and rewarding to talk about things that I have been working on and share the same with our customers first hand.</p>
<p>Here is the link to the talk &#8211; <a href="http://channel9.msdn.com/pdc2008/bb51/">http://channel9.msdn.com/pdc2008/bb51/</a></p>
<p>Comments welcome!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lifefx.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lifefx.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lifefx.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lifefx.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lifefx.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lifefx.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lifefx.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lifefx.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lifefx.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lifefx.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lifefx.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lifefx.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lifefx.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lifefx.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lifefx.wordpress.com&amp;blog=5420132&amp;post=10&amp;subd=lifefx&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lifefx.wordpress.com/2008/11/12/talk-at-pdc-2008/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c450360f87ff217dcb04350ae5bfd85?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nishant</media:title>
		</media:content>
	</item>
		<item>
		<title>What a late start!</title>
		<link>http://lifefx.wordpress.com/2008/11/07/what-a-late-start/</link>
		<comments>http://lifefx.wordpress.com/2008/11/07/what-a-late-start/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 19:52:17 +0000</pubDate>
		<dc:creator>Nishant Gupta</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lifefx.wordpress.com/?p=3</guid>
		<description><![CDATA[Welcome to lifefx! I am not an avid blogger and this is my first fourth attempt on it. I hope it sticks this time. What is lifefx? Life framework. Which means? I am not really sure but it sounded cool and geeky so I decided to go with it given that I am currently working [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lifefx.wordpress.com&amp;blog=5420132&amp;post=3&amp;subd=lifefx&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to lifefx!</p>
<p>I am not an avid blogger and this is my <span style="text-decoration:line-through;">first </span>fourth attempt on it. I hope it sticks this time.</p>
<p>What is lifefx? Life framework. Which means? I am not really sure but it sounded cool and geeky so I decided to go with it given that I am currently working on something called <a href="http://dev.live.com/liveframework" target="_blank">livefx</a>!!</p>
<p>For what its worth &#8211; framework means <strong>underlying set of ideas: </strong><span class="ResultBody">a set of ideas, principles, agreements, or rules that provides the basis or outline for something intended to be more fully developed at a later stage (from <a href="http://encarta.msn.com/encnet/features/dictionary/DictionaryResults.aspx?refid=1861613305" target="_blank">here</a>). You can now imagine things that I maybe discussing here. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lifefx.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lifefx.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lifefx.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lifefx.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lifefx.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lifefx.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lifefx.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lifefx.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lifefx.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lifefx.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lifefx.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lifefx.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lifefx.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lifefx.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lifefx.wordpress.com&amp;blog=5420132&amp;post=3&amp;subd=lifefx&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lifefx.wordpress.com/2008/11/07/what-a-late-start/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c450360f87ff217dcb04350ae5bfd85?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nishant</media:title>
		</media:content>
	</item>
	</channel>
</rss>
