<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: PyFetion 0.2 发布</title>
	<atom:link href="http://cocobear.info/blog/2009/12/12/pyfetion-02-release/feed/" rel="self" type="application/rss+xml" />
	<link>http://cocobear.info/blog/2009/12/12/pyfetion-02-release/</link>
	<description>K.I.S.S</description>
	<lastBuildDate>Wed, 28 Mar 2012 16:04:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: frank</title>
		<link>http://cocobear.info/blog/2009/12/12/pyfetion-02-release/comment-page-2/#comment-8377</link>
		<dc:creator>frank</dc:creator>
		<pubDate>Mon, 02 Aug 2010 07:03:02 +0000</pubDate>
		<guid isPermaLink="false">http://cocobear.info/blog/?p=743#comment-8377</guid>
		<description>最近开始不能用了，是不是uri变了还是什么，麻烦更新下，谢谢。</description>
		<content:encoded><![CDATA[<p>最近开始不能用了，是不是uri变了还是什么，麻烦更新下，谢谢。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smilepig</title>
		<link>http://cocobear.info/blog/2009/12/12/pyfetion-02-release/comment-page-1/#comment-8346</link>
		<dc:creator>smilepig</dc:creator>
		<pubDate>Mon, 26 Jul 2010 00:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://cocobear.info/blog/?p=743#comment-8346</guid>
		<description>@天文也
飞信换协议了又～～～等可可熊更新吧～～</description>
		<content:encoded><![CDATA[<p>@天文也<br />
飞信换协议了又～～～等可可熊更新吧～～</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 天文也</title>
		<link>http://cocobear.info/blog/2009/12/12/pyfetion-02-release/comment-page-1/#comment-8343</link>
		<dc:creator>天文也</dc:creator>
		<pubDate>Sun, 25 Jul 2010 13:00:35 +0000</pubDate>
		<guid isPermaLink="false">http://cocobear.info/blog/?p=743#comment-8343</guid>
		<description>https://uid.fetion.com.cn/ssiportal/SSIAppSignIn.aspx
不可用了？请楼主确认！</description>
		<content:encoded><![CDATA[<p><a href="https://uid.fetion.com.cn/ssiportal/SSIAppSignIn.aspx" rel="nofollow">https://uid.fetion.com.cn/ssiportal/SSIAppSignIn.aspx</a><br />
不可用了？请楼主确认！</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 韩世界15680180146</title>
		<link>http://cocobear.info/blog/2009/12/12/pyfetion-02-release/comment-page-1/#comment-8223</link>
		<dc:creator>韩世界15680180146</dc:creator>
		<pubDate>Sat, 19 Jun 2010 13:30:30 +0000</pubDate>
		<guid isPermaLink="false">http://cocobear.info/blog/?p=743#comment-8223</guid>
		<description>我下了你的新版本，就2个文件。这个应该是LINUX下用的吧。有WINDOWS下的版本吗？？？</description>
		<content:encoded><![CDATA[<p>我下了你的新版本，就2个文件。这个应该是LINUX下用的吧。有WINDOWS下的版本吗？？？</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 可可熊</title>
		<link>http://cocobear.info/blog/2009/12/12/pyfetion-02-release/comment-page-1/#comment-8172</link>
		<dc:creator>可可熊</dc:creator>
		<pubDate>Fri, 04 Jun 2010 01:13:24 +0000</pubDate>
		<guid isPermaLink="false">http://cocobear.info/blog/?p=743#comment-8172</guid>
		<description>可能对方的版本的原因，我是在旧的版本上测试的。</description>
		<content:encoded><![CDATA[<p>可能对方的版本的原因，我是在旧的版本上测试的。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tina</title>
		<link>http://cocobear.info/blog/2009/12/12/pyfetion-02-release/comment-page-1/#comment-8170</link>
		<dc:creator>tina</dc:creator>
		<pubDate>Thu, 03 Jun 2010 07:02:45 +0000</pubDate>
		<guid isPermaLink="false">http://cocobear.info/blog/?p=743#comment-8170</guid>
		<description>你好，试了下查看好友隐身的功能。一输入就卡住了 只能重启pyfetion 试了很多人 都不行 请问这是为什么呢</description>
		<content:encoded><![CDATA[<p>你好，试了下查看好友隐身的功能。一输入就卡住了 只能重启pyfetion 试了很多人 都不行 请问这是为什么呢</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nsnake</title>
		<link>http://cocobear.info/blog/2009/12/12/pyfetion-02-release/comment-page-1/#comment-7601</link>
		<dc:creator>nsnake</dc:creator>
		<pubDate>Fri, 12 Mar 2010 04:28:31 +0000</pubDate>
		<guid isPermaLink="false">http://cocobear.info/blog/?p=743#comment-7601</guid>
		<description>不知道他的手机号到url是怎么转换的</description>
		<content:encoded><![CDATA[<p>不知道他的手机号到url是怎么转换的</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cocobear</title>
		<link>http://cocobear.info/blog/2009/12/12/pyfetion-02-release/comment-page-1/#comment-7140</link>
		<dc:creator>cocobear</dc:creator>
		<pubDate>Wed, 13 Jan 2010 08:58:31 +0000</pubDate>
		<guid isPermaLink="false">http://cocobear.info/blog/?p=743#comment-7140</guid>
		<description>你可以参考fetion.py
从手机号获取对应的uri 使用Uri发送短信就可以了。</description>
		<content:encoded><![CDATA[<p>你可以参考fetion.py<br />
从手机号获取对应的uri 使用Uri发送短信就可以了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 柠檬园主</title>
		<link>http://cocobear.info/blog/2009/12/12/pyfetion-02-release/comment-page-1/#comment-7133</link>
		<dc:creator>柠檬园主</dc:creator>
		<pubDate>Tue, 12 Jan 2010 17:36:22 +0000</pubDate>
		<guid isPermaLink="false">http://cocobear.info/blog/?p=743#comment-7133</guid>
		<description>搞定了，就是按上面的办法。
在login里增加下面for k,v开始的部分
        #self.get_personal_info()
        if not self.get_contactlist():
            d_print(&quot;get contactlist error&quot;)
            return False
        for k,v in self.contactlist.items():
            print v
            print k[:13]
            if k[:4]==&#039;sip:&#039; and len(v[1])==11 and v[1].isdigit():
                self.num2sip[v[1]] = k[:13]

send_msg下的这个判断
        elif flag != &quot;CatMsg&quot; and len(to) == 11 and to.isdigit():
下面改成：
            if to != self.mobile_no and to in self.num2sip.keys():
                to = self.num2sip[to]
            else:
                to = &quot;tel:&quot;+to

当然num2sip = {}要在class前面先定义一下。</description>
		<content:encoded><![CDATA[<p>搞定了，就是按上面的办法。<br />
在login里增加下面for k,v开始的部分<br />
        #self.get_personal_info()<br />
        if not self.get_contactlist():<br />
            d_print(&#8220;get contactlist error&#8221;)<br />
            return False<br />
        for k,v in self.contactlist.items():<br />
            print v<br />
            print k[:13]<br />
            if k[:4]==&#8217;sip:&#8217; and len(v[1])==11 and v[1].isdigit():<br />
                self.num2sip[v[1]] = k[:13]</p>
<p>send_msg下的这个判断<br />
        elif flag != &#8220;CatMsg&#8221; and len(to) == 11 and to.isdigit():<br />
下面改成：<br />
            if to != self.mobile_no and to in self.num2sip.keys():<br />
                to = self.num2sip[to]<br />
            else:<br />
                to = &#8220;tel:&#8221;+to</p>
<p>当然num2sip = {}要在class前面先定义一下。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 柠檬园主</title>
		<link>http://cocobear.info/blog/2009/12/12/pyfetion-02-release/comment-page-1/#comment-7132</link>
		<dc:creator>柠檬园主</dc:creator>
		<pubDate>Tue, 12 Jan 2010 17:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://cocobear.info/blog/?p=743#comment-7132</guid>
		<description>用get_contactlist方法得到的好友列表里是这样的
{&#039;sip:888888888@fetion.com.cn;port=8888&#039;:[&#039;nickname&#039;,&#039;13888888888&#039;,&#039;0&#039;,&#039;B&#039;],&#039;sip.....}
这样的格式，然后我在LOGIN的时候将这个LIST转换出另一个辞典
{&#039;13888888888&#039;,&#039;sip:88888888@fetion.com.cn;port=8888&#039;}
再判断要发送的手机号，如果不是本机（登录手机号）并且号码在这个DICT里，就取出SIP来。然后在send的时候把原来和to由tel:13888888888改成了sip:888888888,但后怎么再login取出来的contactlist辞典里，value的list里的第二项总是空，也就没办法测试是否能成功了。郁闷。</description>
		<content:encoded><![CDATA[<p>用get_contactlist方法得到的好友列表里是这样的<br />
{&#8216;sip:888888888@fetion.com.cn;port=8888&#8242;:['nickname','13888888888','0','B'],&#8217;sip&#8230;..}<br />
这样的格式，然后我在LOGIN的时候将这个LIST转换出另一个辞典<br />
{&#8217;13888888888&#8242;,&#8217;sip:88888888@fetion.com.cn;port=8888&#8242;}<br />
再判断要发送的手机号，如果不是本机（登录手机号）并且号码在这个DICT里，就取出SIP来。然后在send的时候把原来和to由tel:13888888888改成了sip:888888888,但后怎么再login取出来的contactlist辞典里，value的list里的第二项总是空，也就没办法测试是否能成功了。郁闷。</p>
]]></content:encoded>
	</item>
</channel>
</rss>

