<?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>写意生活</title>
	<atom:link href="http://x1989.com/feed" rel="self" type="application/rss+xml" />
	<link>http://x1989.com</link>
	<description>小谢的Blog — 认真生活的人才应该骄傲 + 专注Web开发 &#124; LAMP &#124; Javascript &#124; UED</description>
	<lastBuildDate>Mon, 16 Aug 2010 15:12:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>无所不能的Mr.Android管家——首届 Google 暑期大学生博客分享大赛——2010 Andriod 篇</title>
		<link>http://x1989.com/a/203.html</link>
		<comments>http://x1989.com/a/203.html#comments</comments>
		<pubDate>Thu, 05 Aug 2010 14:52:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[M8]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google 暑期大学生博客分享大赛]]></category>

		<guid isPermaLink="false">http://x1989.com/?p=203</guid>
		<description><![CDATA[无所不能的Mr.Android管家



如果你还只是把手机看成打电话发短信的家伙，那你就Out了。手机早已超越了打电话发短信如此本质的应用，并且已经实现了上网，拍照，听歌，玩单机游戏等新的功能，同时越来越趋向于成为链接虚拟的与现实之间的终端。

<span class="readmore"><a href="http://x1989.com/a/203.html" title="无所不能的Mr.Android管家——首届 Google 暑期大学生博客分享大赛——2010 Andriod 篇">阅读全文——共1257字</a></span>]]></description>
			<content:encoded><![CDATA[<h2>无所不能的Mr.Android管家</h2>
<p><a href="http://x1989.com/wp-content/uploads/2010/08/200904151242528162.jpg"><img class="alignnone size-medium wp-image-216" title="Mr.Android管家 - Senior Butler Mr.Android" src="http://x1989.com/wp-content/uploads/2010/08/200904151242528162-260x300.jpg" alt="Mr.Android管家 - Senior Butler Mr.Android" width="260" height="300" /></a></p>
<p>如果你还只是把手机看成打电话发短信的家伙，那你就Out了。手机早已超越了打电话发短信如此本质的应用，并且已经实现了上网，拍照，听歌，玩单机游戏等新的功能，同时越来越趋向于成为<strong>链接虚拟的与现实之间的终端</strong>。</p>
<p>伟大的Google于2007年11月5日宣布了即将到来的Android手机操作系统。谁也没想到的是，这位Mr.Android竟能在两年后引发手机操作系统乃至智能手机市场板块的地震：</p>
<blockquote><p>在Gartner于8 月12日发布的报告中，Android体系野蛮生长，居然从 09 年的 1.8%，用一年的时间，增长到了 17.2% 的市场份额！Android 取代了 iOS 的位置，成为第三大智能手机操作系统，而在美国市场，则取代了黑莓老大的位置。</p></blockquote>
<p>而这一切，比Gartner在2009年9月的预测整整提早了两年……<br />
那么机器人先生缘何有这样撼动市场格局的实力呢？我想其中最大的缘由还是Google赋予Mr.Android的创造力，而创造力的根源来自开放性——任何厂商的任何形式的设备，都不会在选择Android的权利上受到限制，也不用担心自身产品的底层代码因开源协议的限制被竞争对手利用，因为Android遵从最开放的Apache Software License 2.0开源协议。就因为如此，厂商和应用开发者在技术上可以无顾忌的进行创新，机器人可以在手机、MID、平板电脑、上网本、电子书阅读器等众多电子设备上为用户服务，真正成为了<strong>无所不能的机器人</strong></p>
<h4>回忆未来——<strong>链接虚拟的与现实的终端</strong></h4>
<p>在现代生活中，我们已经能够通过各种各样的计算机终端为我们的生活创造便利和舒适，我们通过终端进行通信并且获取感兴趣的信息。如果说Windows系统的GUI把人们从命令行操作下解救出来，使得我们的操作体验显得更人性化、更方便，那么无线网络和手持终端的普及，最终将促使数字世界和现实世界的全面融合。在不久的将来，我们的Mr.Android，将带给我们一个崭新的时代——我们在现实世界中可以充分享受到信息化给我们带来的便利。</p>
<p>可以预想，凭借Google在网络领域的驾轻就熟，Mr.Android完全有能力接管我们的生活，成为我们生活的管家。它不仅可以为我们提供一切生活所需的信息，也有能力帮我们处理好琐碎的生活细节——举个例子，我们每天不再需要下楼买菜，Mr.Android已经帮我们制定了今天的食谱，并在网上超市下了订单，我们只需等待超市送货上门。再比如，忙了一天工作下班回家，Mr.Android已经帮你打扫了一天的家务，空调已经打开，饭也已经做好，浴缸里的水也已经放好……毫无疑问，有了Mr.Android,您相当于雇佣了一位高级的管家|顾问。</p>
<p>有人预言，五年后，智能手机的名词将不复存在，因为所有的手机都已经是智能手机，非智能手机将最终消失，这点我很赞同，而我更是相信，出自Google的这位Mr.Android能用最先进的科技为这个星球上的居民创造数字时代幸福的生活。</p>
<blockquote><p>首届 Google 暑期大学生博客分享大赛——2010 Andriod 篇</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://x1989.com/a/203.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>跨域获取json数据</title>
		<link>http://x1989.com/a/198.html</link>
		<comments>http://x1989.com/a/198.html#comments</comments>
		<pubDate>Mon, 19 Jul 2010 13:16:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[前端开发]]></category>

		<guid isPermaLink="false">http://x1989.com/?p=198</guid>
		<description><![CDATA[&#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62;

&#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34; &#62;

&#60;head&#62;

<span class="readmore"><a href="http://x1989.com/a/198.html" title="跨域获取json数据">阅读全文——共58字</a></span>]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &gt;
&lt;head&gt;
    &lt;title&gt;Test Jsonp&lt;/title&gt;
	&lt;script type=&quot;text/javascript&quot;&gt;
        	function jsonpCallback(result)
        	{
			alert(result.msg);
        	}
    	&lt;/script&gt;
	&lt;script type=&quot;text/javascript&quot; src=&quot;http://crossdomain.com/jsonServerResponse?jsonp=jsonpCallback&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;/body&gt;
&lt;/html&gt;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://x1989.com/a/198.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Firefox中伪造浏览器请求头信息(User-agent)</title>
		<link>http://x1989.com/a/195.html</link>
		<comments>http://x1989.com/a/195.html#comments</comments>
		<pubDate>Fri, 16 Jul 2010 05:03:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web开发]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[http头信息]]></category>
		<category><![CDATA[伪造]]></category>
		<category><![CDATA[浏览器报文]]></category>
		<category><![CDATA[浏览器版本]]></category>

		<guid isPermaLink="false">http://x1989.com/?p=195</guid>
		<description><![CDATA[在地址栏输入&#8221;about:config&#8221; 然后回车，进入设置页面

在过滤器中输入&#8221;user&#8221;，进行选项搜索

找到&#8221;general.useragent.extra.firefox&#8221;选项，将该值修改成你所想要的浏览器版本，如&#8221;Internet Explorer 8.0&#8243;

<span class="readmore"><a href="http://x1989.com/a/195.html" title="在Firefox中伪造浏览器请求头信息(User-agent)">阅读全文——共154字</a></span>]]></description>
			<content:encoded><![CDATA[<ol>
<li>在地址栏输入&#8221;about:config&#8221; 然后回车，进入设置页面</li>
<li>在过滤器中输入&#8221;user&#8221;，进行选项搜索</li>
<li>找到&#8221;general.useragent.extra.firefox&#8221;选项，将该值修改成你所想要的浏览器版本，如&#8221;Internet Explorer 8.0&#8243;</li>
</ol>
<p>这样，就实现了http请求头信息中浏览器版本的伪造。</p>
]]></content:encoded>
			<wfw:commentRss>http://x1989.com/a/195.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ecshop二次开发之自定义库文件和模板数据调用</title>
		<link>http://x1989.com/a/183.html</link>
		<comments>http://x1989.com/a/183.html#comments</comments>
		<pubDate>Wed, 14 Jul 2010 07:08:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[dwt]]></category>
		<category><![CDATA[Ecshop]]></category>
		<category><![CDATA[lbi]]></category>
		<category><![CDATA[Smarty]]></category>

		<guid isPermaLink="false">http://x1989.com/?p=183</guid>
		<description><![CDATA[Smarty的标签非常多，也比较繁琐，所以Ecshop使用了精简版的Smarty，其中用到的Smarty模板语法：



&#123;$keywords&#125; 输出模板变量

<span class="readmore"><a href="http://x1989.com/a/183.html" title="Ecshop二次开发之自定义库文件和模板数据调用">阅读全文——共1593字</a></span>]]></description>
			<content:encoded><![CDATA[<p>Smarty的标签非常多，也比较繁琐，所以Ecshop使用了精简版的Smarty，其中用到的Smarty模板语法：</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009900;">&#123;</span><span style="color: #000088;">$keywords</span><span style="color: #009900;">&#125;</span> 输出模板变量
<span style="color: #009900;">&#123;</span><span style="color: #000088;">$array</span><span style="color: #339933;">.</span>test<span style="color: #339933;">.</span>abc<span style="color: #009900;">&#125;</span> 输出二维数组
<span style="color: #009900;">&#123;</span><span style="color: #000088;">$lang</span><span style="color: #339933;">.</span>remark_package<span style="color: #009900;">&#125;</span> 语言包<span style="color: #000088;">$lang</span><span style="color: #009900;">&#91;</span>remark_package<span style="color: #009900;">&#93;</span>
<span style="color: #009900;">&#123;</span>insert_scripts files<span style="color: #339933;">=</span><span style="color: #0000ff;">'common.js'</span><span style="color: #009900;">&#125;</span> 引入js文件
<span style="color: #339933;">&lt;!--</span> <span style="color: #009900;">&#123;</span><span style="color: #b1b100;">foreach</span> from<span style="color: #339933;">=</span><span style="color: #000088;">$property_group</span> item<span style="color: #339933;">=</span>property<span style="color: #009900;">&#125;</span> <span style="color: #339933;">--&gt;</span><span style="color: #004000;">xxxx</span><span style="color: #339933;">&lt;!--</span> <span style="color: #009900;">&#123;</span><span style="color: #339933;">/</span><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#125;</span> <span style="color: #339933;">--&gt;</span> 循环
<span style="color: #339933;">&lt;!--</span> <span style="color: #009900;">&#123;</span><span style="color: #b1b100;">if</span> <span style="color: #000088;">$package_goods_list</span><span style="color: #009900;">&#125;</span> <span style="color: #339933;">--&gt;</span><span style="color: #004000;">xxxx</span><span style="color: #339933;">&lt;!--</span> <span style="color: #009900;">&#123;</span><span style="color: #339933;">/</span><span style="color: #b1b100;">if</span><span style="color: #009900;">&#125;</span> <span style="color: #339933;">--&gt;</span>  判断
<span style="color: #339933;">&lt;!--</span> <span style="color: #666666; font-style: italic;">#BeginLibraryItem &quot;/library/goods_tags.lbi&quot; --&gt;&lt;!-- #EndLibraryItem --&gt;  引入goods_tags.lbi库文件，相当于PHP的include
</span><span style="color: #009900;">&#123;</span><span style="color: #339933;">*</span>内容<span style="color: #339933;">*</span><span style="color: #009900;">&#125;</span>  html注释<span style="color: #339933;">,</span>只在模板上显示<span style="color: #339933;">,</span>页面上会被删除掉<span style="color: #339933;">.</span></pre></div></div>

<p>Ecshop二次开发的数据调用，主要动用到以下两个目录下的文件<br />
dwt(模板文件)路径: themes\default<br />
lbi(库文件)路径: themes\default\library<br />
举个例子就很清楚了，是我从网上找来的，由于转载得很严重，所以不知道真正出处。。<br />
我们在themes\default\library下新建一个名为newest_comments.lbi的库文件，写入以下内容：</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;get_new_comments&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
<span style="color: #000000; font-weight: bold;">function</span> get_new_comments<span style="color: #009900;">&#40;</span><span style="color: #000088;">$num</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
   <span style="color: #000088;">$sql</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'SELECT * FROM '</span><span style="color: #339933;">.</span> <span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'ecs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>table<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'comment'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span>
            <span style="color: #0000ff;">' WHERE status = 1 AND parent_id = 0 and comment_type=0 '</span><span style="color: #339933;">.</span>
            <span style="color: #0000ff;">' ORDER BY add_time DESC'</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$num</span> <span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
   <span style="color: #000088;">$sql</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">' LIMIT '</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$num</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #666666; font-style: italic;">//echo $sql;</span>
  <span style="color: #000088;">$res</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'db'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getAll<span style="color: #009900;">&#40;</span><span style="color: #000088;">$sql</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$comments</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$res</span> <span style="color: #b1b100;">AS</span> <span style="color: #000088;">$idx</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
   <span style="color: #000088;">$comments</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$idx</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'add_time'</span><span style="color: #009900;">&#93;</span>       <span style="color: #339933;">=</span> <span style="color: #000088;">$comments</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$idx</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'add_time'</span><span style="color: #009900;">&#93;</span>       <span style="color: #339933;">=</span> local_date
<span style="color: #009900;">&#40;</span><span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'_CFG'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'time_format'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'add_time'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #000088;">$comments</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$idx</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'user_name'</span><span style="color: #009900;">&#93;</span>       <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'user_name'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
   <span style="color: #000088;">$comments</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$idx</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'content'</span><span style="color: #009900;">&#93;</span>       <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'content'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
   <span style="color: #000088;">$comments</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$idx</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id_value'</span><span style="color: #009900;">&#93;</span>       <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id_value'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #b1b100;">return</span> <span style="color: #000088;">$comments</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>assign<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'new_comments'</span><span style="color: #339933;">,</span>get_new_comments<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">10</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// 10条最新评论</span>
?<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #339933;">&lt;!--</span>数据调用<span style="color: #339933;">-</span>最新评论开始 <span style="color: #339933;">--&gt;</span>
&nbsp;
&nbsp;
<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;comments&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;!--</span><span style="color: #009900;">&#123;</span><span style="color: #b1b100;">foreach</span> from<span style="color: #339933;">=</span><span style="color: #000088;">$new_comments</span> item<span style="color: #339933;">=</span>comment<span style="color: #009900;">&#125;</span><span style="color: #339933;">--&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;t_l f_l&quot;</span><span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;goods.php?id={<span style="color: #006699; font-weight: bold;">$comment</span>.id_value}&quot;</span> target<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;_blank&quot;</span><span style="color: #339933;">&gt;</span>
    <span style="color: #009900;">&#123;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">.</span>content<span style="color: #339933;">|</span>truncate<span style="color: #339933;">:</span><span style="color: #cc66cc;">15</span><span style="color: #339933;">:</span><span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>div<span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;d_r f_r&quot;</span><span style="color: #339933;">&gt;</span>时间：<span style="color: #009900;">&#123;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">.</span>add_time<span style="color: #009900;">&#125;</span><span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
<span style="color: #339933;">&lt;!--</span><span style="color: #009900;">&#123;</span><span style="color: #339933;">/</span><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">--&gt;&lt;/</span>div<span style="color: #339933;">&gt;</span></pre></div></div>

<p>这样一个库文件就做好了。我们发现，库文件可以使用PHP、Smarty标签和HTML混写的写法，这无疑大大降低了我们二次开发的难度。这个库文件的作用，就是取出数据库中的10条最新评论，并且循环输出到模板。<br />
接下来我们就要在模板中调用这个库文件，我们打开首页的模板themes\default\index.dwt（这里的dwt文件和页面都是一一对应，如商品页是goods.dwt，品牌页是brand.dwt）。我们在首页模板适当的地方加入:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;!--</span> <span style="color: #666666; font-style: italic;">#BeginLibraryItem &quot;/library/newest_comments.lbi&quot; --&gt; @@@这里即使修改了也没反应@@@&lt;!-- #EndLibraryItem --&gt;</span></pre></div></div>

<p>这样就实现了自定义库文件的编写和调用。<br />
细心的你可能会发现，在Ecshop的dwt模板文件中，调用库文件标签&lt;&#8211; #BeginLibraryItem &#8220;/library/和&lt;&#8211; #EndLibraryItem &#8211;&gt;之间存在着一些和对应的lbi库文件中重复的内容。你可以把它们当作是注释，用Dreamweaver等编辑器编辑模板时候的需要看见的注释。真正的库文件内容还需要到相应的库文件中去修改。好吧 ，就是这些，简单吧。</p>
]]></content:encoded>
			<wfw:commentRss>http://x1989.com/a/183.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Ecshop]让Smarty不用再写assign</title>
		<link>http://x1989.com/a/178.html</link>
		<comments>http://x1989.com/a/178.html#comments</comments>
		<pubDate>Wed, 14 Jul 2010 03:57:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://x1989.com/?p=178</guid>
		<description><![CDATA[由于工作缘故，开始研究起Ecshop的二次开发。从今天起会陆续写几篇关于Ecshop二次开发的文章和大家分享。

Ecshop使用的是Smarty模板引擎——一种被很多人称为“过时”的模板引擎技术（当然，我也是这么认为的）。Smarty作为一种模板引擎技术，使用它的目的是为了实现MVC。而仅仅通过模板技术实现的MVC，还不能成为真正意义上的MVC。Smarty现在也不是PHP官方推荐的模板技术了。不过在官方的框架Zend Framework中，还是保留了对Smarty的支持。

Ecshop的源码中使用了自己精简的Smarty，功能上基本能满足需求。Ecshop仍然是采用面向过程的编码方式，和Discuz类似。而Discuz的中使用模板变量前是不用assign的。那么在Ecshop中像下面的代码我们能不能也省了呢

<span class="readmore"><a href="http://x1989.com/a/178.html" title="[Ecshop]让Smarty不用再写assign">阅读全文——共1060字</a></span>]]></description>
			<content:encoded><![CDATA[<p>由于工作缘故，开始研究起Ecshop的二次开发。从今天起会陆续写几篇关于Ecshop二次开发的文章和大家分享。</p>
<p>Ecshop使用的是Smarty模板引擎——一种被很多人称为“过时”的模板引擎技术（当然，我也是这么认为的）。Smarty作为一种模板引擎技术，使用它的目的是为了实现MVC。而仅仅通过模板技术实现的MVC，还不能成为真正意义上的MVC。Smarty现在也不是PHP官方推荐的模板技术了。不过在官方的框架Zend Framework中，还是保留了对Smarty的支持。</p>
<p>Ecshop的源码中使用了自己精简的Smarty，功能上基本能满足需求。Ecshop仍然是采用面向过程的编码方式，和Discuz类似。而Discuz的中使用模板变量前是不用assign的。那么在Ecshop中像下面的代码我们能不能也省了呢</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">    <span style="color: #000088;">$smarty</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">assign</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'image_width'</span><span style="color: #339933;">,</span>  <span style="color: #000088;">$_CFG</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'image_width'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$smarty</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">assign</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'image_height'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_CFG</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'image_height'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$smarty</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">assign</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'helps'</span><span style="color: #339933;">,</span>        get_shop_help<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// 网店帮助</span>
    <span style="color: #000088;">$smarty</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">assign</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'id'</span><span style="color: #339933;">,</span>           <span style="color: #000088;">$goods_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$smarty</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">assign</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'type'</span><span style="color: #339933;">,</span>         <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$smarty</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">assign</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'cfg'</span><span style="color: #339933;">,</span>          <span style="color: #000088;">$_CFG</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$smarty</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">assign</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'promotion'</span><span style="color: #339933;">,</span>       get_promotion_info<span style="color: #009900;">&#40;</span><span style="color: #000088;">$goods_id</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #666666; font-style: italic;">//促销信息</span>
    <span style="color: #000088;">$smarty</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">assign</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'promotion_info'</span><span style="color: #339933;">,</span> get_promotion_info<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>当然是可以的。我们在Smarty类中的display方法开头加入以下这几句</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">unset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'_ENV'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_ENV_VARS'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_SERVER_VARS'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_POST_VARS'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_GET_VARS'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_COOKIE_VARS'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_POST_FILES'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_COOKIE_VARS'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//先清空这几个全局变量</span>
<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">assign</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//把全局变量数组&quot;注入模板&quot;</span></pre></div></div>

<p>这样，以后在二次开发中我们就不用写那么多繁琐的$smart->assign 了</p>
]]></content:encoded>
			<wfw:commentRss>http://x1989.com/a/178.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP开发中使用ORM存不存在性能问题</title>
		<link>http://x1989.com/a/177.html</link>
		<comments>http://x1989.com/a/177.html#comments</comments>
		<pubDate>Fri, 04 Jun 2010 17:18:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[写意生活]]></category>
		<category><![CDATA[ORM]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[QeePHP]]></category>
		<category><![CDATA[性能]]></category>

		<guid isPermaLink="false">http://x1989.com/a/177.html</guid>
		<description><![CDATA[随着PHP开发框架的发展，许多框架都向RoR社区和Java社区取经，引入了 ORM (对象关系映射)，方便了我们进行数据库操作。

事实上，一个出色的 ORM，不但要能够支持多种关联关系，以及对象间的泛化和依赖，还应该让开发者可以在对象关系网间自由的导航。开发者不需要操心如何维护对象间的关系，要做的仅仅是将对象间的关系定义出来。只要定义好关系，我们就可以通过直观的代码在对象间进行游历。

以下是从QeePHP的开发手册上抄来的，分析得很有道理：

<span class="readmore"><a href="http://x1989.com/a/177.html" title="PHP开发中使用ORM存不存在性能问题">阅读全文——共560字</a></span>]]></description>
			<content:encoded><![CDATA[<p>随着PHP开发框架的发展，许多框架都向RoR社区和Java社区取经，引入了 ORM (对象关系映射)，方便了我们进行数据库操作。</p>
<p>事实上，一个出色的 ORM，不但要能够支持多种关联关系，以及对象间的泛化和依赖，还应该让开发者可以在对象关系网间自由的导航。开发者不需要操心如何维护对象间的关系，要做的仅仅是将对象间的关系定义出来。只要定义好关系，我们就可以通过直观的代码在对象间进行游历。</p>
<p>以下是从QeePHP的开发手册上抄来的，分析得很有道理：</p>
<p>诸如“作者 -> 撰写的书籍 -> 读者 -> 阅读的书籍 -> 这些书籍的作者”这样的对象导航当然会导致多次数据库查询，但是以此来认为框架的 ORM 性能不佳，其实是不正确的。</p>
<p>因为即便不使用任何 ORM，依赖于手工编写和优化的 SQL 查询，也不可能在一次查询中就从一个“作者”得到跨越了几层关系的“其他作者”的信息。所以，ORM 提供的这种对象导航能力并不等同于性能损失。</p>
<p>另一个更常见的误解就是：查询 10 篇文章及每篇文章的前 5 个评论。这种需求即便是手工编写的 SQL，也需要 10 次查询。所以开发者发现使用“一对多”关联导致多次查询就不应该意外了 <img src='http://x1989.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>除了一些无法避免的 SQL，QeePHP 的 ORM 已经做了大量的优化工作。并且利用延迟查询、In-Memory 缓存、集合对象等技术来进一步减少和消除不必要的查询操作。</p>
]]></content:encoded>
			<wfw:commentRss>http://x1989.com/a/177.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Thinkphp2.0中关联模型中的一个bug</title>
		<link>http://x1989.com/a/145.html</link>
		<comments>http://x1989.com/a/145.html#comments</comments>
		<pubDate>Sun, 09 May 2010 16:14:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[thinkphp]]></category>
		<category><![CDATA[关联模型]]></category>

		<guid isPermaLink="false">http://x1989.com/?p=145</guid>
		<description><![CDATA[今天天气真好啊。。

在最近一个新项目的开发中，我采用了thinkphp作为开发框架，需求是围绕discuz和uchome进行的二次开发。

我在Conf/config.php配置文件中设置的默认表前缀是&#8221;a_&#8221;，但由于需求需要，我需要从论坛的&#8221;cdb_activitities&#8221; 和&#8221;cdb_threads&#8221;两张表中进行关联查询。按照tp开发手册上所说，我自定义了一下两张表模型的表前缀，并加上关联规则：

<span class="readmore"><a href="http://x1989.com/a/145.html" title="Thinkphp2.0中关联模型中的一个bug">阅读全文——共973字</a></span>]]></description>
			<content:encoded><![CDATA[<p>今天天气真好啊。。<br />
在最近一个新项目的开发中，我采用了thinkphp作为开发框架，需求是围绕discuz和uchome进行的二次开发。<br />
我在Conf/config.php配置文件中设置的默认表前缀是&#8221;a_&#8221;，但由于需求需要，我需要从论坛的&#8221;cdb_activitities&#8221; 和&#8221;cdb_threads&#8221;两张表中进行关联查询。按照tp开发手册上所说，我自定义了一下两张表模型的表前缀，并加上关联规则：</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/**
 * Activities模型
 *
 * @author xhowhy
 */</span>
<span style="color: #000000; font-weight: bold;">class</span> ActivitiesModel <span style="color: #000000; font-weight: bold;">extends</span> RelationModel <span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;">//put your code here</span>
    protected <span style="color: #000088;">$tablePrefix</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'cdb_'</span><span style="color: #339933;">;</span>
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000088;">$_link</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
	<span style="color: #0000ff;">'threads'</span><span style="color: #339933;">=&gt;</span>array<span style="color: #009900;">&#40;</span>
	    <span style="color: #0000ff;">'mapping_type'</span><span style="color: #339933;">=&gt;</span>HAS_ONE<span style="color: #339933;">,</span>
	    <span style="color: #0000ff;">'class_name'</span>     <span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'threads'</span><span style="color: #339933;">,</span>
	    <span style="color: #0000ff;">'foreign_key'</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'tid'</span>
       <span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #009933; font-style: italic;">/**
 * Description of ThreadsModelclass
 *
 * @author Administrator
 */</span>
<span style="color: #000000; font-weight: bold;">class</span> ThreadsModel <span style="color: #000000; font-weight: bold;">extends</span> RelationModel <span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;">//put your code here</span>
    protected <span style="color: #000088;">$tablePrefix</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'cdb_'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>可关联后进行查询，发现class_name返回的是bool(false)。我很奇怪，就算是没有被关联的数据，那返回的也应该是null，怎么会是bool(false)。后来经过查看tp源码中的Thinkphp/Lib/Think/Core/Model/RelationModel.class.php文件，终于在170行找到原因：</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">                        <span style="color: #666666; font-style: italic;">// 获取关联模型对象</span>
                        <span style="color: #000088;">$model</span> <span style="color: #339933;">=</span> M<span style="color: #009900;">&#40;</span><span style="color: #000088;">$mappingClass</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>可以看出，在生成关联模型对象的时候，源码中采用了M函数，而在Thinkphp/common/function.php中定义的M函数的作用是“M函数用于实例化一个没有模型文件的Model”。很显然，根据上下文，这里应该使用D函数。因为就算是关联模型，也不一定没有模型文件，同样有可能是自定义表前缀、甚至是跨库操作。<br />
所以代码应该改成：</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">                        <span style="color: #666666; font-style: italic;">// 获取关联模型对象</span>
                        <span style="color: #000088;">$model</span> <span style="color: #339933;">=</span> D<span style="color: #009900;">&#40;</span><span style="color: #000088;">$mappingClass</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>问题成功解决了。</p>
]]></content:encoded>
			<wfw:commentRss>http://x1989.com/a/145.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>很不错的原型设计软件</title>
		<link>http://x1989.com/a/139.html</link>
		<comments>http://x1989.com/a/139.html#comments</comments>
		<pubDate>Sat, 08 May 2010 14:26:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[其他文章]]></category>
		<category><![CDATA[balsamiq mockups]]></category>
		<category><![CDATA[原型设计]]></category>

		<guid isPermaLink="false">http://x1989.com/?p=139</guid>
		<description><![CDATA[http://www.balsamiq.com/products/mockups

要说的一点是这款软件是要付费的，79美元（也可以免费使用，如何免费，请看网站上的说明）。作者说在2008年，这款软件就从1,322位付费用户那获得了162,302美元的收入（其  中仅12月份就有39,000美元），这证明了只要是提供真正价值的服务和软件，就能够创造很好的收入，即使在经济萧条的寒冬里。

]]></description>
			<content:encoded><![CDATA[<p>http://www.balsamiq.com/products/mockups</p>
<p>要说的一点是这款软件是要付费的，79美元（也可以免费使用，如何免费，请看网站上的说明）。作者说在2008年，这款软件就从1,322位付费用户那获得了162,302美元的收入（其  中仅12月份就有39,000美元），这证明了只要是提供真正价值的服务和软件，就能够创造很好的收入，即使在经济萧条的寒冬里。</p>
<p><a href="http://x1989.com/wp-content/uploads/2010/05/myImage2.png"><img class="alignnone size-medium wp-image-140" title="myImage(2)" src="http://x1989.com/wp-content/uploads/2010/05/myImage2-268x300.png" alt="" width="268" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://x1989.com/a/139.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>推荐一款挑战河蟹的利器——河蟹工具条</title>
		<link>http://x1989.com/a/134.html</link>
		<comments>http://x1989.com/a/134.html#comments</comments>
		<pubDate>Fri, 07 May 2010 14:50:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[写意生活]]></category>

		<guid isPermaLink="false">http://x1989.com/?p=134</guid>
		<description><![CDATA[国内的一位牛人发布了一款Web辅助工具条(原名:河蟹工具条CrabBar)。

使用方法与今天刚发布的QQWeb输入法类似。特点是“无需下载客户端软件，简单设置后即可在线使用”

总而言之很强大，推荐大家使用。

<span class="readmore"><a href="http://x1989.com/a/134.html" title="推荐一款挑战河蟹的利器——河蟹工具条">阅读全文——共429字</a></span>]]></description>
			<content:encoded><![CDATA[<p>国内的一位牛人发布了一款<span style="color: #888888;"><a href="http://code.google.com/p/crabbar/">Web辅助工具条(原名:河蟹工具条CrabBar)</a>。</span></p>
<p><span style="color: #888888;"><span style="color: #000000;">使用方法与今天刚发布的<a href="http://py.qq.com/web/">QQWeb</a>输入法类似。特点是“<strong>无需下载客户端软件，简单设置后即可在线使用</strong>”</span></span></p>
<p><span style="color: #888888;"><span style="color: #000000;">总而言之很强大，推荐大家使用。</span></span></p>
<p><span style="color: #888888;"><a href="http://x1989.com/wp-content/uploads/2010/05/2.png"><img class="alignnone size-full wp-image-135" title="2" src="http://x1989.com/wp-content/uploads/2010/05/2.png" alt="" width="276" height="94" /></a></span></p>
<blockquote>
<h1><a name="如何使用河蟹工具条"></a></h1>
<p><a name="如何使用河蟹工具条"></a></p>
<p><a name="如何使用河蟹工具条"></a><a rel="nofollow" href="http://www.skiyo.cn/">http://www.skiyo.cn/</a> 中的某篇文章，并且你想对其进行评论，这时候请在地址栏中输入以下代码：</p>
<pre>javascript:void((function(){
var e=document.createElement('script');
e.setAttribute('src',
'http://crabbar.googlecode.com/svn/trunk/crabbar.js');
document.body.appendChild(e);})())</pre>
<p>稍等3秒左右，等待工具条加载完毕后，会在你浏览器中正中央出现河蟹工具条。这时候你就可以在我的博客中的评论框中进行评论，然后选中你想要改变的文字，并且点击工具条上的“菊花文”，这些文字就变成菊花文了。</p></blockquote>
<blockquote><p><span style="color: #888888;"> </span></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://x1989.com/a/134.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[视频][音乐]孙燕姿-垦丁音乐嘉年华-2010-Kending Live2010-Stefanie Sun</title>
		<link>http://x1989.com/a/168.html</link>
		<comments>http://x1989.com/a/168.html#comments</comments>
		<pubDate>Thu, 29 Apr 2010 10:36:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Stefaney]]></category>
		<category><![CDATA[Kending Live2010]]></category>
		<category><![CDATA[Stefanie]]></category>
		<category><![CDATA[垦丁音乐嘉年华]]></category>
		<category><![CDATA[孙燕姿]]></category>

		<guid isPermaLink="false">http://x1989.com/?p=168</guid>
		<description><![CDATA[今天无意在QQ音乐上看到燕姿4月初的时候参加的垦丁音乐嘉年华，最近动作很频繁哦。。看样子新专辑已经不远了

4月4日晚，  垦丁音乐嘉年华热烈引爆，久未露面的孙燕姿压轴登台献唱，这也是她睽违台湾一年多以来的首次演出，自然成为众人关注的焦点。当晚，孙燕姿一身红色民族风衣服加上中分长发，有别于以往的个性女生形象，愈发成熟、女人。

视频：2010年半岛垦丁音乐节-燕姿部分（上）

<span class="readmore"><a href="http://x1989.com/a/168.html" title="[视频][音乐]孙燕姿-垦丁音乐嘉年华-2010-Kending Live2010-Stefanie Sun">阅读全文——共644字</a></span>]]></description>
			<content:encoded><![CDATA[<p><a href="http://x1989.com/wp-content/uploads/2010/05/1zlxb85.jpg"><img class="alignnone size-medium wp-image-169" title="1zlxb85" src="http://x1989.com/wp-content/uploads/2010/05/1zlxb85-300x292.jpg" alt="" width="300" height="292" /></a></p>
<p>今天无意在QQ音乐上看到燕姿4月初的时候参加的垦丁音乐嘉年华，最近动作很频繁哦。。看样子新专辑已经不远了</p>
<blockquote><p>4月4日晚，  垦丁音乐嘉年华热烈引爆，久未露面的孙燕姿压轴登台献唱，这也是她睽违台湾一年多以来的首次演出，自然成为众人关注的焦点。当晚，孙燕姿一身红色民族风衣服加上中分长发，有别于以往的个性女生形象，愈发成熟、女人。</p></blockquote>
<p>视频：<a title="2010年半岛垦丁音乐节-燕姿部分（上）" href="http://v.youku.com/v_show/id_XMTYyODAwNzgw.html" target="_blank">2010年半岛垦丁音乐节-燕姿部分（上）</a></p>
<p><a title="2010年半岛垦丁音乐节-燕姿部分（下）" href="http://v.youku.com/v_show/id_XMTYyNzk5Nzk2.html" target="_blank">2010年半岛垦丁音乐节-燕姿部分（下）</a></p>
<p>MP3：</p>
<p>Tracklist<br />
01.神奇<br />
02.超快感（变奏版）<br />
03.我不难过<br />
04.完美的一天<br />
05.遇见<br />
06.志明与春娇（原唱： 五月天）<br />
07. 我怀念的<br />
08.The Moment<br />
09.绿光（变奏版)</p>
<p><strong>Download</strong></p>
<p><strong>Rapidshare</strong><br />
<a href="http://rapidshare.com/files/377651282/myvoiddeck.com.live.zip">http://rapidshare.com/files/377651282/myvoiddeck.com.live.zip</a></p>
<p><strong>Mediafire</strong><br />
<a href="http://www.mediafire.com/?zowzjzmmuko">http://www.mediafire.com/?zowzjzmmuko</a></p>
<p><strong>Zshare</strong><br />
<a href="http://www.zshare.net/download/75141832f42621e1/">http://www.zshare.net/download/75141832f42621e1/</a></p>
<p><strong>Zippyshare</strong><br />
<a href="http://www2.zippyshare.com/v/1411991/file.html">http://www2.zippyshare.com/v/1411991/file.html</a></p>
<p><strong>Limelinx</strong><br />
<a href="http://limelinx.com/files/ca970a86787846f4e4e72682ed746166">http://limelinx.com/files/ca970a86787846f4e4e72682ed746166</a></p>
<p><strong>Megaupload</strong><br />
<a href="http://www.megaupload.com/?d=QB44KRJH">http://www.megaupload.com/?d=QB44KRJH</a></p>
]]></content:encoded>
			<wfw:commentRss>http://x1989.com/a/168.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->
