<?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/"
	>

<channel>
	<title>Phodder Blog &#187; iPhone creation</title>
	<atom:link href="http://phodder.com/blog/category/iphone-creation/feed/" rel="self" type="application/rss+xml" />
	<link>http://phodder.com/blog</link>
	<description>All things iPhone Dev</description>
	<lastBuildDate>Wed, 17 Feb 2010 18:22:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tab Bar Twosday 16</title>
		<link>http://phodder.com/blog/2010/02/09/tab-bar-twosday-16/</link>
		<comments>http://phodder.com/blog/2010/02/09/tab-bar-twosday-16/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 21:15:19 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[iPhone App Design]]></category>
		<category><![CDATA[iPhone creation]]></category>

		<guid isPermaLink="false">http://phodder.com/blog/2010/02/09/tab-bar-twosday-16/</guid>
		<description><![CDATA[Hey all, here&#8217;s the latest tab bar twosday. Hope y&#8217;all are as excited about building awesome apps for the iPad as we are. Anyhow, here are two freebie icons for you to use in your projects. Nothing too fancy, but hey, free is free! Promise we&#8217;ll have something much more gripping and cool next week. [...]]]></description>
			<content:encoded><![CDATA[<p>Hey all, here&#8217;s the latest tab bar twosday. Hope y&#8217;all are as excited about building awesome apps for the iPad as we are. Anyhow, here are two freebie icons for you to use in your projects. Nothing too fancy, but hey, free is free! Promise we&#8217;ll have something much more gripping and cool next week. <img src='http://phodder.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://phodder.com/blog/wp-content/uploads/2010/02/backIcon2.png"><img class="alignnone size-full wp-image-244" title="backIcon" src="http://phodder.com/blog/wp-content/uploads/2010/02/backIcon2.png" alt="backIcon" width="29" height="30" /></a></p>
<p><a href="http://phodder.com/blog/wp-content/uploads/2010/02/forwardIcon2.png"><img class="alignnone size-full wp-image-245" title="forwardIcon" src="http://phodder.com/blog/wp-content/uploads/2010/02/forwardIcon2.png" alt="forwardIcon" width="29" height="30" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://phodder.com/blog/2010/02/09/tab-bar-twosday-16/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Tab Bar Twosday 15</title>
		<link>http://phodder.com/blog/2010/01/26/tab-bar-twosday-15/</link>
		<comments>http://phodder.com/blog/2010/01/26/tab-bar-twosday-15/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 04:37:50 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[iPhone App Design]]></category>
		<category><![CDATA[iPhone creation]]></category>

		<guid isPermaLink="false">http://phodder.com/blog/?p=234</guid>
		<description><![CDATA[Happy Apple Event Eve, everybody! The hype and buzz has been gynormous. I wonder if ANYONE has a big graph pointed at the #apple keyword to see the huge spike in people that are tweeting about it&#8230;. anyways, if that someone ever makes an iPhone app to share that data with the rest of us, [...]]]></description>
			<content:encoded><![CDATA[<p>Happy Apple Event Eve, everybody! The hype and buzz has been gynormous. I wonder if ANYONE has a big graph pointed at the #apple keyword to see the huge spike in people that are tweeting about it&#8230;. anyways, if that someone ever makes an iPhone app to share that data with the rest of us, he/she can use these free icons to share that info with the rest of us.</p>
<div id="attachment_232" class="wp-caption alignnone" style="width: 60px"><a href="http://phodder.com/blog/wp-content/uploads/2010/01/stats4.png"><img class="size-full wp-image-232" title="stats" src="http://phodder.com/blog/wp-content/uploads/2010/01/stats4.png" alt="stats" width="29" height="28" /></a><p class="wp-caption-text">stats</p></div>
<div id="attachment_233" class="wp-caption alignnone" style="width: 60px"><a href="http://phodder.com/blog/wp-content/uploads/2010/01/document1.png"><img class="size-full wp-image-233" title="document" src="http://phodder.com/blog/wp-content/uploads/2010/01/document1.png" alt="document" width="22" height="26" /></a><p class="wp-caption-text">document</p></div>
]]></content:encoded>
			<wfw:commentRss>http://phodder.com/blog/2010/01/26/tab-bar-twosday-15/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tab Bar Tuesday 14</title>
		<link>http://phodder.com/blog/2010/01/19/tab-bar-tuesday-14/</link>
		<comments>http://phodder.com/blog/2010/01/19/tab-bar-tuesday-14/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 18:19:26 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[iPhone App Design]]></category>
		<category><![CDATA[iPhone creation]]></category>

		<guid isPermaLink="false">http://phodder.com/blog/2010/01/19/tab-bar-tuesday-14/</guid>
		<description><![CDATA[Alright, happy new year and christmas. We&#8217;re back as promised, right on time&#8230;. *looks at calendar*&#8230;
Crud.
My apologies folks, totally forgot to post some new shiny icons for your enjoyment. Let me fix that now. You know the drill. 2 icons, free to use however you chose. Covered under the LGPL
]]></description>
			<content:encoded><![CDATA[<p>Alright, happy new year and christmas. We&#8217;re back as promised, right on time&#8230;. *looks at calendar*&#8230;</p>
<p>Crud.</p>
<p>My apologies folks, totally forgot to post some new shiny icons for your enjoyment. Let me fix that now. You know the drill. 2 icons, free to use however you chose. Covered under the LGPL</p>
<div id="attachment_209" class="wp-caption alignnone" style="width: 70px"><a href="http://phodder.com/blog/wp-content/uploads/2010/01/video.png"><img src="http://phodder.com/blog/wp-content/uploads/2010/01/video.png" alt="videocast" title="video" width="30" height="23" class="size-full wp-image-209" /></a><p class="wp-caption-text">Videocast</p></div>
<div id="attachment_210" class="wp-caption alignnone" style="width: 83px"><a href="http://phodder.com/blog/wp-content/uploads/2010/01/guitar.png"><img src="http://phodder.com/blog/wp-content/uploads/2010/01/guitar.png" alt="Guitar Neck" title="guitar" width="33" height="27" class="size-full wp-image-210" /></a><p class="wp-caption-text">Guitar Neck</p></div>
]]></content:encoded>
			<wfw:commentRss>http://phodder.com/blog/2010/01/19/tab-bar-tuesday-14/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tab Bar Twosday XIII</title>
		<link>http://phodder.com/blog/2009/12/15/tab-bar-twosday-xiii/</link>
		<comments>http://phodder.com/blog/2009/12/15/tab-bar-twosday-xiii/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 06:05:00 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[iPhone App Design]]></category>
		<category><![CDATA[iPhone creation]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tab bar]]></category>
		<category><![CDATA[tab bar icons]]></category>

		<guid isPermaLink="false">http://phodder.com/blog/?p=198</guid>
		<description><![CDATA[It&#8217;s that time again! TBT is upon us. You know the drill. see icon, take icon, profit. 
With that out of the way, here we are.


And there you have it. Enjoy! We&#8217;ll probably take a break from TBT this next week for Christmas, but we&#8217;ll hit the ground running on 12.29! Stay tuned, and Merry [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s that time again! TBT is upon us. You know the drill. see icon, take icon, profit. </p>
<p>With that out of the way, here we are.</p>
<p><a href="http://phodder.com/blog/wp-content/uploads/2009/12/addUser.png"><img src="http://phodder.com/blog/wp-content/uploads/2009/12/addUser.png" alt="addUser" title="addUser" width="30" height="29" class="alignnone size-full wp-image-199" /></a></p>
<p><a href="http://phodder.com/blog/wp-content/uploads/2009/12/writePost.png"><img src="http://phodder.com/blog/wp-content/uploads/2009/12/writePost.png" alt="writePost" title="writePost" width="29" height="27" class="alignnone size-full wp-image-200" /></a></p>
<p>And there you have it. Enjoy! We&#8217;ll probably take a break from TBT this next week for Christmas, but we&#8217;ll hit the ground running on 12.29! Stay tuned, and Merry Christmas!</p>
]]></content:encoded>
			<wfw:commentRss>http://phodder.com/blog/2009/12/15/tab-bar-twosday-xiii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tab Bar Tuesday, the twelfth.</title>
		<link>http://phodder.com/blog/2009/12/08/tab-bar-tuesday-the-twelfth/</link>
		<comments>http://phodder.com/blog/2009/12/08/tab-bar-tuesday-the-twelfth/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 06:11:26 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[iPhone App Design]]></category>
		<category><![CDATA[iPhone creation]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tab bar]]></category>
		<category><![CDATA[tab bar icons]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://phodder.com/blog/?p=194</guid>
		<description><![CDATA[Hey party people, welcome to the latest Tab Bar Twosday. I&#8217;m sitting here listening to &#8220;Band Of Horses&#8221; Radio on Pandora (a must listen) and cranking out tab bar icons. By now I&#8217;m sure you all know the drill. 

See shiny icon. 
Download shiny icon.
Use shiny icon.
Pay nothing, and chortle at your thriftyness.

Seeing as it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Hey party people, welcome to the latest Tab Bar Twosday. I&#8217;m sitting here listening to &#8220;Band Of Horses&#8221; Radio on Pandora (a must listen) and cranking out tab bar icons. By now I&#8217;m sure you all know the drill. </p>
<ul>
<li>See shiny icon. </li>
<li>Download shiny icon.</li>
<li>Use shiny icon.</li>
<li>Pay nothing, and chortle at your thriftyness.</li>
</ul>
<p>Seeing as it&#8217;s the 12th month, and the 12th tab bar twosday, (and my wife reminds me, the 12 days of Christmas, which is fast approaching) our first image seems fitting with the theme. </p>
<p><a href="http://phodder.com/blog/wp-content/uploads/2009/12/calendar.png"><img src="http://phodder.com/blog/wp-content/uploads/2009/12/calendar.png" alt="calendar" title="calendar" width="24" height="28" class="alignnone size-full wp-image-192" /></a></p>
<p>Image number 2 is not as fitting, but still quite stylish. Stick em in your xcode project and see for yourself!</p>
<p>There you have it. 12 posts worth of tab bar icons. We&#8217;ll be back next week with December&#8217;s final installment.</p>
<p><a href="http://phodder.com/blog/wp-content/uploads/2009/12/groupIcon.png"><img src="http://phodder.com/blog/wp-content/uploads/2009/12/groupIcon.png" alt="groupIcon" title="groupIcon" width="30" height="29" class="alignnone size-full wp-image-193" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://phodder.com/blog/2009/12/08/tab-bar-tuesday-the-twelfth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tab Bar Twosday</title>
		<link>http://phodder.com/blog/2009/12/01/tab-bar-twosday-2/</link>
		<comments>http://phodder.com/blog/2009/12/01/tab-bar-twosday-2/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 16:58:16 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[iPhone App Design]]></category>
		<category><![CDATA[iPhone creation]]></category>

		<guid isPermaLink="false">http://phodder.com/blog/?p=184</guid>
		<description><![CDATA[Hi folks, and happy December. Hope your Thanksgiving was as good as ours.
Anyhow, enough turkey talk; lets get to the icons. You know the drill; 2 free tab icons for your iPhone development project (or whatever else you want to use it for). If you do use them, let us know where; it&#8217;s always cool [...]]]></description>
			<content:encoded><![CDATA[<p>Hi folks, and happy December. Hope your Thanksgiving was as good as ours.</p>
<p>Anyhow, enough turkey talk; lets get to the icons. You know the drill; 2 free tab icons for your iPhone development project (or whatever else you want to use it for). If you do use them, let us know where; it&#8217;s always cool to see them in use, and we&#8217;ll give your app a shout out in our blog.</p>
<p>With that said, on to the icons<br />
<div id="attachment_186" class="wp-caption alignnone" style="width: 60px"><a href="http://phodder.com/blog/wp-content/uploads/2009/12/gears.png"><img src="http://phodder.com/blog/wp-content/uploads/2009/12/gears.png" alt="gears" title="gears" width="35" height="30" class="size-full wp-image-186" /></a><p class="wp-caption-text">gears</p></div><br />
<div id="attachment_187" class="wp-caption alignnone" style="width: 60px"><a href="http://phodder.com/blog/wp-content/uploads/2009/12/favorites.png"><img src="http://phodder.com/blog/wp-content/uploads/2009/12/favorites.png" alt="Favorites" title="favorites" width="30" height="29" class="size-full wp-image-187" /></a><p class="wp-caption-text">Favorites</p></div></p>
<p>Enjoy, and we&#8217;ll be back next week with more Tab Bar Twosday goodness, direct from your pals at Phodder!</p>
]]></content:encoded>
			<wfw:commentRss>http://phodder.com/blog/2009/12/01/tab-bar-twosday-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tab bar Twosday</title>
		<link>http://phodder.com/blog/2009/11/24/tab-bar-twosday/</link>
		<comments>http://phodder.com/blog/2009/11/24/tab-bar-twosday/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 04:46:20 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[iPhone App Design]]></category>
		<category><![CDATA[iPhone creation]]></category>

		<guid isPermaLink="false">http://phodder.com/blog/?p=177</guid>
		<description><![CDATA[As it&#8217;s the waning hours of Tuesday, I&#8217;ll admit I got a late start to this weeks Tab Bar Twosday, but better late than ever, eh?
Anyhow, here are your two free-to-use tab icons. Enjoy!


Thanks, and Happy Thanksgiving!
]]></description>
			<content:encoded><![CDATA[<p>As it&#8217;s the waning hours of Tuesday, I&#8217;ll admit I got a late start to this weeks Tab Bar Twosday, but better late than ever, eh?</p>
<p>Anyhow, here are your two free-to-use tab icons. Enjoy!</p>
<p><a href="http://phodder.com/blog/wp-content/uploads/2009/11/vendor.png"><img src="http://phodder.com/blog/wp-content/uploads/2009/11/vendor.png" alt="vendor" title="vendor" width="29" height="31" class="alignnone size-full wp-image-178" /></a></p>
<p><a href="http://phodder.com/blog/wp-content/uploads/2009/11/checkbox.png"><img src="http://phodder.com/blog/wp-content/uploads/2009/11/checkbox.png" alt="checkbox" title="checkbox" width="33" height="28" class="alignnone size-full wp-image-179" /></a></p>
<p>Thanks, and Happy Thanksgiving!</p>
]]></content:encoded>
			<wfw:commentRss>http://phodder.com/blog/2009/11/24/tab-bar-twosday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tab Bar Twosday III</title>
		<link>http://phodder.com/blog/2009/10/06/tab-bar-twosday-iii/</link>
		<comments>http://phodder.com/blog/2009/10/06/tab-bar-twosday-iii/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 02:57:07 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[iPhone App Design]]></category>
		<category><![CDATA[iPhone creation]]></category>
		<category><![CDATA[tab bar icons]]></category>

		<guid isPermaLink="false">http://phodder.com/blog/?p=130</guid>
		<description><![CDATA[Hello again
Dave here, with the latest installment of Tab Bar Twosdays. Not sure how this works? Basically, I splat  2 incredibly amazing absolutely free tab bar icons. Use them in your own xcode projects if the spirit moves you, or wherever else you so choose.
Anyway, onto the icons.
Enjoy! I hope you like them. After [...]]]></description>
			<content:encoded><![CDATA[<p>Hello again</p>
<p>Dave here, with the latest installment of <strong>Tab Bar Twosdays</strong>. Not sure how this works? Basically, I splat  2 incredibly amazing absolutely free tab bar icons. Use them in your own xcode projects if the spirit moves you, or wherever else you so choose.</p>
<p>Anyway, onto the icons.</p>
<div id="attachment_132" class="wp-caption alignnone" style="width: 60px"><a href="http://phodder.com/blog/wp-content/uploads/2009/10/potion1.png"><img class="size-full wp-image-132" title="potion" src="http://phodder.com/blog/wp-content/uploads/2009/10/potion1.png" alt="Potion" width="23" height="29" /></a><p class="wp-caption-text">Potion</p></div>
<div id="attachment_133" class="wp-caption alignnone" style="width: 60px"><a href="http://phodder.com/blog/wp-content/uploads/2009/10/beer.png"><img class="size-full wp-image-133" title="beer" src="http://phodder.com/blog/wp-content/uploads/2009/10/beer.png" alt="Beer Mug" width="20" height="31" /></a><p class="wp-caption-text">Beer Mug</p></div>
<p>Enjoy! I hope you like them. After looking at those icons again, I think I must be thirsty. See ya next week, I&#8217;m gonna go grab a coke.</p>
]]></content:encoded>
			<wfw:commentRss>http://phodder.com/blog/2009/10/06/tab-bar-twosday-iii/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Introducing&#8230; Tab bar Twosdays with Dave!</title>
		<link>http://phodder.com/blog/2009/09/22/introducing-tab-bar-twosdays-with-dave/</link>
		<comments>http://phodder.com/blog/2009/09/22/introducing-tab-bar-twosdays-with-dave/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 03:10:26 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[iPhone App Design]]></category>
		<category><![CDATA[iPhone creation]]></category>
		<category><![CDATA[Advice]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tab bar]]></category>
		<category><![CDATA[tab bar icons]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://phodder.com/blog/?p=101</guid>
		<description><![CDATA[Hey guys/gals
Dave here, and welcome to our newest gig with our blog. Me being the resident design-guy at our nifty little iphone dev shop, I spend quite a bit of time developing (drumroll) iphone tab bar icons! I know! Shocking eh?
Anyhoo, we&#8217;ve decided to kick off a new feature as a help to the rest [...]]]></description>
			<content:encoded><![CDATA[<p>Hey guys/gals</p>
<p>Dave here, and welcome to our newest gig with our blog. Me being the resident design-guy at our nifty little iphone dev shop, I spend quite a bit of time developing (drumroll) iphone tab bar icons! I know! Shocking eh?</p>
<p>Anyhoo, we&#8217;ve decided to kick off a new feature as a help to the rest of the dev community; Tab Bar Twosdays. Here&#8217;s the deal:</p>
<p>1) I&#8217;ll release 2 iphone tab icons each week (hopefully on tuesday, that&#8217;s kind of the deal, right?). They&#8217;re optimized with alpha transparency and should be simple, plug-and-play-easy for you to drop in your xcode project.</p>
<p>2) You can download and use it free and shamelessly in any of your iphone projects. No payment necessary, though tweet and blog mentions are always cool.</p>
<p>3) Profit. Make millions on your app. ALL because of those nifty icons. You&#8217;re welcome.</p>
<p>That being said, here are the introductory two icons.</p>
<div id="attachment_102" class="wp-caption alignnone" style="width: 60px"><a href="http://phodder.com/blog/wp-content/uploads/2009/09/spyglass.png"><img class="size-full wp-image-102" title="spyglass" src="http://phodder.com/blog/wp-content/uploads/2009/09/spyglass.png" alt="Spyglass" width="21" height="30" /></a><p class="wp-caption-text">Spyglass</p></div>
<div id="attachment_103" class="wp-caption alignnone" style="width: 60px"><a href="http://phodder.com/blog/wp-content/uploads/2009/09/folderIcon.png"><img class="size-full wp-image-103" title="folderIcon" src="http://phodder.com/blog/wp-content/uploads/2009/09/folderIcon.png" alt="Folder Icon" width="33" height="30" /></a><p class="wp-caption-text">Folder Icon</p></div>
<p>Thanks again for reading, and happy coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://phodder.com/blog/2009/09/22/introducing-tab-bar-twosdays-with-dave/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Urban Airship and RESTful Puts with Python</title>
		<link>http://phodder.com/blog/2009/09/08/urban-airship-puts-with-python/</link>
		<comments>http://phodder.com/blog/2009/09/08/urban-airship-puts-with-python/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 16:57:03 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
				<category><![CDATA[iPhone creation]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[push]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[restful]]></category>

		<guid isPermaLink="false">http://phodder.com/blog/?p=89</guid>
		<description><![CDATA[This will be a quick post with a bit of code.  I wanted to share this since I had an awful time finding some working code snippets to communicate with Urban Airship to do Push notifications to Apple for  iPhones.
This code snippet will register a new device with Urban Airship that can then receive Push [...]]]></description>
			<content:encoded><![CDATA[<p>This will be a quick post with a bit of code.  I wanted to share this since I had an awful time finding some working code snippets to communicate with Urban Airship to do Push notifications to Apple for  iPhones.</p>
<p>This code snippet will register a new device with Urban Airship that can then receive Push notifications.</p>
<p><code> </code></p>
<p><code></p>
<pre>import urllib2
from simplejson import dumps as json_dumps

user   = UAPUSH_USER
passwd = UAPUSH_PASS
base_url = UAPUSH_BASE_URL

# push_payload = {
    # 'aps': { 'badge': 2 },
    # 'device_tokens': [ 'devToken01', 'devToken02', etc ]
    # }

def _http_request(url,payload,is_put=False):
    headers = {"Content-type": "application/json" }
    authinfo = urllib2.HTTPBasicAuthHandler()
    authinfo.add_password("API", url, user, passwd )
    opener = urllib2.build_opener(authinfo)
    req  = urllib2.Request(url, payload, headers)
    if is_put: req.get_method = lambda: 'PUT'
    data = opener.open(req)
    return data.read()

def register_device(dev_token, tags):
    # dev_token is a string of hex returned from
    #     registerForRemoteNotificationTypes:
    # tags is a list of string based tags
    content = {"tags": tags}
    url = "%sdevice_tokens/%s" % (base_url, dev_token)
    print _http_request(url, json_dumps(content), is_put=True)</pre>
<p></code></p>
<p>There&#8217;s nothing magical here.  I just found it a bit interesting to have an HTTP base authenticated PUT request to a restful service and figured I&#8217;d show how to tie these all together.</p>
]]></content:encoded>
			<wfw:commentRss>http://phodder.com/blog/2009/09/08/urban-airship-puts-with-python/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
