<?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>筍子工作雜記 &#187; wordpress</title>
	<atom:link href="http://twycf.com/wordpress/archives/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://twycf.com/wordpress</link>
	<description>工作、休閒之類的雜記</description>
	<lastBuildDate>Wed, 18 Nov 2009 15:20:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>文章分類以階層的方式顯示</title>
		<link>http://twycf.com/wordpress/archives/95</link>
		<comments>http://twycf.com/wordpress/archives/95#comments</comments>
		<pubDate>Thu, 18 May 2006 03:01:13 +0000</pubDate>
		<dc:creator>shinnlu</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://twycf.com/wordpress/archives/95</guid>
		<description><![CDATA[WordPress 的文章分類在某些模板下並不會把所有的分類顯示出來，以本部落格為例
文章分類: &#160;Uncategorized &#160;Programming &#160;FreeBSD &#160;旅遊記事 &#160;wordpress &#160;Windows &#160;Linux
而在 WordPress Support則有說明如何在文章分類時以階層的方式顯示
修改 sidebar.php
將 &#60;?php wp_list_cats(); ?&#62;改成 &#60; ? php wplistcats('sortcolumn=name&#38; hide_empty=0&#38; optioncount=1'); ?&#62;
修改完成後，即可看到文章分類己經依照管理介面設定的階層方式來顯示
文章分類: &#160;Uncategorized (11)&#160;Programming (1)&#160;&#160; PHP (0)&#160;&#160; C++ (0)&#160;FreeBSD (8)&#160;&#160; shell (0)&#160;&#160; tips (0)&#160;旅遊記事 (1)&#160;wordpress (5)&#160;Windows (3)&#160;&#160; Services (0)&#160;Linux (2)&#160;硬體 (0)
如果要隱藏沒有文章的分類，則是將 hide_empty 設為 1
]]></description>
		<wfw:commentRss>http://twycf.com/wordpress/archives/95/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress 輕鬆播放影片 &#8211; CoolPlayer</title>
		<link>http://twycf.com/wordpress/archives/94</link>
		<comments>http://twycf.com/wordpress/archives/94#comments</comments>
		<pubDate>Wed, 17 May 2006 15:02:13 +0000</pubDate>
		<dc:creator>shinnlu</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://twycf.com/wordpress/archives/94</guid>
		<description><![CDATA[有時候想要在自己的部落格上放一些影片，但一般人不會為了播放影片去學習網頁內嵌影片的語法，那實在是太麻煩了，所以我們要借助 Plugin 的“隨插即用“的能力，為部落格注入一股活力。
以下內容轉載自 CoolCode.CN
&#8212;&#8211;
客户端要求：
Windows 客户端需要安装 Windows Media Player，Real Player，QuickTime，Flash Player 等播放器或者其它支持这些格式的播放器，及其相应的浏览器插件（一般安装了这些播放器以后，相应的浏览器插件就安装了）。
Linux 客户端需要安装 MPlayer，VLC Player，Real Player，Flash Player 播放器及其浏览器插件。
上面这些播放器不一定都需要安装，用户可以根据自己的习惯选择自己喜欢的播放器。更多细节请参见 网页内嵌多媒体内容的完美实现 一文。
安装
安装很简单，下载 coolplayer.zip 然后直接解压缩到 WordPress 的插件目录下，然后在后台激活该插件就可以了。
如果你想使用自己服务器上的 RPC 服务器的话，可以单独下载 coolplayer_rpc.zip，然后解压缩到 WordPress 的插件目录下，然后将 coolplayer.js 文件中的 
coolplayer_rpc.use_service(&#8217;http://coolcode.cn/wp-content/plugins/coolplayer/rpc.php&#8217;);
这句中的路径改为你网站的中绝对路径即可。
使用範例：
&#60;coolplayer width=&#34;640&#34; height=&#34;480&#34; charset=&#34;GBK&#34; autoplay=&#34;false&#34; loop=&#34;true&#34;&#62;&#60;a href=&#34;http://video.google.com/videoplay?docid=8807904280485126995&#34;&#62;冬季恋歌&#60;/a&#62;&#60;a href=&#34;http://www.vsocial.com/video/?d=5255&#34;&#62;Bugs bunny cartoon on family guy&#60;/a&#62;&#60;a href=&#34;http://www.youtube.com/w/funny-as-hell?v=rPw-BwnW7Qs&#34;&#62;Funny as hell&#60;/a&#62;&#60;a href=&#34;/wp-content/upload/【北大教授健康讲座】/a.rm&#34;&#62;【北大教授健康讲座】-1&#60;/a&#62;&#60;a href=&#34;/wp-content/upload/【北大教授健康讲座】/b.rm&#34;&#62;【北大教授健康讲座】-2&#60;/a&#62;&#60;a href=&#34;http://www.bindows.net.cn/documentation/download/Bindows Manual.pdf&#34;&#62;Bindows 中文手册&#60;/a&#62;http://www.coolcode.cn/wp-content/upload/photo/andot.jpg/wp-content/upload/舞女的纯情-夜来香.wmv/wp-content/upload/童话.mp3/wp-content/upload/video.flv/wp-content/upload/我不想说我是鸡.swfhttp://download.coolcode.cn/coolplayer.zip&#60;/coolplayer&#62;
上面 width，height，charset， autoplay 和 loop [...]]]></description>
		<wfw:commentRss>http://twycf.com/wordpress/archives/94/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>垃圾、廣告 攻防戰 &#8211; 方便與效率的選擇</title>
		<link>http://twycf.com/wordpress/archives/58</link>
		<comments>http://twycf.com/wordpress/archives/58#comments</comments>
		<pubDate>Tue, 09 May 2006 12:30:48 +0000</pubDate>
		<dc:creator>shinnlu</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://twycf.com/wordpress/archives/58</guid>
		<description><![CDATA[垃圾信和廣告信一向是大多人感到非常厭惡的東西，但是你的生活中卻往往&#8221;少不了&#8221;它，而腦筋動的快的生意人馬上想到要拓展市場，由電子郵件到論壇、Blog、留言版、討論區，在我們的國家尚未完成立法之前，我們必需持續這一場曠加持久的攻防戰。
在目前的 Blog 中，有幾種過濾廣告信的方式，而這幾種方式都各有優缺點，如何取決就看個人需求了
1.開啟手動過濾留言
過濾程度：100%
缺點：部落格上其他網友的互動會顯得比較緩慢(由於採用手動過濾)
2.加上留言驗證碼
過濾程度：???%
但是要裝之前，請先參考 PWNtcha &#8211; captcha decoder ，不要裝了可以被反解的驗證碼而毫無效果
3.讓機器人對付機器人
這也是目前本部落格採用的方式，既然你用機器人來發放廣告，那我也用機器人對付你，Spam Karma 2 垃圾廣告的救星(不要搞錯了，是把眾部落格從垃圾廣告中救出來)，而這個 Plugin 安裝非常方便，三個步驟完成安裝
下載 &#60;a href=&#34;http://wp-plugins.net/sk2/sk2_final.zip&#34;&#62;Spam Karma 2&#60;/a&#62;
將檔案解壓縮到 wp-content/plugin/SK2
在外掛選單中啟用 Spam Karma 2
即完成 Spam Karma 2 的安裝，接下來就可以讓 Spam Karma 2 幫你打這場惡仗
&#8212;&#8211;
這一陣子試用後，共收到兩個垃圾廣告，第一個廣告因為犯罪心理的湮滅證據心態，一看到垃圾廣告時，就手忙腳亂的把他刪掉，這一次就知道應該把垃圾信回報給 Spam Karma 2，讓Spam Karma 2下次能知道這是垃圾廣告。

]]></description>
		<wfw:commentRss>http://twycf.com/wordpress/archives/58/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>訪客計數器</title>
		<link>http://twycf.com/wordpress/archives/62</link>
		<comments>http://twycf.com/wordpress/archives/62#comments</comments>
		<pubDate>Tue, 09 May 2006 12:00:47 +0000</pubDate>
		<dc:creator>shinnlu</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://twycf.com/wordpress/archives/62</guid>
		<description><![CDATA[在餅乾大事紀 那兒看到了一個純文字的訪客計數器 Counterize，可以顯示的參數相當多，您可以參考本站下方
Total Hits:37 &#124; Total Hits Today:2 &#124; IP Visited:29 &#124; Unique referers:17Total Hit:本站點擊數Total Hits Today:今日點擊數IP Visited:IP 訪問數Unique referers:被連結數
而這一個 Plug-in 的安裝方式可以參考 Counterize Installation，或是參考本站的安裝說明：
1.先取得 Counterize 原始程式(另存新檔後，存為 counterize.php)，並放至 wp-content/plugins/Counterize
2.取得以下四個圖檔，並存至 wp-content/plugins/Counterize 目錄下
image1 &#124; image2 &#124; image3 &#124; image4
3.在管理頁面啟用這個 Plugin
4.啟用後可能會遇到錯誤訊息，那是因為記錄 Countrize 資料表沒有被正確建立，這時候需要進入資料庫手動建立 Countrize 資料表
create table %sCounterize(&#160; id integer not null auto_increment,&#160; IP varchar(16) not null default 'unknown',&#160; timestamp [...]]]></description>
		<wfw:commentRss>http://twycf.com/wordpress/archives/62/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>網頁直接內籤聊天室，不用改程式碼</title>
		<link>http://twycf.com/wordpress/archives/54</link>
		<comments>http://twycf.com/wordpress/archives/54#comments</comments>
		<pubDate>Fri, 05 May 2006 17:50:17 +0000</pubDate>
		<dc:creator>shinnlu</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://twycf.com/wordpress/archives/54</guid>
		<description><![CDATA[今天在 PCDVD 上面看到一個有趣的東西，可以讓你的網頁直接擁有線上聊天室，完全不用更改程式碼，使用的方式為
http://gabbly.com/http://yourhostname.com/
比如本 blog 如果要加入聊天室，只要輸入以下連結，就可以無痛擁有聊天室了
http://gabbly.com/http://twycf.com/wordpress/
在gabbly 主站上還有 Gabbers 地圖顯示其他人在什麼地方，不知道在其他站要怎麼弄出來
大家一起來聊天吧

]]></description>
		<wfw:commentRss>http://twycf.com/wordpress/archives/54/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CoolCode</title>
		<link>http://twycf.com/wordpress/archives/31</link>
		<comments>http://twycf.com/wordpress/archives/31#comments</comments>
		<pubDate>Sat, 15 Apr 2006 14:37:43 +0000</pubDate>
		<dc:creator>shinnlu</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://twycf.com/wordpress/archives/31</guid>
		<description><![CDATA[為了讓網頁內容、程式碼更美觀，裝了 CoolCode 這一個 plugin，在這裡做一個語法記錄，免的每次都要跑去 CoolCode 官方網站查語法。
CoolCode 使用方法
首先，下载并解压缩到您的 WordPress 插件，然后在您的 WordPress 中激活该插件就可以了。
本想给本插件增加对所见即所得编辑器支持的功能，后来经测试发现，所见即所得编辑器本身有太多问题，他无法将代码正确保存到数据库中。因此目前取消了对所见即所得编辑器支持的功能。
所以如果你要使用本插件，请将 将 WordPress “选项”—>“写作”—>“自动修正错误的内嵌式 XHTML 语法”禁用，并在选项和用户中把所见即所得编辑器关掉，然后使用以下语法即可。
注意：目前方括号语法和尖括号语法等效，但不保证以后同样有效，推荐使用尖括号语法！
使用的语法是：
&#60;coolcode&#62;代码&#60;/coolcode&#62;
如果要加亮具体的语言，可以用 lang 属性来指定：
&#60;coolcode lang=&#34;程序设计语言&#34;&#62;代码&#60;/coolcode&#62;
如果不需要行号，可以使用 linenum 属性来指定：
&#60;coolcode lang=&#34;程序设计语言&#34; linenum=&#34;off&#34;&#62;代码&#60;/coolcode&#62;
如果希望可以直接以文件下载代码，可以使用 download 属性来指定：
下载: example.txt
&#60;coolcode lang=&#34;程序设计语言&#34; download=&#34;文件名.扩展名&#34;&#62;代码&#60;/coolcode&#62;
这三个属性可以组合使用，互不影响。
目前支持的程序设计语言有：
actionscript
cpp
css
diff
dtd
html
java
javascript
mysql
perl
php
python
ruby
sql
xml
&#19979;&#36733;: coolcode.js下载: coolcode.js
function&#160;linenumber(o) {
&#160; &#160; if&#160;(o.className == &#34;hl-main ln-hide&#34;) {
&#160; &#160; &#160; &#160; o.title = &#34;Double click to hide line number.&#34;;
&#160; &#160; &#160; &#160; o.className = &#34;hl-main ln-show&#34;;
&#160; [...]]]></description>
		<wfw:commentRss>http://twycf.com/wordpress/archives/31/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

