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

<channel>
	<title>SILENCE Blog &#187; My Blog</title>
	<atom:link href="http://blog.silence.idv.tw/category/my-blog-%e8%a8%98%e4%ba%8b/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.silence.idv.tw</link>
	<description>The Blog Belongs to us</description>
	<pubDate>Mon, 31 Oct 2011 14:02:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>當兵去</title>
		<link>http://blog.silence.idv.tw/2007/10/15/enter-army</link>
		<comments>http://blog.silence.idv.tw/2007/10/15/enter-army#comments</comments>
		<pubDate>Sun, 14 Oct 2007 17:51:01 +0000</pubDate>
		<dc:creator>SILENCE</dc:creator>
		
		<category><![CDATA[Blog大事記]]></category>

		<category><![CDATA[My Blog]]></category>

		<category><![CDATA[生活記事]]></category>

		<guid isPermaLink="false">http://blog.silence.idv.tw/2007/10/15/enter-army/</guid>
		<description><![CDATA[即日起要向國家軍隊報到啦！所以 Blog 更新會慢些﹐回覆也會慢些﹐只希望軍中生活能夠快一些！一年從軍的時間能快快渡過  
祝大家拍得好照片, 得過好日子
]]></description>
			<content:encoded><![CDATA[<p>即日起要向國家軍隊報到啦！所以 Blog 更新會慢些﹐回覆也會慢些﹐只希望軍中生活能夠快一些！一年從軍的時間能快快渡過 <img src='http://blog.silence.idv.tw/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>祝大家拍得好照片, 得過好日子</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.silence.idv.tw/2007/10/15/enter-army/feed</wfw:commentRss>
		</item>
		<item>
		<title>[plugin]Post View Plus Widget 1.0.12</title>
		<link>http://blog.silence.idv.tw/2007/09/27/post-view-plus-widget1012</link>
		<comments>http://blog.silence.idv.tw/2007/09/27/post-view-plus-widget1012#comments</comments>
		<pubDate>Thu, 27 Sep 2007 12:34:55 +0000</pubDate>
		<dc:creator>SILENCE</dc:creator>
		
		<category><![CDATA[My Blog]]></category>

		<category><![CDATA[Plugin]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.silence.idv.tw/2007/09/27/post-view-plus-widget1012/</guid>
		<description><![CDATA[
版本: 1.0.12
相容於 Post View Plus 1.0.12

下載

下載 1.0.12 版本

新功能?
能夠自訂原始輸出文字：「User Views」 和「Views」
如何使用新功能？

勾選 Overwrite output text
下方輸入方塊即可讓您輸入想要輸出的文字。
其餘請參考版本就版本 1.0.5 的說明

&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
English instruction:
Version: 1.0.12
Compatibility with Post View Plus 1.0.12 
download

Download 1.0.12

What&#8217;s new?
user will be able to change output text &#8220;User Views&#8221; or &#8220;Views&#8221; to what they want  even keep it empty.
How to use new feature?

go to your widget panel, you will [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><img src="http://blog.silence.idv.tw/wp-content/uploads/2007/09/pvpw.jpg" alt="Post view plus widget 1.0.12" /></p>
<p>版本: 1.0.12<br />
相容於 <strong>Post View Plus 1.0.12</strong><br />
<span id="more-208"></span></p>
<h3>下載</h3>
<ul>
<li><a href="http://blog.silence.idv.tw/wp-content/uploads/2007/09/postviews_plus_widget1012.zip" >下載 1.0.12 版本</a></li>
</ul>
<h3>新功能?</h3>
<p>能夠自訂原始輸出文字：「User Views」 和「Views」</p>
<h3>如何使用新功能？</h3>
<ol>
<li>勾選 Overwrite output text</li>
<li>下方輸入方塊即可讓您輸入想要輸出的文字。</li>
<li>其餘請參考版本就版本 1.0.5 的<a href="http://blog.silence.idv.tw/2006/11/25/pluginpost-views-plus-widget/" >說明</a></li>
</ol>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<h3>English instruction:</h3>
<p>Version: 1.0.12<br />
Compatibility with <strong>Post View Plus 1.0.12</strong><strong> </strong></p>
<h3>download</h3>
<ul>
<li><a href="http://blog.silence.idv.tw/wp-content/uploads/2007/09/postviews_plus_widget1012.zip" >Download 1.0.12</a></li>
</ul>
<h3>What&#8217;s new?</h3>
<p>user will be able to change output text &#8220;User Views&#8221; or &#8220;Views&#8221; to what they want  even keep it empty.</p>
<h3>How to use new feature?</h3>
<ol>
<li>go to your widget panel, you will see &#8220;Top Posts&#8221;.</li>
<li>If you wanna replace the original text, just check the &#8220;Overwrite output text&#8221; option.</li>
<li>then the box below will be able to let you type what you want.</li>
<li>remember to save your change before leaving widget page.</li>
<li>please visit <a href="http://blog.silence.idv.tw/2006/11/25/pluginpost-views-plus-widget/" >here</a> to get more information about usage.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.silence.idv.tw/2007/09/27/post-view-plus-widget1012/feed</wfw:commentRss>
		</item>
		<item>
		<title>vSlider 3.0 is out</title>
		<link>http://blog.silence.idv.tw/2007/09/09/vslider-3-is-out</link>
		<comments>http://blog.silence.idv.tw/2007/09/09/vslider-3-is-out#comments</comments>
		<pubDate>Sun, 09 Sep 2007 07:30:44 +0000</pubDate>
		<dc:creator>SILENCE</dc:creator>
		
		<category><![CDATA[My Blog]]></category>

		<category><![CDATA[Wordpress theme]]></category>

		<category><![CDATA[Lightbox]]></category>

		<category><![CDATA[vSlider]]></category>

		<category><![CDATA[vSlider-Wide]]></category>

		<guid isPermaLink="false">http://blog.silence.idv.tw/2007/09/09/vslider-30-is-out/</guid>
		<description><![CDATA[原來 vSlider 3 已經發佈囉﹐連 for Gallery2 的 theme 也一起發佈。這次增加了許多功能（真的是很多）﹐作者真的挺用心的。
主要有&#8230;.

可以隨意調整頁面寬度！這意謂著偶不用再修改它為 wide 版本囉
自訂佈景主題顏色﹐圖示
頁首圖片可以自動出現 「圓角」﹐且可以自由調整高度（不用像現在這麼臃腫）
&#60;blockquote&#62;&#60;/blockquote&#62; 標籤會自動幫您加上引號圖示
可自訂頁尾
可自訂 sidebar 寬度
for Gallery2 的 theme 已經內建 Lightbox 特效！


▲3.0可自由調整佈景主題寬度！其他選項更是琳琅滿目
有興趣的朋友可以去 vSlider 3.0 官方網站下載！
3.0 中文化我已經幫大家完成﹐可以至 Download 頁面下載！
至於我則還沒有打算這麼快換到 3.0﹐因為加了太多東西至舊有的 theme 裡面了﹐要修改的地方還挺多的呢！
vSlider 3.0 所利用的「圓角」技術稱為 curvyCorners﹐原理為使用 javascript 把指定元件角落「圓角」化﹐有興趣可以至它的官方網站看看
]]></description>
			<content:encoded><![CDATA[<p>原來 vSlider 3 已經發佈囉﹐連 for Gallery2 的 theme 也一起發佈。這次增加了許多功能（真的是很多）﹐作者真的挺用心的。<br />
主要有&#8230;.<span id="more-159"></span></p>
<ul>
<li>可以隨意調整頁面寬度！這意謂著偶不用再修改它為 wide 版本囉</li>
<li>自訂佈景主題顏色﹐圖示</li>
<li>頁首圖片可以自動出現 「圓角」﹐且可以自由調整高度（不用像現在這麼臃腫）</li>
<li>&lt;blockquote&gt;&lt;/blockquote&gt; 標籤會自動幫您加上引號圖示</li>
<li>可自訂頁尾</li>
<li>可自訂 sidebar 寬度</li>
<li>for Gallery2 的 theme 已經內建 Lightbox 特效！</li>
</ul>
<div style="text-align: center"><img src="http://blog.silence.idv.tw/wp-content/uploads/2007/09/vslider3options.jpg" alt="vSlider 3.0 options panel" /><br />
<em>▲3.0可自由調整佈景主題寬度！其他選項更是琳琅滿目</em></div>
<p>有興趣的朋友可以去 vSlider 3.0 官方網站<a href="http://irui.ac/cool-stuff/vslider3" onclick="javascript:urchinTracker ('/outbound/article/irui.ac');">下載</a>！</p>
<p>3.0 中文化我已經幫大家完成﹐可以至 Download 頁面<a href="http://blog.silence.idv.tw/wp-content/uploads/2007/09/vslider3.zip" >下載</a>！</p>
<p>至於我則還沒有打算這麼快換到 3.0﹐因為加了太多東西至舊有的 theme 裡面了﹐要修改的地方還挺多的呢！</p>
<div class="box">vSlider 3.0 所利用的「圓角」技術稱為 curvyCorners﹐原理為使用 javascript 把指定元件角落「圓角」化﹐有興趣可以至它的<a href="http://www.curvycorners.net/" onclick="javascript:urchinTracker ('/outbound/article/www.curvycorners.net');">官方網站</a>看看</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.silence.idv.tw/2007/09/09/vslider-3-is-out/feed</wfw:commentRss>
		</item>
		<item>
		<title>Dreamhost 在搞啥?</title>
		<link>http://blog.silence.idv.tw/2007/02/12/dreamhost</link>
		<comments>http://blog.silence.idv.tw/2007/02/12/dreamhost#comments</comments>
		<pubDate>Sun, 11 Feb 2007 16:41:12 +0000</pubDate>
		<dc:creator>SILENCE</dc:creator>
		
		<category><![CDATA[Blog大事記]]></category>

		<category><![CDATA[My Blog]]></category>

		<category><![CDATA[dreamhost]]></category>

		<guid isPermaLink="false">http://blog.silence.idv.tw/2007/02/12/dreamhost/</guid>
		<description><![CDATA[話說今天下午明明好好的 Gallery，突然掛點，連進去變成「升級模式」，害我以為是不是被駭了，研究了老半天，才發現原來是 Dreamhost 把我的家目錄移動了位置，使得整個 Gallery2 相簿掛掉。
目前已經寫信去 Complain，若因為系統調整必須移動家目錄，也應該事先提醒一下 User 吧！在 Dreamhost 回信前，我看得先去 Gallery 官方網站研究一下移動目錄的 Q&#38;A 了&#8230;.:(
等不及 Dreamhost 的回信了，研究一下官方網站的Q&#38;A後，發覺還挺簡單的，原因就是儲存 Gallery照片檔案的資料夾「g2data」沒對應到正確的路徑，導致整個掛掉，儲存 g2data 路徑
就在 gallery/config.php 內，修改
$gallery-&#62;setConfig(&#8217;data.gallery.base&#8217;, &#8216;PATH TO g2data&#8217;)
到正確的位置即可，改完總算回復正常了。
]]></description>
			<content:encoded><![CDATA[<p><strong><font size="5">話</font></strong>說今天下午明明好好的 Gallery，突然掛點，連進去變成「升級模式」，害我以為是不是被駭了，研究了老半天，才發現原來是 Dreamhost 把我的家目錄移動了位置，使得整個 Gallery2 相簿掛掉。</p>
<p>目前已經寫信去 Complain，若因為系統調整必須移動家目錄，也應該事先提醒一下 User 吧！在 Dreamhost 回信前，我看得先去 Gallery 官方網站研究一下移動目錄的 Q&amp;A 了&#8230;.:(</p>
<div class="box">等不及 Dreamhost 的回信了，研究一下官方網站的Q&amp;A後，發覺還挺簡單的，原因就是儲存 Gallery照片檔案的資料夾「g2data」沒對應到正確的路徑，導致整個掛掉，儲存 g2data 路徑<br />
就在 gallery/config.php 內，修改<br />
$gallery-&gt;setConfig(&#8217;data.gallery.base&#8217;, &#8216;PATH TO g2data&#8217;)<br />
到正確的位置即可，改完總算回復正常了。</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.silence.idv.tw/2007/02/12/dreamhost/feed</wfw:commentRss>
		</item>
		<item>
		<title>升級至 Wordpress 2.1</title>
		<link>http://blog.silence.idv.tw/2007/01/27/wordpress-21</link>
		<comments>http://blog.silence.idv.tw/2007/01/27/wordpress-21#comments</comments>
		<pubDate>Fri, 26 Jan 2007 19:03:08 +0000</pubDate>
		<dc:creator>SILENCE</dc:creator>
		
		<category><![CDATA[Blog大事記]]></category>

		<category><![CDATA[My Blog]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.silence.idv.tw/2007/01/27/wordpress-21/</guid>
		<description><![CDATA[今天花了點時間將Wordpress Blog 從 2.0.7升級到 2.1﹐由於已經知道 Pagebar 這個Plugin會有相容性的問題﹐所以到作者網站當漏1.3.1版即可。
Plugin相容性:
以我的Blog內而言﹐需要更新的 plugin 為:

Pagebar（已發佈新版）
Postview Plus（已發佈新版）
UTW（尚未發佈）

tinymce 吃掉 &#60;div&#62; 標籤：
TinyMCE 改為 tabbed 的方式﹐可以快速切換原始碼﹐這功能自從用過了官方網站的 Blog 後﹐已經肖想很久了﹐不過居然帶來一點小麻煩﹐會吃掉&#60;div&#62;&#60;/div&#62;這個標籤﹐並且以&#60;p&#62;來取代﹐所以必須手動修改一下位在 wordpress/wp-incluede/js/tinymce 的 tiny_mce_config.php 檔：
於 24 行：
$valid_elements = &#8216;p/-div[*],-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]&#8216;;
將「p/-div[*],」去掉改成：
$valid_elements = &#8216;-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]&#8216;;
Post Formatting 問題：
另外 2.1 版本也順便更新了 wpautop 這個 function﹐會在輸出文章時﹐自動修改格式﹐所以也很要命的幫我把 &#60;div&#62;&#60;/div&#62; 標籤內自動加上 &#60;p&#62;&#60;/p&#62;﹐變成&#60;div&#62;&#60;p&#62;&#60;/p&#62;&#60;/div&#62;﹐這 function 在2.1版本是放在 wp-includes/formatting.php 內﹐只要把第 66 行的
$pee = preg_replace( &#8216;&#124;&#60;p&#62;(&#60;div[^&#62;]*&#62;\s*)&#124;&#8217;, &#8220;$1&#60;p&#62;&#8221;, $pee );
註解掉即可
TinyMCE 切換 visual, code 時會造成斷行格式亂掉
這問題似乎只會出現在 Firefox [...]]]></description>
			<content:encoded><![CDATA[<p><font size="5"><strong>今</strong></font>天花了點時間將Wordpress Blog 從 2.0.7升級到 2.1﹐由於已經知道 <a href="http://www.elektroelch.de/wp/pagebar.html" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.elektroelch.de');">Pagebar</a> 這個Plugin會有相容性的問題﹐所以到作者網站當漏1.3.1版即可。</p>
<h3>Plugin相容性:</h3>
<p>以我的Blog內而言﹐需要更新的 plugin 為:</p>
<ol>
<li>Pagebar（已發佈新版）</li>
<li>Postview Plus（已發佈新版）</li>
<li>UTW（尚未發佈）<span id="more-93"></span></li>
</ol>
<h3>tinymce 吃掉 &lt;div&gt; 標籤：</h3>
<p>TinyMCE 改為 tabbed 的方式﹐可以快速切換原始碼﹐這功能自從用過了官方網站的 Blog 後﹐已經肖想很久了﹐不過居然帶來一點小麻煩﹐會吃掉&lt;div&gt;&lt;/div&gt;這個標籤﹐並且以&lt;p&gt;來取代﹐所以必須手動修改一下位在 wordpress/wp-incluede/js/tinymce 的 tiny_mce_config.php 檔：<br />
於 24 行：</p>
<div align="center"><em>$valid_elements = &#8216;p/-div[*],-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]&#8216;;</em></div>
<p>將「<strong>p/-div[*],</strong>」去掉改成：</p>
<p align="center"><em>$valid_elements = &#8216;-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]&#8216;;</em></p>
<h3>Post Formatting 問題：</h3>
<p>另外 2.1 版本也順便更新了 wpautop 這個 function﹐會在輸出文章時﹐自動修改格式﹐所以也很要命的幫我把 &lt;div&gt;&lt;/div&gt; 標籤內自動加上 &lt;p&gt;&lt;/p&gt;﹐變成&lt;div&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;﹐這 function 在2.1版本是放在 wp-includes/formatting.php 內﹐只要把第 66 行的</p>
<div align="center"><em>$pee = preg_replace( &#8216;|&lt;p&gt;(&lt;div[^&gt;]*&gt;\s*)|&#8217;, &#8220;$1&lt;p&gt;&#8221;, $pee );</em></div>
<p>註解掉即可</p>
<h3>TinyMCE 切換 visual, code 時會造成斷行格式亂掉</h3>
<p>這問題似乎只會出現在 Firefox 身上﹐使用 IE 就不會﹐這我沒找到原因﹐但使用 <a href="http://blog.daydream.idv.tw/" target="_blank" >冰漾</a> 所修改的 <a href="http://www.robbin.cc/vb/showthread.php?t=501&amp;highlight=tinymce" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.robbin.cc');">TinyMCE 完整版</a> 後就沒這個問題了！</p>
<p>希望以上對有遇類似問題的朋友們有幫助</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.silence.idv.tw/2007/01/27/wordpress-21/feed</wfw:commentRss>
		</item>
		<item>
		<title>升級至 Wordpress 2.0.7</title>
		<link>http://blog.silence.idv.tw/2007/01/16/wordpress-207</link>
		<comments>http://blog.silence.idv.tw/2007/01/16/wordpress-207#comments</comments>
		<pubDate>Tue, 16 Jan 2007 13:01:00 +0000</pubDate>
		<dc:creator>SILENCE</dc:creator>
		
		<category><![CDATA[Blog大事記]]></category>

		<category><![CDATA[My Blog]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.silence.idv.tw/2007/01/16/%e5%8d%87%e7%b4%9a%e8%87%b3-wordpress-207/</guid>
		<description><![CDATA[剛升級完 2.0.6 不久﹐Wordpress 又推出了 2.0.7﹐修正了一些安全性和 Feedburner 的 bug
這次升級比較簡單﹐只要下載最新的 2.0.7 ﹐並覆蓋以下的檔案即可。

wp-admin/inline-uploading.php
wp-admin/post.php
wp-includes/classes.php
wp-includes/functions.php
wp-settings.php
wp-includes/version.php

若偶的 Blog 有出現異狀麻煩回報﹐感恩
]]></description>
			<content:encoded><![CDATA[<p><font size="5"><strong>剛</strong></font>升級完 2.0.6 不久﹐Wordpress 又推出了 <a href="http://wordpress.org/development/2007/01/wordpress-207/"target="_blank"  onclick="javascript:urchinTracker ('/outbound/article/wordpress.org');">2.0.7</a>﹐修正了一些安全性和 Feedburner 的 bug<br />
這次升級比較簡單﹐只要<a href="http://wordpress.org/latest.zip"target="_blank"  onclick="javascript:urchinTracker ('/outbound/article/wordpress.org');">下載</a>最新的 2.0.7 ﹐並覆蓋以下的檔案即可。</p>
<ul>
<li>wp-admin/inline-uploading.php</li>
<li>wp-admin/post.php</li>
<li>wp-includes/classes.php</li>
<li>wp-includes/functions.php</li>
<li>wp-settings.php</li>
<li>wp-includes/version.php</li>
</ul>
<p>若偶的 Blog 有出現異狀麻煩回報﹐感恩</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.silence.idv.tw/2007/01/16/wordpress-207/feed</wfw:commentRss>
		</item>
		<item>
		<title>[Plugin]Post Views Plus Widget</title>
		<link>http://blog.silence.idv.tw/2006/11/25/pluginpost-views-plus-widget</link>
		<comments>http://blog.silence.idv.tw/2006/11/25/pluginpost-views-plus-widget#comments</comments>
		<pubDate>Sat, 25 Nov 2006 09:36:23 +0000</pubDate>
		<dc:creator>SILENCE</dc:creator>
		
		<category><![CDATA[My Blog]]></category>

		<category><![CDATA[Plugin]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.silence.idv.tw/2006/11/25/pluginpost-views-plus-widget/</guid>
		<description><![CDATA[
請造訪新版本 1.0.12 的說明網頁

在Whatup 的 Blog 內看到一篇關於 Widget 實作的教學文章，於是嘗試著挑了一個 Plugin 來實作 Widget，此 Plugin 為 Post Views Plus，可計算 Blog 內的文章被閱讀的次數。當然要能使用 Widget﹐必須先安裝 Widget Plugin： Sidebar Widget。

下載與安裝

下載並放到 wp-content\plugins 資料夾內
啟用！

設定
在後台的「外觀」內﹐可找到「Sidebar Widgets」選項﹐在裡面找到 Top Posts﹐拖曳後可進行下列設定
因 Post Views Plus 這個 Plugin 提供了兩個 function：

可抓出被閱讀最多次數的 Posts：get_most_viewed()
設定在幾天內被閱讀最多次數的 Posts：get_timespan_most_viewed()

因此 Widget 將利用這兩個 function﹐可設定的選項也是依照這兩個 function 來設計﹐設定畫面如下：


Display Mode: 選擇是否要包含 Post, Page 還是兩者皆是
Title : 設定此 Widget 顯示在 sidebar 的標題
Top Posts Number: [...]]]></description>
			<content:encoded><![CDATA[<div class="box">
請造訪新版本 1.0.12 的<a href="http://blog.silence.idv.tw/2007/09/27/post-view-plus-widget1012/" >說明網頁</a>
</div>
<p><font size="5"><strong>在</strong></font>Whatup 的 Blog 內看到一篇關於 Widget 實作的<a href="http://blog.twkang.net/2006/04/27/%e5%a6%82%e4%bd%95%e5%af%a6%e4%bd%9c%e4%b8%80%e5%80%8b-widget/" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/blog.twkang.net');">教學文章</a>，於是嘗試著挑了一個 Plugin 來實作 Widget，此 Plugin 為 <a href="http://www.yangshome.com/blog/wp_postviews_plus/" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.yangshome.com');">Post Views Plus</a>，可計算 Blog 內的文章被閱讀的次數。當然要能使用 Widget﹐必須先安裝 Widget Plugin： <a href="http://automattic.com/code/widgets/" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/automattic.com');">Sidebar Widget</a>。</p>
<p><span id="more-67"></span></p>
<h3>下載與安裝</h3>
<ol>
<li><a href="http://blog.silence.idv.tw/wp-content/uploads/2006/11/postviews_plus_widget.zip" >下載</a>並放到 wp-content\plugins 資料夾內</li>
<li>啟用！</li>
</ol>
<h3>設定</h3>
<p>在後台的「外觀」內﹐可找到「Sidebar Widgets」選項﹐在裡面找到 Top Posts﹐拖曳後可進行下列設定<br />
因 Post Views Plus 這個 Plugin 提供了兩個 function：</p>
<ol>
<li><strong>可抓出被閱讀最多次數的 Posts：</strong><em>get_most_viewed()</em></li>
<li><strong>設定在幾天內被閱讀最多次數的 Posts：</strong><em>get_timespan_most_viewed()</em></li>
</ol>
<p>因此 Widget 將利用這兩個 function﹐可設定的選項也是依照這兩個 function 來設計﹐設定畫面如下：</p>
<p><img src="http://blog.silence.idv.tw/wp-content/uploads/2006/11/post_view_plus_widget.JPG" id="image68" alt="Post View Plus Widget" /></p>
<ul>
<li><strong>Display Mode:</strong> 選擇是否要包含 Post, Page 還是兩者皆是</li>
<li><strong>Title :</strong> 設定此 Widget 顯示在 sidebar 的標題</li>
<li><strong>Top Posts Number:</strong> 設定文章數量</li>
<li><strong>Posts Title Length: </strong>文章標題長度</li>
<li><strong>Post in Last Days:</strong> 設定幾天內的文章進行排名﹐若設 0 則為全部的文章排名</li>
<li><strong>Include Bot views:</strong> 因 Post Views Plus 有分開 bot 閱讀文章的次數﹐選擇是否包含之</li>
</ul>
<p>若在使用上遇到相關問題或是 Bug﹐請盡量詢問或是回報﹐感謝 <img src='http://blog.silence.idv.tw/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.silence.idv.tw/2006/11/25/pluginpost-views-plus-widget/feed</wfw:commentRss>
		</item>
		<item>
		<title>Gallery2 with Lightbox Effect</title>
		<link>http://blog.silence.idv.tw/2006/11/03/gallery2-lightbox</link>
		<comments>http://blog.silence.idv.tw/2006/11/03/gallery2-lightbox#comments</comments>
		<pubDate>Fri, 03 Nov 2006 14:25:06 +0000</pubDate>
		<dc:creator>SILENCE</dc:creator>
		
		<category><![CDATA[My Blog]]></category>

		<category><![CDATA[Wordpress theme]]></category>

		<category><![CDATA[Gallery2]]></category>

		<category><![CDATA[Lightbox]]></category>

		<category><![CDATA[vSlider]]></category>

		<category><![CDATA[vSlider-Wide]]></category>

		<guid isPermaLink="false">http://blog.silence.idv.tw/2006/11/03/gallery2-lightbox/</guid>
		<description><![CDATA[今天改了些東西﹐使我的相簿（Gallery2 系統）可以有 Lightbox 的特效
這樣有以下的優點:

炫﹐不然用 Lightbox 做啥 XD
快! 不用為了一張照片而去讀取 Gallery2 整個 PHP 頁面

效果的 Demo 可以看這裡
 若有興趣的人﹐可以參考我的做法
 記住！只適用：

您必須安裝了 vSlider2 for Gallery2這個 theme
Wordpress 必須安裝 WP lightbox 2

安裝方法：

先下載 WP-Lightbox2 這個 plugin。
啟用此 Plugin
在您的 gallery2\themes\vSlider2\templates 資料夾內﹐新增名為 local 資料夾
下載 album.tpl 檔案﹐並放至 local 資料夾底下
完成！

For those who don&#8217;t know Chinese:
This page will teach you how to integrate Lightbox into your Gallery2!
you can see demo [...]]]></description>
			<content:encoded><![CDATA[<p>今天改了些東西﹐使我的相簿（Gallery2 系統）可以有 Lightbox 的特效<br />
這樣有以下的優點:</p>
<ul>
<li>炫﹐不然用 Lightbox 做啥 XD</li>
<li>快! 不用為了一張照片而去讀取 Gallery2 整個 PHP 頁面</li>
</ul>
<p>效果的 Demo 可以看<a href="http://blog.silence.idv.tw/v/scenery/20060704/"target="_blank"  ><strong>這裡</strong></a><br />
<a href="http://blog.silence.idv.tw/v/scenery/20060704/"target="_blank"  > <span id="more-48"></span></a>若有興趣的人﹐可以參考我的做法<br />
<strong> 記住！只適用：</strong></p>
<ul>
<li>您必須安裝了 vSlider2 for Gallery2這個 theme</li>
<li>Wordpress 必須安裝 <strong><a href="http://zeo.unic.net.my/notes/lightbox-js-version-20/" onclick="javascript:urchinTracker ('/outbound/article/zeo.unic.net.my');">WP lightbox 2</a></strong></li>
</ul>
<p><strong>安裝方法：</strong></p>
<ol>
<li>先下載 <a href="http://zeo.unic.net.my/downloads/wp-lightbox2.zip"target="_blank"  onclick="javascript:urchinTracker ('/outbound/article/zeo.unic.net.my');">WP-Lightbox2</a> 這個 plugin。</li>
<li>啟用此 Plugin</li>
<li>在您的 gallery2\themes\vSlider2\templates 資料夾內﹐新增名為 local 資料夾</li>
<li>下載 <a href="http://blog.silence.idv.tw/album.zip" >album.tpl </a>檔案﹐並放至 local 資料夾底下</li>
<li>完成！</li>
</ol>
<h3>For those who don&#8217;t know Chinese:</h3>
<p>This page will teach you how to integrate Lightbox into your Gallery2!<br />
you can see <a href="http://blog.silence.idv.tw/v/scenery/20060704/"target="_blank"  >demo</a> here<br />
I think you will have the following advantages of using LightBox Effect in your Gallery2</p>
<ul>
<li>Cool! (sure, that&#8217;s why you choose Lightbox)</li>
<li>Fast browsing speed! (opening PHP page to view a photo waste your life!)</li>
</ul>
<p><strong>Requirements:</strong></p>
<ul>
<li>already install this theme: <a href="http://irui.ac/cool-stuff/vslider2-g2/"target="_blank"  onclick="javascript:urchinTracker ('/outbound/article/irui.ac');">vSlider2 for Gallery2</a></li>
<li>install the plugin for wordpress: <a href="http://zeo.unic.net.my/notes/lightbox-js-version-20/"target="_blank"  onclick="javascript:urchinTracker ('/outbound/article/zeo.unic.net.my');">WP-Lightbox</a></li>
</ul>
<p><strong>Installation:</strong></p>
<ol>
<li>download <a href="http://zeo.unic.net.my/downloads/wp-lightbox2.zip"target="_blank"  onclick="javascript:urchinTracker ('/outbound/article/zeo.unic.net.my');">WP-Lightbox2</a> plugin for wordpress and activate it</li>
<li>make a directory named &#8220;local&#8221; in gallery2\themes\vSlider2\templates</li>
<li>download <a href="http://blog.silence.idv.tw/album.zip" >album.tpl</a> and put it into &#8220;local&#8221; directory you made in the previous step</li>
<li>done!</li>
</ol>
<p>Feel free to ask me the question <img src='http://blog.silence.idv.tw/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.silence.idv.tw/2006/11/03/gallery2-lightbox/feed</wfw:commentRss>
		</item>
		<item>
		<title>Dreamhost 的服務品質</title>
		<link>http://blog.silence.idv.tw/2006/11/01/dreamhost-service-quality</link>
		<comments>http://blog.silence.idv.tw/2006/11/01/dreamhost-service-quality#comments</comments>
		<pubDate>Wed, 01 Nov 2006 08:39:43 +0000</pubDate>
		<dc:creator>SILENCE</dc:creator>
		
		<category><![CDATA[Blog大事記]]></category>

		<category><![CDATA[My Blog]]></category>

		<guid isPermaLink="false">http://blog.silence.idv.tw/2006/11/01/dreamhost-service-quality/</guid>
		<description><![CDATA[從今年十月初申請 Dreamhost 兩年方案到現在﹐
對於 Dreamhost server 執行 PHP 速度不是很滿意
但若是跑靜態網頁就還不錯﹐且用 Hinet 8M ADSL﹐平均單點下載檔案也能有 2xx KB/s
比較誇張像是 Wordpress﹐後台在慢的時候連開啟都要等個五、六秒。
甚至還會跑到十幾秒才能開啟完成﹐看一下這張截圖

上面這張 screenshot  的 Wordpress 才剛安裝完成﹐且沒裝任何 plugin..
跑了將近 12 秒 >_< 這只是 Wordpress 基本頁面哩！

等久了耐性可是會沒的..所以我就一直跟客服 Complain, 而他們也答應幫我換台 Server
而其中我提出是否可以換到我指定的 Server 上﹐
因為 馬修Blog 和 Goston Blog 都是放在 dremhost 上
瀏覽起來的速度比我順暢許多﹐但 dreamhost 卻說因為是不同的 Cluster, 所以不能..
好吧﹐那我也就死心啦 XD
換到現在已經換了第二次囉﹐同時我也裝了 WP-Cache﹐希望瀏覽速度希望能順暢點。
若各位依然覺得慢﹐希望能包涵一下～



若有使用 dreamhost 的朋友﹐麻煩能回報一下狀況﹐感謝
偶的 Server 遷徙狀況: Smithers -> Zim -> Carl
各位朋友若覺得「慢」或「快」也可以寫下面的回應告知我一聲
最好能告知一下網路頻寬﹐感謝



]]></description>
			<content:encoded><![CDATA[<p>從今年十月初申請 Dreamhost 兩年方案到現在﹐<br />
對於 Dreamhost server 執行 PHP 速度不是很滿意<br />
但若是跑靜態網頁就還不錯﹐且用 Hinet 8M ADSL﹐平均單點下載檔案也能有 2xx KB/s</p>
<p>比較誇張像是 Wordpress﹐後台在慢的時候連開啟都要等個五、六秒。<br />
甚至還會跑到十幾秒才能開啟完成﹐看一下這張截圖<span id="more-41"></span></p>
<p><span class="imagelink"><a href="http://blog.silence.idv.tw/wp-content/uploads/2006/11/slow.GIF"class="imagelink" title="Slow Dreamhost"  rel="lightbox" ><img id="image45" alt="Slow Dreamhost" src="http://blog.silence.idv.tw/wp-content/uploads/2006/11/slow.thumbnail.GIF" /></a><br />
上面這張 screenshot  的 Wordpress 才剛安裝完成﹐且沒裝任何 plugin..<br />
跑了將近 12 秒 >_< 這只是 Wordpress 基本頁面哩！<br />
</span></p>
<p>等久了耐性可是會沒的..所以我就一直跟客服 Complain, 而他們也答應幫我換台 Server<br />
而其中我提出是否可以換到我指定的 Server 上﹐<br />
因為 <a href="http://blog.mashow.tw"target="_blank"  onclick="javascript:urchinTracker ('/outbound/article/blog.mashow.tw');">馬修Blog</a> 和 <a href="http://www.goston.net/"target="_blank"  onclick="javascript:urchinTracker ('/outbound/article/www.goston.net');">Goston Blog</a> 都是放在 dremhost 上<br />
瀏覽起來的速度比我順暢許多﹐但 dreamhost 卻說因為是不同的 Cluster, 所以不能..<br />
好吧﹐那我也就死心啦 XD</p>
<p>換到現在已經換了第二次囉﹐同時我也裝了 WP-Cache﹐希望瀏覽速度希望能順暢點。<br />
若各位依然覺得慢﹐希望能包涵一下～</p>
<blockquote>
<div class="blockquote-inner">
<ul>
<li>若有使用 dreamhost 的朋友﹐麻煩能回報一下狀況﹐感謝</li>
<li>偶的 Server 遷徙狀況: Smithers -> Zim -> Carl</li>
<li>各位朋友若覺得「慢」或「快」也可以寫下面的回應告知我一聲<br />
最好能告知一下網路頻寬﹐感謝</li>
</ul>
</div>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.silence.idv.tw/2006/11/01/dreamhost-service-quality/feed</wfw:commentRss>
		</item>
		<item>
		<title>更改 MySQL 資料庫編碼</title>
		<link>http://blog.silence.idv.tw/2006/10/31/%e6%9b%b4%e6%94%b9-mysql-%e8%b3%87%e6%96%99%e5%ba%ab%e7%b7%a8%e7%a2%bc</link>
		<comments>http://blog.silence.idv.tw/2006/10/31/%e6%9b%b4%e6%94%b9-mysql-%e8%b3%87%e6%96%99%e5%ba%ab%e7%b7%a8%e7%a2%bc#comments</comments>
		<pubDate>Tue, 31 Oct 2006 05:27:03 +0000</pubDate>
		<dc:creator>SILENCE</dc:creator>
		
		<category><![CDATA[My Blog]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[dreamhost]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[編碼]]></category>

		<guid isPermaLink="false">http://blog.silence.idv.tw/2006/10/31/%e6%9b%b4%e6%94%b9-mysql-%e8%b3%87%e6%96%99%e5%ba%ab%e7%b7%a8%e7%a2%bc/</guid>
		<description><![CDATA[由於剛申請 Dreamhost 不久後﹐便匆匆忙忙搞 Blog﹐相簿搬移和設定
卻忘記注意 MySQL 編碼﹐後來在安裝 Ultimate Tag Warrior 這個 Plugin 時
發現有點不正常﹐去 check 後﹐才發覺了是編碼的問題&#8230;..
原來 Dreamhost 建立 database 的預設編碼是 latin1
而不是 utf8。搞得在 phpmyadmin 內看到的都是亂碼 XD
所以就得花點時間做轉換了。
以下為轉換步驟：

啟用 wordpress 內建的 database backup plugin﹐並做備份
將備份完的 .sql 開啟（記得用有支援 UTF-8 的編輯器）
將檔案內所有的
「DEFAULT CHARSET=latin1」
改為
「DEFAULT CHARSET=utf8」
將檔案內所有的
「COLLATE=latin1_bin」
改為
「COLLATE=utf8_general_ci」
存檔
由 dreamhost 的 panel 新建立一個 databse
將此新建的 database 「校對」改為 utf8_general_ci
（phpmysqladmin 此選項在點了資料庫後的「管理」內）
使用 phpmyadmin 的「載入」功能將您的 .sql 檔案載入
更改 wordpress/wp-config.php 內新資料庫的名稱
（因為 dreamhost 不允許 user 於 phpmyadmin 改資料庫名字）

以上便大功告成！
若您用瀏覽器開啟 [...]]]></description>
			<content:encoded><![CDATA[<p>由於剛申請 Dreamhost 不久後﹐便匆匆忙忙搞 Blog﹐相簿搬移和設定<br />
卻忘記注意 MySQL 編碼﹐後來在安裝 <a href="http://www.neato.co.nz/ultimate-tag-warrior/"target="_blank"  onclick="javascript:urchinTracker ('/outbound/article/www.neato.co.nz');">Ultimate Tag Warrior</a> 這個 Plugin 時<br />
發現有點不正常﹐去 check 後﹐才發覺了是編碼的問題&#8230;..<br />
原來 Dreamhost 建立 database 的預設編碼是 latin1<br />
而不是 utf8。搞得在 phpmyadmin 內看到的都是亂碼 XD<br />
所以就得花點時間做轉換了。</p>
<p>以下為轉換步驟：<span id="more-39"></span></p>
<ol>
<li>啟用 wordpress 內建的 database backup plugin﹐並做備份</li>
<li>將備份完的 .sql 開啟（記得用有支援 UTF-8 的編輯器）</li>
<li>將檔案內<strong>所有的</strong><br />
「DEFAULT CHARSET=latin1」<br />
改為<br />
「DEFAULT CHARSET=utf8」</li>
<li>將檔案內<strong>所有的<br />
</strong>「COLLATE=latin1_bin」<br />
改為<br />
「COLLATE=utf8_general_ci」</li>
<li>存檔</li>
<li>由 dreamhost 的 panel 新建立一個 databse</li>
<li>將此新建的 database 「校對」改為 utf8_general_ci<br />
（phpmysqladmin 此選項在點了資料庫後的「管理」內）</li>
<li>使用 phpmyadmin 的「載入」功能將您的 .sql 檔案載入</li>
<li>更改 wordpress/wp-config.php 內新資料庫的名稱<br />
（因為 dreamhost 不允許 user 於 phpmyadmin 改資料庫名字）</li>
</ol>
<p>以上便大功告成！<br />
若您用瀏覽器開啟 blog 後發現都是亂碼﹐請照下面步驟</p>
<ol>
<li>開啟 wordpress/wp-include/wp-db.php</li>
<li>找尋「$this->dbh = @mysql_connect($dbhost, $dbuser, $dbpassword);」</li>
<li>在此行下面加上
<pre><code>「$this->query("SET NAMES 'utf8'");」（注意別加上引號了）</code></pre>
</li>
</ol>
<p>這樣應該是能解決囉 <img src='http://blog.silence.idv.tw/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.silence.idv.tw/2006/10/31/%e6%9b%b4%e6%94%b9-mysql-%e8%b3%87%e6%96%99%e5%ba%ab%e7%b7%a8%e7%a2%bc/feed</wfw:commentRss>
		</item>
	</channel>
</rss>

