<?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>Luin&#039;s Blog &#187; 主机</title>
	<atom:link href="http://luinlee.com/tag/%e4%b8%bb%e6%9c%ba/feed/" rel="self" type="application/rss+xml" />
	<link>http://luinlee.com</link>
	<description>A long river</description>
	<lastBuildDate>Sat, 07 Aug 2010 04:55:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>在你的blog上显示滔滔消息</title>
		<link>http://luinlee.com/308/blogandtaotao/</link>
		<comments>http://luinlee.com/308/blogandtaotao/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 15:23:50 +0000</pubDate>
		<dc:creator>Luin</dc:creator>
				<category><![CDATA[前端开发]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[QQ]]></category>
		<category><![CDATA[主机]]></category>
		<category><![CDATA[微博]]></category>
		<category><![CDATA[滔滔]]></category>

		<guid isPermaLink="false">http://luinlee.com/?p=308</guid>
		<description><![CDATA[你喜欢在个人博客上显示来自自己微博的信息吗？ 很久很久以前，当可爱的twitter和可爱的饭否和可爱的嘀咕和可爱的**都活着的时候，作为它们的用户，你可以很轻松地直接把很多很HX的API用在自己的博客上。 当然，这种好事现在没有了(什么？你的主机在国外？)，于是你也许选择了和扣扣很亲密的滔滔。话说滔滔是个好东西，腾讯对自己宝宝的扣扣机器人一直照顾有加(而饭否的则一直被腾讯歧视，当然现在腾讯也没有机会不歧视它了)，这意味着你可以很轻松的把自己要发表的信息告诉滔滔的扣扣机器人(是的，它叫叨客机器人，有这么一个笑话：“我无聊时找叨客机器人聊天，谁知道它把我们的聊天记录都发到了网上。”)。 可惜的是，滔滔并没有公开的API(不管H不HX，总之是没有的。至少就我所知)。不过你可以利用一个JS文件来实现滔滔信息的显示： http://www.taotao.com/cgi-bin/msgj?qq=361198638&#38;num=1&#38;t=0 qq=QQ号，num=要显示的数量 返回内容是一个doApi函数，于是你就知道了该怎么写： &#60;script type=&#34;text/javascript&#34;&#62; function doApi&#40;obj&#41; &#123; $&#40;&#34;miniMsg&#34;&#41;.innerHTML = &#34;“ &#34; + obj.posts&#91;0&#93;.cn + &#34; ”&#34;; var sMiniMsgTime = obj.posts&#91;0&#93;.time; var sMiniMsgTimes = sMiniMsgTime.split&#40;&#34;,&#34;&#41;; switch&#40;sMiniMsgTimes&#91;0&#93;&#41; &#123; case &#34;1&#34;: sMiniMsgTime = sMiniMsgTimes&#91;1&#93; + &#34;秒前&#34;; break; case &#34;2&#34;: sMiniMsgTime = sMiniMsgTimes&#91;1&#93; + &#34;分钟前&#34;; break; case &#34;3&#34;: sMiniMsgTime = sMiniMsgTimes&#91;1&#93; + &#34;小时前&#34;; break; [...]]]></description>
			<content:encoded><![CDATA[<p>你喜欢在个人博客上显示来自自己微博的信息吗？</p>
<p>很久很久以前，当可爱的twitter和可爱的饭否和可爱的嘀咕和可爱的**都活着的时候，作为它们的用户，你可以很轻松地直接把很多很HX的API用在自己的博客上。</p>
<div id="attachment_322" class="wp-caption alignleft" style="width: 250px"><img class="size-medium wp-image-322 " title="可爱的twitter望着你呢" src="http://luinlee.com/wp-content/uploads/2010/01/twitter11-300x300.jpg" alt="可爱的twitter望着你呢" width="240" height="240" /><p class="wp-caption-text">可爱的twitter望着你呢</p></div>
<p>当然，这种好事现在没有了(什么？你的主机在国外？)，于是你也许选择了和扣扣很亲密的滔滔。话说滔滔是个好东西，腾讯对自己宝宝的扣扣机器人一直照顾有加(而饭否的则一直被腾讯歧视，当然现在腾讯也没有机会不歧视它了)，这意味着你可以很轻松的把自己要发表的信息告诉滔滔的扣扣机器人(是的，它叫叨客机器人，有这么一个笑话：“我无聊时找叨客机器人聊天，谁知道它把我们的聊天记录都发到了网上。”)。</p>
<p>可惜的是，滔滔并没有公开的API(不管H不HX，总之是没有的。至少就我所知)。不过你可以利用一个JS文件来实现滔滔信息的显示：</p>
<blockquote><p><a href="http://www.taotao.com/cgi-bin/msgj?qq=361198638&amp;num=1&amp;t=0">http://www.taotao.com/cgi-bin/msgj?qq=361198638&amp;num=1&amp;t=0</a></p></blockquote>
<p><em>qq=QQ号，num=要显示的数量</em></p>
<p>返回内容是一个doApi函数，于是你就知道了该怎么写：</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">	<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
        <span style="color: #003366; font-weight: bold;">function</span> doApi<span style="color: #009900;">&#40;</span>obj<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;miniMsg&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;“ &quot;</span> <span style="color: #339933;">+</span> obj.<span style="color: #660066;">posts</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">cn</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot; ”&quot;</span><span style="color: #339933;">;</span>
            <span style="color: #003366; font-weight: bold;">var</span> sMiniMsgTime <span style="color: #339933;">=</span> obj.<span style="color: #660066;">posts</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">time</span><span style="color: #339933;">;</span>
			<span style="color: #003366; font-weight: bold;">var</span> sMiniMsgTimes <span style="color: #339933;">=</span> sMiniMsgTime.<span style="color: #660066;">split</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;,&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #000066; font-weight: bold;">switch</span><span style="color: #009900;">&#40;</span>sMiniMsgTimes<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				<span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">&quot;1&quot;</span><span style="color: #339933;">:</span>
					sMiniMsgTime <span style="color: #339933;">=</span> sMiniMsgTimes<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;秒前&quot;</span><span style="color: #339933;">;</span>
					<span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
				<span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">&quot;2&quot;</span><span style="color: #339933;">:</span>
					sMiniMsgTime <span style="color: #339933;">=</span> sMiniMsgTimes<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;分钟前&quot;</span><span style="color: #339933;">;</span>
					<span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
				<span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">&quot;3&quot;</span><span style="color: #339933;">:</span>
					sMiniMsgTime <span style="color: #339933;">=</span> sMiniMsgTimes<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;小时前&quot;</span><span style="color: #339933;">;</span>
					<span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
				<span style="color: #003366; font-weight: bold;">default</span><span style="color: #339933;">:</span>
					sMiniMsgTime <span style="color: #339933;">=</span> sMiniMsgTimes<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span>
            $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;miniTime&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;Luin 于 &quot;</span> <span style="color: #339933;">+</span> sMiniMsgTime <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot; @TaoTao&quot;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
      <span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
      &lt;script type=&quot;text/javascript&quot; src=&quot;http://www.taotao.com/cgi-bin/msgj?qq=361198638&amp;num=1&amp;t=0&quot;&gt;&lt;/script&gt;</pre></div></div>

<p>其中对sMiniMsgTimes[0]的值的意义由于没有API说明，我也是发一条信息后不断刷新来了解值是干什么的。无知是进步的阶梯，嗯嗯。</p>
<p>最终效果如我的首页(未来某天会改版的，也许你找不到这些代码，节哀)。</p>
]]></content:encoded>
			<wfw:commentRss>http://luinlee.com/308/blogandtaotao/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>涨价了，奔去西海岸</title>
		<link>http://luinlee.com/284/zhangjia/</link>
		<comments>http://luinlee.com/284/zhangjia/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 10:55:17 +0000</pubDate>
		<dc:creator>Luin</dc:creator>
				<category><![CDATA[闲言碎语]]></category>
		<category><![CDATA[mt]]></category>
		<category><![CDATA[主机]]></category>
		<category><![CDATA[合租]]></category>
		<category><![CDATA[域名]]></category>

		<guid isPermaLink="false">http://luinlee.com/?p=284</guid>
		<description><![CDATA[EBLhost主机价格很强悍的瞬间涨了6倍，所以近期开始考虑搬家了。哪位有国外服务器的同学帮忙推荐个国外主机，要求200以下，支持5个域名绑定(我只能偷偷地呐喊“速度快点速度快点”)。 Luin.in的域名备案还没有通过，教育网上www.miibeian.gov.cn(哦，你不加www是不行的)需要20多分钟才能刷出验证码，你你你你你有点PR10的素养好不好&#8230;]]></description>
			<content:encoded><![CDATA[<p>EBLhost主机价格很强悍的瞬间涨了6倍，所以近期开始考虑搬家了。哪位有国外服务器的同学帮忙推荐个国外主机，要求200以下，支持5个域名绑定(我只能偷偷地呐喊“速度快点速度快点”)。</p>
<div id="attachment_285" class="wp-caption alignnone" style="width: 436px"><img class="size-full wp-image-285" title="标准型哦耶" src="http://luinlee.com/wp-content/uploads/2010/01/oye.png" alt="标准型哦耶" width="426" height="288" /><p class="wp-caption-text">标准型哦耶</p></div>
<div id="attachment_286" class="wp-caption alignnone" style="width: 447px"><img class="size-full wp-image-286    " title="庙的MT合租" src="http://luinlee.com/wp-content/uploads/2010/01/oye1.png" alt="庙的MT合租" width="437" height="177" /><p class="wp-caption-text">庙的MT合租</p></div>
<p>Luin.in的域名备案还没有通过，教育网上www.miibeian.gov.cn(哦，你不加www是不行的)需要20多分钟才能刷出验证码，你你你你你有点PR10的素养好不好&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://luinlee.com/284/zhangjia/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>看上去很美</title>
		<link>http://luinlee.com/277/looksbe/</link>
		<comments>http://luinlee.com/277/looksbe/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 02:35:44 +0000</pubDate>
		<dc:creator>Luin</dc:creator>
				<category><![CDATA[闲言碎语]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[主机]]></category>
		<category><![CDATA[离散]]></category>
		<category><![CDATA[空间]]></category>

		<guid isPermaLink="false">http://luinlee.com/?p=277</guid>
		<description><![CDATA[其一： 其二：由于国家开始执行对互联网的严格管理，开通网站的手续变得异常繁琐，我司运营的低端虚拟主机产品的成本和风险大幅增加。我司决定，从即日起EBL主机将停止销售国内基础型产品（即原200M空间）。 其三：http://www.fmprc.gov.cn/chn/gxh/tyb/fyrbt/t651499.htm 其四：离散考完了，很简单，满分不远。 当害怕离散，就打开书，努力去学它。]]></description>
			<content:encoded><![CDATA[<p><strong>其一</strong>：</p>
<div id="attachment_281" class="wp-caption alignnone" style="width: 523px"><img class="size-full wp-image-281" title="Google,哦不,是谷歌的新logo" src="http://luinlee.com/wp-content/uploads/2010/01/wbt.png" alt="Google,哦不,是谷歌的新logo" width="513" height="215" /><p class="wp-caption-text">Google,哦不,是谷歌的新logo</p></div>
<p><strong>其二</strong>：由于国家开始执行对互联网的严格管理，开通网站的手续变得异常繁琐，我司运营的低端虚拟主机产品的成本和风险大幅增加。我司决定，从即日起EBL主机将停止销售国内基础型产品（即原200M空间）。</p>
<p><strong>其三</strong>：http://www.fmprc.gov.cn/chn/gxh/tyb/fyrbt/t651499.htm</p>
<p><strong>其四</strong>：离散考完了，很简单，满分不远。</p>
<p>当害怕离散，就<strong>打开</strong>书，努力去学它。</p>
]]></content:encoded>
			<wfw:commentRss>http://luinlee.com/277/looksbe/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
