<?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>FALLHUNTER &#187; push notification</title>
	<atom:link href="http://www.fallhunter.com/p/tag/push-notification/feed" rel="self" type="application/rss+xml" />
	<link>http://www.fallhunter.com</link>
	<description>Web &#38; Mobile, Design &#38; Code</description>
	<lastBuildDate>Tue, 08 Feb 2011 11:07:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>使用 python/django 发送iPhone push消息</title>
		<link>http://www.fallhunter.com/p/10149</link>
		<comments>http://www.fallhunter.com/p/10149#comments</comments>
		<pubDate>Wed, 09 Dec 2009 15:41:22 +0000</pubDate>
		<dc:creator>fallhunter</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[push notification]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.fallhunter.com/?p=10149</guid>
		<description><![CDATA[&#160; iphone的push notification功能是个好东西，可以在一定程度上模拟后台运行程序的效果。但这个东西配置起来确实有点麻烦。好在apple的文档说的还算详细，仔细按照文档做，慢慢生成那一堆配置文件吧。 服务器端的配置： 在开发mac上，从keychain中将生成的keyexport出来，这里要注意要同时选中对应cer与private key两个项目，一起倒出到一个.p12文件中。 将倒出的p12文件放到服务器上，将p12文件转换为pem文件: openssl pkcs12 -in cred.p12 -out cert.pem -nodes -clcerts 然后，按照 APNSWrapper 里的文档就可以测试了，随便使用一个token，如果没有异常就说明认证OK啦， APNSWrapper 真是个好东西。 感谢互联网，感谢Python~~~ 参考资料 http://code.google.com/p/apns-python-wrapper/ http://leenux.org.uk/2009/07/14/push-on-the-iphone/ Related posts:Python 与 Django 的时区问题 GO GO GO, when Python meets C++ 在PC上安装 Mac OS X 系统 如何学习iphone开发 实现自适应高度的 UITableViewCell 或 UILabel


Related posts:<ol><li><a href='http://www.fallhunter.com/p/10135' rel='bookmark' title='Permanent Link: Python 与 Django 的时区问题'>Python 与 Django 的时区问题</a></li>
<li><a href='http://www.fallhunter.com/p/10129' rel='bookmark' title='Permanent Link: GO GO GO,  when Python meets C++'>GO GO GO,  when Python meets C++</a></li>
<li><a href='http://www.fallhunter.com/p/10100' rel='bookmark' title='Permanent Link: 在PC上安装 Mac OS X 系统'>在PC上安装 Mac OS X 系统</a></li>
<li><a href='http://www.fallhunter.com/p/10121' rel='bookmark' title='Permanent Link: 如何学习iphone开发'>如何学习iphone开发</a></li>
<li><a href='http://www.fallhunter.com/p/10140' rel='bookmark' title='Permanent Link: 实现自适应高度的 UITableViewCell 或 UILabel'>实现自适应高度的 UITableViewCell 或 UILabel</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>iphone的push notification功能是个好东西，可以在一定程度上模拟后台运行程序的效果。但这个东西配置起来确实有点麻烦。好在apple的文档说的还算详细，仔细按照文档做，慢慢生成那一堆配置文件吧。</p>
<p>服务器端的配置：</p>
<p>在开发mac上，从keychain中将生成的keyexport出来，这里要注意要同时选中对应cer与private key两个项目，一起倒出到一个.p12文件中。</p>
<p>将倒出的p12文件放到服务器上，将p12文件转换为pem文件:    </p>
<pre><code>openssl pkcs12 -in cred.p12 -out cert.pem -nodes -clcerts</code></pre>
<p>然后，按照 <a href="http://code.google.com/p/apns-python-wrapper/" target="_blank">APNSWrapper</a> 里的文档就可以测试了，随便使用一个token，如果没有异常就说明认证OK啦， <a href="http://code.google.com/p/apns-python-wrapper/" target="_blank">APNSWrapper</a> 真是个好东西。</p>
<p>感谢互联网，感谢Python~~~<br />
  </p>
<p>参考资料</p>
<ul>
<li><a href="http://code.google.com/p/apns-python-wrapper/">http://code.google.com/p/apns-python-wrapper/</a></li>
<li><a href="http://leenux.org.uk/2009/07/14/push-on-the-iphone/">http://leenux.org.uk/2009/07/14/push-on-the-iphone/</a></li>
</ul>


<p>Related posts:<ol><li><a href='http://www.fallhunter.com/p/10135' rel='bookmark' title='Permanent Link: Python 与 Django 的时区问题'>Python 与 Django 的时区问题</a></li>
<li><a href='http://www.fallhunter.com/p/10129' rel='bookmark' title='Permanent Link: GO GO GO,  when Python meets C++'>GO GO GO,  when Python meets C++</a></li>
<li><a href='http://www.fallhunter.com/p/10100' rel='bookmark' title='Permanent Link: 在PC上安装 Mac OS X 系统'>在PC上安装 Mac OS X 系统</a></li>
<li><a href='http://www.fallhunter.com/p/10121' rel='bookmark' title='Permanent Link: 如何学习iphone开发'>如何学习iphone开发</a></li>
<li><a href='http://www.fallhunter.com/p/10140' rel='bookmark' title='Permanent Link: 实现自适应高度的 UITableViewCell 或 UILabel'>实现自适应高度的 UITableViewCell 或 UILabel</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.fallhunter.com/p/10149/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

