<?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://poshi.org/post/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://poshi.org</link>
	<description>街邊花開荼蘼，你平凡鏡頭徒掃詩意！（Poshi）</description>
	<lastBuildDate>Fri, 16 Jul 2010 13:56:34 +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>改用Math Comment Spam Protection 2.2抵擋Spam</title>
		<link>http://poshi.org/post/518.html</link>
		<comments>http://poshi.org/post/518.html#comments</comments>
		<pubDate>Sun, 19 Jul 2009 22:40:12 +0000</pubDate>
		<dc:creator>Poshi</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://poshi.org/?p=518</guid>
		<description><![CDATA[之前是用Raven&#8217;s Antispam這個外掛的，它的原理是，會有一個隱藏的表格，如果你不開Javescript，這個表格就會出現，一般是要輸入預設的字母或數字。
我大概用了半年了，最近才有讀者反映... ]]></description>
			<content:encoded><![CDATA[<p>之前是用Raven&#8217;s Antispam這個外掛的，它的原理是，會有一個隱藏的表格，如果你不開Javescript，這個表格就會出現，一般是要輸入預設的字母或數字。</p>
<p>我大概用了半年了，最近才有讀者反映說沒辦法提交留言<span id="more-518"></span>，我自己試了一下用IE8留言，就是會出現說你還沒有「回答問題，請返回」之類的英文，可是我的javescript是開著的，最重要的是那個隱藏輸入框並不能看到。</p>
<p>聽說是這種「物理式」的外掛跟目前新版本的Wordpress有衝突，以前<a title="關於Windows Live與Web2.0等的中國Blog" href="http://rpsh.net">任平生</a>有遇過此問題，不過後來似乎不了了之，所以現在沒辦法，我就暫時啟用古老的Math Comment Spam Protection 2.2吧，Install的時候才發現Raven&#8217;s Antispam已經有1年沒有更新，而Math Comment Spam Protection則有兩年沒有更新了。</p>
<p>Math Comment Spam Protection是讓讀者輸入一個簡單數學題的答案就可以了，不過也是很麻煩啊，啟用了以後，還要在Wordpress佈景裏插入以下語法代碼：</p>
<blockquote><p><code id="code0">&lt;p&gt;<br />
&lt;?php  // Math Comment Spam Protection Plugin<br />
if ( function_exists('math_comment_spam_protection') ) {<br />
$mcsp_info = math_comment_spam_protection();<br />
?&gt;<br />
&lt;b&gt;&lt;input type="text" name="mcspvalue" id="mcspvalue" value="" size="22" tabindex="4" /&gt;<br />
&lt;label for="mcspvalue"&gt; Simple Math Problem : &lt;?php echo $mcsp_info['operand1'] . ' + ' . $mcsp_info['operand2'] . ' = ?' ?&gt;&lt;/label&gt;&lt;/b&gt;<br />
&lt;input type="hidden" name="mcspinfo" value="&lt;?php echo $mcsp_info['result']; ?&gt;" /&gt;<br />
&lt;?php } // if function_exists... ?&gt;<br />
&lt;/p&gt;</code></p></blockquote>
<p>另外，目前這裏提交的留言都設定成了需要審核，我並不歡迎有些人留言時填的網址是商業網站的，只希望看到的是你自己的個人網址！</p>
<p>暫時先這樣試一下吧，也感謝那些向我反映此問題的朋友們！</p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/456.html" title="不小心更新到了Wordpress2.71">不小心更新到了Wordpress2.71</a> (10)</li><li><a href="http://poshi.org/post/449.html" title="Wordpress.com在中國可以直接訪問？">Wordpress.com在中國可以直接訪問？</a> (1)</li><li><a href="http://poshi.org/post/401.html" title="解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a> (8)</li><li><a href="http://poshi.org/post/385.html" title="Wordpress顯示歷史留言及留言倒序">Wordpress顯示歷史留言及留言倒序</a> (4)</li><li><a href="http://poshi.org/post/379.html" title="發佈現在使用的『Neugarten beta 1.0』主題">發佈現在使用的『Neugarten beta 1.0』主題</a> (13)</li><li><a href="http://poshi.org/post/336.html" title="Wordpress使用noindex會被百度虐待？">Wordpress使用noindex會被百度虐待？</a> (13)</li><li><a href="http://poshi.org/post/289.html" title="Sweet blog，很かわいい的Wordpress佈景">Sweet blog，很かわいい的Wordpress佈景</a> (12)</li><li><a href="http://poshi.org/post/277.html" title="給Wordpress後臺換上全新的配色！">給Wordpress後臺換上全新的配色！</a> (12)</li><li><a href="http://poshi.org/post/274.html" title="去除Wordpress後臺不需要的RSS內容">去除Wordpress後臺不需要的RSS內容</a> (11)</li><li><a href="http://poshi.org/post/265.html" title="Live Writer發佈不了Wordpress日誌的部份解決辦法">Live Writer發佈不了Wordpress日誌的部份解決辦法</a> (10)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2009<br />
Source: <a href="http://poshi.org/post/518.html">改用Math Comment Spam Protection 2.2抵擋Spam</a><br />
<a href="http://poshi.org/post/518.html#comments">3 comments</a><br />
Post tags: <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/518.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>不小心更新到了Wordpress2.71</title>
		<link>http://poshi.org/post/456.html</link>
		<comments>http://poshi.org/post/456.html#comments</comments>
		<pubDate>Sun, 22 Mar 2009 17:40:23 +0000</pubDate>
		<dc:creator>Poshi</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://poshi.org/post/456.html</guid>
		<description><![CDATA[今天忽然想更新Wordpress到新版本，所以在半個鍾內，我就完成了更新的過程。
之前我一直在使用Wordpress2.51這個版本

，在其後的多個版本出來以後，我卻一直沒有更新到這個部落格上來，而只... ]]></description>
			<content:encoded><![CDATA[<p>今天忽然想更新Wordpress到新版本，所以在半個鍾內，我就完成了更新的過程。</p>
<p>之前我一直在使用Wordpress2.51這個版本</p>
<p><span id="more-456"></span></p>
<p>，在其後的多個版本出來以後，我卻一直沒有更新到這個部落格上來，而只是在別的地方試用，因為我自己使用的版本是自訂過的，修改了很多地方了（比如說介面CSS）。</p>
<p>也覺得2.51後的版本出得太快，很不穩定，加上那個我很不喜歡的版本修訂功能&#8230;</p>
<p>所以，今天是為了2.71內置嵌套回復的功能，希望以後可以免去了wp thread comment這個外掛的使用——這個外掛很不錯的，只不過我更希望在介面設計方面也就是CSS方面可以更多樣化一些，自己嘗試修改CSS，還是有些地方不知道如何下手。</p>
<p>廢話已經說了這麼多呢，不過正文也就差不多了：今天我直接在伺服器的檔案管理介面裡，直接把上載好的wordpress2.71檔案複製到poshi.org/<a href="http://poshi.org" target="_blank">poshi</a>/下替代原來的。</p>
<p>由於是在伺服器上直接作業，整個過程花了20秒，然後我整理一下原來在瀏覽器打開的網誌管理頁面，出現一個你的資料庫需要更新這樣的提示，照他說的做就可以了，升級資料庫以後提示成功，會要你再登入一次。</p>
<p>我更新的時候並沒有把外掛停用了，不過目前還沒有什麼問題，所有外掛都使用正常，如果有什麼問題我會告訴大家的。</p>
<p><a href="http://poshi.org/poshi/wp-content/uploads/2009/03/wp27.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="wordpress2.7管理後台介面" src="http://poshi.org/poshi/wp-content/uploads/2009/03/wp27-thumb.png" border="0" alt="wordpress2.7管理後台介面" width="504" height="379" /></a></p>
<p>總而言之，wordpress2.71比2.51在管理後台的介面設計上，是更人性化了，使用的時候比以前更方便，不過關於2.71的幾個特有功能，我還沒有時間去做測試。</p>
<p>接下來，我要考慮的是，哪些外掛我將在WP2.7裡保留，哪些外掛不再使用。</p>
<p>各位都用的哪個版本Wordpress？還有，關於外掛的取舍有什麼想法？</p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/518.html" title="改用Math Comment Spam Protection 2.2抵擋Spam">改用Math Comment Spam Protection 2.2抵擋Spam</a> (3)</li><li><a href="http://poshi.org/post/449.html" title="Wordpress.com在中國可以直接訪問？">Wordpress.com在中國可以直接訪問？</a> (1)</li><li><a href="http://poshi.org/post/401.html" title="解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a> (8)</li><li><a href="http://poshi.org/post/385.html" title="Wordpress顯示歷史留言及留言倒序">Wordpress顯示歷史留言及留言倒序</a> (4)</li><li><a href="http://poshi.org/post/379.html" title="發佈現在使用的『Neugarten beta 1.0』主題">發佈現在使用的『Neugarten beta 1.0』主題</a> (13)</li><li><a href="http://poshi.org/post/336.html" title="Wordpress使用noindex會被百度虐待？">Wordpress使用noindex會被百度虐待？</a> (13)</li><li><a href="http://poshi.org/post/289.html" title="Sweet blog，很かわいい的Wordpress佈景">Sweet blog，很かわいい的Wordpress佈景</a> (12)</li><li><a href="http://poshi.org/post/277.html" title="給Wordpress後臺換上全新的配色！">給Wordpress後臺換上全新的配色！</a> (12)</li><li><a href="http://poshi.org/post/274.html" title="去除Wordpress後臺不需要的RSS內容">去除Wordpress後臺不需要的RSS內容</a> (11)</li><li><a href="http://poshi.org/post/265.html" title="Live Writer發佈不了Wordpress日誌的部份解決辦法">Live Writer發佈不了Wordpress日誌的部份解決辦法</a> (10)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2009<br />
Source: <a href="http://poshi.org/post/456.html">不小心更新到了Wordpress2.71</a><br />
<a href="http://poshi.org/post/456.html#comments">10 comments</a><br />
Post tags: <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/456.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Wordpress.com在中國可以直接訪問？</title>
		<link>http://poshi.org/post/449.html</link>
		<comments>http://poshi.org/post/449.html#comments</comments>
		<pubDate>Tue, 17 Mar 2009 06:59:00 +0000</pubDate>
		<dc:creator>Poshi</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://poshi.org/post/449.html</guid>
		<description><![CDATA[今天上午，朋友們告訴我，他們意外發現以前不能直接訪問的Wordpress.com，在廣東地區已經可以直接瀏覽了，不知道這是不是暫時的恢復？

&#160;
Wordpress.com是Wordpress官方的免費部落格服務網站（... ]]></description>
			<content:encoded><![CDATA[<p>今天上午，朋友們告訴我，他們意外發現以前不能直接訪問的Wordpress.com，在廣東地區已經可以直接瀏覽了，不知道這是不是暫時的恢復？</p>
<p><span id="more-449"></span></p>
<p>&#160;</p>
<p>Wordpress.com是Wordpress官方的免費部落格服務網站（BSP），不過我不知道什麼時候起，在中國大陸就不能直接訪問，所以Wordpress.com在大陸的用戶非常少，也給了大陸的一些非官方Wordpress服務網站很大的機會（比如yo2.cn，72松等）。</p>
<p>不過，也就是這樣，大陸建構獨立Wordpress寫網誌的人，才可以更多。</p>
<p>大陸的朋友可以訪問以下網址測試：</p>
<p><a href="http://poshi.wordpress.com" rel="nofollow">http://poshi.wordpress.com</a></p>
<p>關於Wordpress.com，有時間我來寫文為大家作一下介紹。</p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/518.html" title="改用Math Comment Spam Protection 2.2抵擋Spam">改用Math Comment Spam Protection 2.2抵擋Spam</a> (3)</li><li><a href="http://poshi.org/post/456.html" title="不小心更新到了Wordpress2.71">不小心更新到了Wordpress2.71</a> (10)</li><li><a href="http://poshi.org/post/401.html" title="解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a> (8)</li><li><a href="http://poshi.org/post/385.html" title="Wordpress顯示歷史留言及留言倒序">Wordpress顯示歷史留言及留言倒序</a> (4)</li><li><a href="http://poshi.org/post/379.html" title="發佈現在使用的『Neugarten beta 1.0』主題">發佈現在使用的『Neugarten beta 1.0』主題</a> (13)</li><li><a href="http://poshi.org/post/336.html" title="Wordpress使用noindex會被百度虐待？">Wordpress使用noindex會被百度虐待？</a> (13)</li><li><a href="http://poshi.org/post/289.html" title="Sweet blog，很かわいい的Wordpress佈景">Sweet blog，很かわいい的Wordpress佈景</a> (12)</li><li><a href="http://poshi.org/post/277.html" title="給Wordpress後臺換上全新的配色！">給Wordpress後臺換上全新的配色！</a> (12)</li><li><a href="http://poshi.org/post/274.html" title="去除Wordpress後臺不需要的RSS內容">去除Wordpress後臺不需要的RSS內容</a> (11)</li><li><a href="http://poshi.org/post/265.html" title="Live Writer發佈不了Wordpress日誌的部份解決辦法">Live Writer發佈不了Wordpress日誌的部份解決辦法</a> (10)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2009<br />
Source: <a href="http://poshi.org/post/449.html">Wordpress.com在中國可以直接訪問？</a><br />
<a href="http://poshi.org/post/449.html#comments">1 comment</a><br />
Post tags: <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/449.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</title>
		<link>http://poshi.org/post/401.html</link>
		<comments>http://poshi.org/post/401.html#comments</comments>
		<pubDate>Sun, 18 Jan 2009 01:37:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://poshi.org/post/401.html</guid>
		<description><![CDATA[
在開始使用Wordpress之初，我經常在wp-admin/install.php這個“著名的五分鐘安裝現場”之後，發現他明明已經提示沒有問題，已經安裝好了，自己的WP管理後臺上頭卻會出現類似這樣的“亂碼提示”... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://poshi.org/post/tag/wordpress"><img title="Wordpress" alt="Wordpress" src="http://tbn0.google.cn/images?q=tbn:Yduk3uKrjyKpjM:" align="right" border="0" /></a></p>
<p>在開始使用Wordpress之初，我經常在wp-admin/install.php這個“著名的五分鐘安裝現場”之後，發現他明明已經提示沒有問題，已經安裝好了，自己的WP管理後臺上頭卻會出現類似這樣的“亂碼提示”（錯誤提示）：</p>
<blockquote><p><b>Warning</b>: Cannot modify header information &#8211; headers already sent by (output started at C:\xampp\htdocs\w\wp-config.php:1)</p>
</blockquote>
<p>那個時候花了好長時間折騰不出原因，後來只是因為換了不同版本的Wordpress安裝包，就沒問題了，但一直不知其所以然。</p>
<p>現在我可以告訴你，這個問題，實在是太簡單了，如果你現在出現了這個問題，請看下去吧，相信五分鐘以內你的問題可以得到解決！</p>
<p><span id="more-401"></span></p>
<p>好，現在你看一下自己上面的錯誤提示，應該有這一行：</p>
<blockquote><p>(output started at C:\xampp\htdocs\w\wp-config.php:1)</p>
</blockquote>
<p>at後面列出來的文檔就是關鍵所在，那你就在FTP上下載這個文檔到本地開始修改吧！</p>
<p>現在你可以打開這個文檔，一般來說就是wp-config.php，當你打開這個文檔，直接點另存為就可以了，然後你看看編碼那裡，選擇為ANSI之後點保存試試，當你把修改好的文檔重新上傳之後，刷新一下，是不是錯誤提示就沒有了！</p>
<p>如果還有錯誤提示，照上面的步驟進行，把錯誤提示提及到的文檔都修改一遍吧，如果還有什麼問題，留言吧，或許我會有興趣跟你一起研究問題出在哪里。</p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/518.html" title="改用Math Comment Spam Protection 2.2抵擋Spam">改用Math Comment Spam Protection 2.2抵擋Spam</a> (3)</li><li><a href="http://poshi.org/post/456.html" title="不小心更新到了Wordpress2.71">不小心更新到了Wordpress2.71</a> (10)</li><li><a href="http://poshi.org/post/449.html" title="Wordpress.com在中國可以直接訪問？">Wordpress.com在中國可以直接訪問？</a> (1)</li><li><a href="http://poshi.org/post/385.html" title="Wordpress顯示歷史留言及留言倒序">Wordpress顯示歷史留言及留言倒序</a> (4)</li><li><a href="http://poshi.org/post/379.html" title="發佈現在使用的『Neugarten beta 1.0』主題">發佈現在使用的『Neugarten beta 1.0』主題</a> (13)</li><li><a href="http://poshi.org/post/336.html" title="Wordpress使用noindex會被百度虐待？">Wordpress使用noindex會被百度虐待？</a> (13)</li><li><a href="http://poshi.org/post/289.html" title="Sweet blog，很かわいい的Wordpress佈景">Sweet blog，很かわいい的Wordpress佈景</a> (12)</li><li><a href="http://poshi.org/post/277.html" title="給Wordpress後臺換上全新的配色！">給Wordpress後臺換上全新的配色！</a> (12)</li><li><a href="http://poshi.org/post/274.html" title="去除Wordpress後臺不需要的RSS內容">去除Wordpress後臺不需要的RSS內容</a> (11)</li><li><a href="http://poshi.org/post/265.html" title="Live Writer發佈不了Wordpress日誌的部份解決辦法">Live Writer發佈不了Wordpress日誌的部份解決辦法</a> (10)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2009<br />
Source: <a href="http://poshi.org/post/401.html">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a><br />
<a href="http://poshi.org/post/401.html#comments">8 comments</a><br />
Post tags: <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/401.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Wordpress顯示歷史留言及留言倒序</title>
		<link>http://poshi.org/post/385.html</link>
		<comments>http://poshi.org/post/385.html#comments</comments>
		<pubDate>Wed, 17 Dec 2008 14:00:35 +0000</pubDate>
		<dc:creator>Poshi</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://poshi.org/post/385.html</guid>
		<description><![CDATA[今天把部落格主題隨便修改了一下，發覺只是想到哪就改到哪，沒有一個事先的想法，實在是亂得很。
首先，你可以看到部落格連結由原來的藍色改為鮮紅色了，可能有些人看起來太鮮豔了

... ]]></description>
			<content:encoded><![CDATA[<p>今天把<a title="Wordpress Themes" href="http://poshi.org/post/tag/wordpress%e4%b8%bb%e9%a2%98" target="_blank">部落格主題</a>隨便修改了一下，發覺只是想到哪就改到哪，沒有一個事先的想法，實在是亂得很。</p>
<p>首先，你可以看到部落格連結由原來的藍色改為鮮紅色了，可能有些人看起來太鮮豔了</p>
<p><span id="more-385"></span></p>
<p>，不過我覺得原來的藍色看得沒感覺了，就改一下吧。</p>
<h4>在頁面裡顯示部落格上的歷史留言</h4>
<p>然後，我改了<a title="留言聯繫" href="http://poshi.org/contact" target="_blank">留言聯繫</a>這個頁面，在這裡面，顯示最近半個月的歷史留言，因為，有些朋友有時候過來留言，可能過幾天他還想知道他的留言別人是不是有什麼反應，那麼在這個頁面裡應該可以找到他過去半個月的留言。不過呢，有些搶沙發的朋友，會有不久的幾天後發現自己的沙發可能被擠到下面了，真是不好意思呀。</p>
<p>大家知道，在首頁引用最近評論的時候，一般是這樣：</p>
<blockquote><p>&lt;?php get_recent_comments($no_comments = 8,$before = &#8216;&lt;li&gt;&#8217;,$after = &#8216;&lt;/li&gt;&#8217;, $show_pass_post = false); ?&gt; </p>
</blockquote>
<p>我只是修改了數目和CSS外觀而已。</p>
<h4>讓Wordpress的回復評論倒序顯示</h4>
<p><a title="Wordpress theme hack - 回復評論倒序顯示" href="http://wgmcn.com/blog/wordpress-theme-hack-%e5%9b%9e%e5%a4%8d%e8%af%84%e8%ae%ba%e5%80%92%e5%ba%8f%e6%98%be%e7%a4%ba.html" target="_blank">Wordpress theme hack &#8211; 回復評論倒序顯示</a>，這是今天看到的一篇文章，他說：</p>
<p>在佈景編輯頁，找到<strong>Comment</strong>.php這個佈景頁面，再找到</p>
<blockquote><p><code>&lt; ? php foreach ($comments as $comment) : ?&gt;</code></p>
</blockquote>
<p>然後改成 </p>
<blockquote><p><code>&lt; ? php foreach (array_reverse($comments) as $comment) : ?&gt;</code></p>
</blockquote>
<p>我想，你應該知道怎麼改吧？我已經修改了，我現在那一處代碼改成這樣：</p>
<blockquote><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;?php foreach (array_reverse($comments) as $comment) : ?&gt;</p>
</blockquote>
<p>現在<a title="新後園" href="http://poshi.org" target="_blank">這個部落格</a>的留言，就變成[後來者居上]了，之所以這麼做，是因為有些文章留言的人比較多，如果上面已經有很多人留言，可能後面的讀者會有怕自己的留言不被注意到的擔憂，現在這麼做，就可以解決這個問題，一篇文章，就可以保持評論持續更新，這個應該可以促進一些技術性問題的交流吧。</p>
<p>或者你還可以看看Jinwen的這篇<a title="為WordPress的留言增加序號" href="http://smartr.cn/wordpress/add-number-to-wordpress-comments.html" target="_blank">為WordPress的留言增加序號</a>，有更多關於修改留言次序的內容。</p>
<h4>修改WP Thread Comment及WordPress Related Posts的CSS</h4>
<p>WP Thread Comment這個外掛聽說在Wordpress2.7版本裡已被集成了，不過我還沒升級到2.7版本的打算，所以就需要繼續使用這個外掛。</p>
<p>這個外掛有加入CSS對留言裡的嵌套回復進行美化，不過，我發現子評論的背景色是深灰色，對於有些主題實在是很難看，在1.4.9.2版本裡這個外掛的設置頁面，有一個<strong>編輯評論的CSS的</strong>選項，裡面的CSS就是關係到子評論的效果的，今天對裡面的顏色代碼又改了一下：</p>
<blockquote><p>.editComment, .editableComment, .textComment{     <br />&#160;&#160;&#160; display: inline;      <br />}      <br />.comment-childs{      <br />&#160;&#160;&#160; border: 1px solid #3FA1E2;      <br />&#160;&#160;&#160; margin: 5px 2px 2px 4px;      <br />&#160;&#160;&#160; padding: 4px 2px 2px 4px;      <br />&#160;&#160;&#160; background-color: white;      <br />}      <br />.chalt{      <br />&#160;&#160;&#160; background-color: #FEF5EF;      <br />}      <br />#newcomment{      <br />&#160;&#160;&#160; border:1px dashed #3FA1E2;width:90%;      <br />}      <br />#newcommentsubmit{      <br />&#160;&#160;&#160; color:red;      <br />}      <br />.adminreplycomment{      <br />&#160;&#160;&#160; border:1px dashed #3FA1E2;      <br />&#160;&#160;&#160; width:99%;      <br />&#160;&#160;&#160; margin:4px;      <br />&#160;&#160;&#160; padding:4px;      <br />}      <br />.mvccls{      <br />&#160;&#160;&#160; color: #1D7FC0;      <br />}</p>
</blockquote>
<p>我就修改了裡面的.chalt，終於讓WP Thread Comment的評論原來那不喜歡的灰色改掉了。</p>
<p>另外，我使用WordPress Related Posts這個外掛在每篇文章下面顯示一個相關文章列表，才覺得這個列表根本就沒有用CSS進行修飾，實在不大好看，今天還是隨便改了一下，我就是在CSS.style里加了這個：</p>
<blockquote><p>.related_post li {     <br />&#160;&#160;&#160; list-style: none;      <br />&#160;&#160;&#160; padding: 4px 0 4px 0;      <br />&#160;&#160;&#160; border-bottom: 1px solid #FEEFF2;      <br />}</p>
</blockquote>
<p>因為WordPress Related Posts的相關文章列表，就是&lt;ul class=&quot;related_post&quot;&gt;。</p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/518.html" title="改用Math Comment Spam Protection 2.2抵擋Spam">改用Math Comment Spam Protection 2.2抵擋Spam</a> (3)</li><li><a href="http://poshi.org/post/456.html" title="不小心更新到了Wordpress2.71">不小心更新到了Wordpress2.71</a> (10)</li><li><a href="http://poshi.org/post/449.html" title="Wordpress.com在中國可以直接訪問？">Wordpress.com在中國可以直接訪問？</a> (1)</li><li><a href="http://poshi.org/post/401.html" title="解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a> (8)</li><li><a href="http://poshi.org/post/379.html" title="發佈現在使用的『Neugarten beta 1.0』主題">發佈現在使用的『Neugarten beta 1.0』主題</a> (13)</li><li><a href="http://poshi.org/post/336.html" title="Wordpress使用noindex會被百度虐待？">Wordpress使用noindex會被百度虐待？</a> (13)</li><li><a href="http://poshi.org/post/289.html" title="Sweet blog，很かわいい的Wordpress佈景">Sweet blog，很かわいい的Wordpress佈景</a> (12)</li><li><a href="http://poshi.org/post/277.html" title="給Wordpress後臺換上全新的配色！">給Wordpress後臺換上全新的配色！</a> (12)</li><li><a href="http://poshi.org/post/274.html" title="去除Wordpress後臺不需要的RSS內容">去除Wordpress後臺不需要的RSS內容</a> (11)</li><li><a href="http://poshi.org/post/265.html" title="Live Writer發佈不了Wordpress日誌的部份解決辦法">Live Writer發佈不了Wordpress日誌的部份解決辦法</a> (10)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2008<br />
Source: <a href="http://poshi.org/post/385.html">Wordpress顯示歷史留言及留言倒序</a><br />
<a href="http://poshi.org/post/385.html#comments">4 comments</a><br />
Post tags: <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/385.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>發佈現在使用的『Neugarten beta 1.0』主題</title>
		<link>http://poshi.org/post/379.html</link>
		<comments>http://poshi.org/post/379.html#comments</comments>
		<pubDate>Thu, 04 Dec 2008 03:02:12 +0000</pubDate>
		<dc:creator>Poshi</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress themes]]></category>

		<guid isPermaLink="false">http://poshi.org/post/379.html</guid>
		<description><![CDATA[ 有不少玩Wordpress的朋友發郵件問我要現在使用的這個佈景，那時候我說，因為有很多地方沒有完善，所以一直沒有給這些朋友發這個佈景，今天，我還是打包，發給需要的朋友吧。
這個佈景，... ]]></description>
			<content:encoded><![CDATA[<p><a title="neugarten" href="http://poshi.org"><img style="display: inline; margin-left: 0px; margin-right: 0px" title="wordpress佈景 neugarten" src="http://poshi.org/poshi/wp-content/uploads/2008/12/screenshot.png" alt="wordpress佈景 neugarten" width="240" height="207" align="right" /></a> 有不少玩Wordpress的朋友發郵件問我要現在使用的這個佈景，那時候我說，因為有很多地方沒有完善，所以一直沒有給這些朋友發這個佈景，今天，我還是打包，發給需要的朋友吧。</p>
<p>這個佈景，可能以後不會有時間去修改了，因為Poshi打算重頭開始做一個新的佈景，所以，現在需要的朋友拿回去就自己改一下吧，或者權當研究研究，為了與<a href="http://poshi.org" target="_blank">新後園</a>目前的效果一樣，那些側欄的置頂文章列表我沒有去掉，大家可以修改為自己部落格上的連結。</p>
<p><span id="more-379"></span></p>
<p>這個beta 1.0，最開始是從Deliciously Blue而來（當然，Deliciously Blue這個佈景好像有很多個，我不知道我用的是其中的哪個版本，就不給出連結，大家可以自己去搜一下），也是一直一點一點地改過來的，所以沒有一個清楚的思路，不過，本來是兩欄的，後來就被我改成三欄了。</p>
<h4>佈景下載 Themes Download</h4>
<p><a title="已下載[downloadcounter(neugarten-beta1.0.rar)]次" href="[download(neugarten-beta1.0.rar)]">neugarten-beta1.0.rar</a></p>
<h4>外掛</h4>
<p>這個佈景需要以下外掛支援，不然可能會不堪入目：</p>
<p><a title="中文 WordPress 工具箱" href="http://yan.me/dia/wordpress/kit/" target="_blank">中文 WordPress 工具箱</a></p>
<p><a title="Show Top Commentators 評論榜外掛" href="http://www.pfadvice.com/wordpress-plugins/show-top-commentators/" target="_blank">Show Top Commentators</a></p>
<p><a title="WP-PageNavi　Wordpress翻頁外掛" href="http://lesterchan.net/portfolio/programming/php/" target="_blank">WP-PageNavi</a></p>
<p><a title="WP-PostViews　Wordpress文章流覽數統計外掛" href="http://lesterchan.net/portfolio/programming.php" target="_blank">WP-PostViews</a></p>
<p><a title="WordPress Related Posts　顯示Wordpress相關文章" href="http://fairyfish.net/2007/09/12/wordpress-23-related-posts-plugin/" target="_blank">WordPress Related Posts</a></p>
<p>大家可以點上面的連結，下載到外掛作者推出的最新版本外掛，或者，如果你懶得跑的話，我把這幾個外掛打包了，你可以用下面的連結下載：</p>
<p>Download: <a title="已下載[downloadcounter(plugins.rar)]次" href="[download(plugins.rar)]">Wordpress Plugins.rar</a></p>
<p>如果在使用外掛的過程中，有什麼問題，大家可以留言討論。</p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/289.html" title="Sweet blog，很かわいい的Wordpress佈景">Sweet blog，很かわいい的Wordpress佈景</a> (12)</li><li><a href="http://poshi.org/post/208.html" title="暫別Scott Allan Wallick的plaintxtblog佈景">暫別Scott Allan Wallick的plaintxtblog佈景</a> (11)</li><li><a href="http://poshi.org/post/518.html" title="改用Math Comment Spam Protection 2.2抵擋Spam">改用Math Comment Spam Protection 2.2抵擋Spam</a> (3)</li><li><a href="http://poshi.org/post/456.html" title="不小心更新到了Wordpress2.71">不小心更新到了Wordpress2.71</a> (10)</li><li><a href="http://poshi.org/post/449.html" title="Wordpress.com在中國可以直接訪問？">Wordpress.com在中國可以直接訪問？</a> (1)</li><li><a href="http://poshi.org/post/401.html" title="解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a> (8)</li><li><a href="http://poshi.org/post/385.html" title="Wordpress顯示歷史留言及留言倒序">Wordpress顯示歷史留言及留言倒序</a> (4)</li><li><a href="http://poshi.org/post/336.html" title="Wordpress使用noindex會被百度虐待？">Wordpress使用noindex會被百度虐待？</a> (13)</li><li><a href="http://poshi.org/post/277.html" title="給Wordpress後臺換上全新的配色！">給Wordpress後臺換上全新的配色！</a> (12)</li><li><a href="http://poshi.org/post/274.html" title="去除Wordpress後臺不需要的RSS內容">去除Wordpress後臺不需要的RSS內容</a> (11)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2008<br />
Source: <a href="http://poshi.org/post/379.html">發佈現在使用的『Neugarten beta 1.0』主題</a><br />
<a href="http://poshi.org/post/379.html#comments">13 comments</a><br />
Post tags: <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a>, <a href="http://poshi.org/post/tag/wordpress-themes" rel="tag">Wordpress themes</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/379.html/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Wordpress使用noindex會被百度虐待？</title>
		<link>http://poshi.org/post/336.html</link>
		<comments>http://poshi.org/post/336.html#comments</comments>
		<pubDate>Thu, 23 Oct 2008 08:13:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[部落格]]></category>

		<guid isPermaLink="false">http://poshi.org/?p=336</guid>
		<description><![CDATA[中國的獨立部落客們，尤其是Wordpress部落客，都對百度有一些成見，就像新後園在百度裡的收錄就幾個月來都莫名其妙的。
不過就在這兩天，關於新後園在百度上的收錄問題之謎，終於解開了... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://poshi.org/post/tag/wordpress"><img title="Wordpress" src="http://tbn0.google.cn/images?q=tbn:Yduk3uKrjyKpjM:" border="0" alt="Wordpress" align="right" /></a>中國的獨立部落客們，尤其是Wordpress部落客，都對百度有一些成見，就像新後園在百度裡的收錄就幾個月來都莫名其妙的。</p>
<p>不過就在這兩天，關於<a title="新後園" href="http://poshi.org/" target="_blank">新後園</a>在百度上的收錄問題之謎，終於解開了也解決了！</p>
<p>原來，問題就出在我對類別存檔、標籤存檔和時間存檔這些頁面使用了noindex標籤，百度會虐待你，我當時好像是用了<span id="more-336"></span>這一句，寫在header.php裡：</p>
<blockquote><p>&lt;?php if (is_single() || is_page() || is_home() ) : ?&gt;&lt;meta name=』robots』 content=』index,follow』 /&gt;&lt;?php else : ?&gt;&lt;meta name=』robots』 content=』noindex,follow』 /&gt;</p></blockquote>
<p>這個月，我那句自己加入代碼刪掉了，直接用All In One Seo設置來代替，我是把這幾個選項全打上勾了：</p>
<p><a>Use noindex for Categories:</a>(對類別存檔頁使用noindex）</p>
<p><a>Use noindex for Archives:</a>(對時間存檔頁使用noindex）</p>
<p><a>Use noindex for Tag Archives:</a>(對標籤存檔頁使用noindex）</p>
<p>正常說來，這樣做應該對Google來說比較不錯的，那些有重複內容的標籤頁不會被收錄。</p>
<p>說一下新後園在百度上的收錄問題吧，這個部落格在百度的收錄數都很低，但被收錄的那幾條，卻權重明顯很高，因為經常一天裡有很多個從百度引入的ip，就是因為首頁的快照裡出現某些關鍵字，也就是說，被收錄的那幾條頁面上，有時候出現某些關鍵字在那個關鍵字的結果中會排到前面去。</p>
<p>這一直覺得是個詭異的問題，因為我有一位朋友的部落格，跟我同一個伺服器，也是Wordpress，同一個月份建的，他的基本上沒做過什麼設置，而我應該針對Google做了些[優化]，在Google那邊應該情況良好呀，所以之前一直覺得，好像百度對Wordpress的部落格都不那麼好，或者又對獨立部落格是這樣，大概因為他的人工因素比重較大。</p>
<p>昨天淩晨，假如朋友的部落格不做什麼設置還很正常被收錄的話，是不是我做了些沒必要的事，我是不是不要畫蛇添足？</p>
<p>另一位部落客（忘記是哪位了）說過，使用noindex其實也算是一種自我降權行為，會不會就因為這個？但我聽別人說的情況是，就算你使用了noindex標籤，百度也是一樣收錄呀，他們都說，百度是無視noindex的。</p>
<p>不過，我抱著試一下的態度，把<a>Use noindex for Categories</a>這個選項取消了，其他的不改，就是說，至少讓類別存檔被索引。</p>
<p>事態發展的結果，真是出乎我的意料，淩晨幾點作的修改，到了中午，發現[百度一下，找到相關網頁4篇]的結果變成了[百度一下，找到相關網頁220篇]！</p>
<p>這真是太戲劇化了，百度這回作出的反應很迅速，跟上次另一朋友的網站關閉時一樣快（他的網站一打不開，第二天就從搜尋結果的第一頁掉到不知道多少頁後面去了。</p>
<p>不過，依然不明白百度了，因為有些朋友說百度是無視noindex的，而這回在我身上，他卻因為noindex的原因，對新後園進行長達幾個月的虐待！</p>
<p>上面說到的一些情況，只是情況而已，我還是不明白原因，如果有明白人，希望可以一一指明！</p>
<p>P.S 在WP設置中，有個可以設置不被搜索引擎收錄的，如果選了那個，就是全站noindex了，那樣不止是百度，在Google中也不會被收錄，所以用WP的也要注意一下是不是選了那個了。</p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/623.html" title="twoday.net:德國最大部落格服務網站">twoday.net:德國最大部落格服務網站</a> (0)</li><li><a href="http://poshi.org/post/616.html" title="bBlog：免費開放原始碼的網誌軟體">bBlog：免費開放原始碼的網誌軟體</a> (0)</li><li><a href="http://poshi.org/post/580.html" title="第五屆全球華文部落格大獎初審入圍啦！">第五屆全球華文部落格大獎初審入圍啦！</a> (2)</li><li><a href="http://poshi.org/post/518.html" title="改用Math Comment Spam Protection 2.2抵擋Spam">改用Math Comment Spam Protection 2.2抵擋Spam</a> (3)</li><li><a href="http://poshi.org/post/456.html" title="不小心更新到了Wordpress2.71">不小心更新到了Wordpress2.71</a> (10)</li><li><a href="http://poshi.org/post/449.html" title="Wordpress.com在中國可以直接訪問？">Wordpress.com在中國可以直接訪問？</a> (1)</li><li><a href="http://poshi.org/post/401.html" title="解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a> (8)</li><li><a href="http://poshi.org/post/385.html" title="Wordpress顯示歷史留言及留言倒序">Wordpress顯示歷史留言及留言倒序</a> (4)</li><li><a href="http://poshi.org/post/379.html" title="發佈現在使用的『Neugarten beta 1.0』主題">發佈現在使用的『Neugarten beta 1.0』主題</a> (13)</li><li><a href="http://poshi.org/post/344.html" title="我處理垃圾留言的方式">我處理垃圾留言的方式</a> (15)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2008<br />
Source: <a href="http://poshi.org/post/336.html">Wordpress使用noindex會被百度虐待？</a><br />
<a href="http://poshi.org/post/336.html#comments">13 comments</a><br />
Post tags: <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a>, <a href="http://poshi.org/post/tag/%e9%83%a8%e8%90%bd%e6%a0%bc" rel="tag">部落格</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/336.html/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Sweet blog，很かわいい的Wordpress佈景</title>
		<link>http://poshi.org/post/289.html</link>
		<comments>http://poshi.org/post/289.html#comments</comments>
		<pubDate>Fri, 05 Sep 2008 12:28:00 +0000</pubDate>
		<dc:creator>Poshi</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress themes]]></category>

		<guid isPermaLink="false">http://poshi.org/post/289</guid>
		<description><![CDATA[這回，直接給大家上一個比較かわいい的，顏色上很漂亮的佈景，大家別說Wordpress佈景都很嚴肅了，這回看看這個，不一定說很十全十美的，但是至少你得換一種思路設計了&#8230;
你看到的這個... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://poshi.org/poshi/wp-content/uploads/2008/08/gis.jpg"><img title="gis" style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 0px 0px 20px; border-right-width: 0px" height="207" alt="gis" src="http://poshi.org/poshi/wp-content/uploads/2008/08/gis-thumb.jpg" width="184" align="right" border="0" /></a>這回，直接給大家上一個比較かわいい的，顏色上很漂亮的佈景，大家別說Wordpress佈景都很嚴肅了，這回看看這個，不一定說很十全十美的，但是至少你得換一種思路設計了&#8230;</p>
<p>你看到的這個這個佈景，名字叫<a title="Wordpress佈景" href="http://www.giselejaquenod.com.ar/blog/2008/07/31/new-free-wordpress-theme-birdies-blog/" target="_blank">Sweet blog</a>，就像名字一樣，Sweet Sweet Sweet Sweet！你想到了嗎？這是一個女孩子設計的佈景。</p>
<p><span id="more-289"></span></p>
<p> 佈景的作者<a href="http://www.giselejaquenod.com.ar/">Gisele Jaquenod</a>，是Argentina(阿根廷)的一個女孩，她喜歡畫畫，設計，最重要的是，她設計了很多很漂亮的佈景，那是很厲害的，今天介紹的這個<a title="wordpress佈景" href="http://www.giselejaquenod.com.ar/blog/2008/07/31/new-free-wordpress-theme-birdies-blog/" target="_blank">Sweet blog</a>，只是她設計的其中一個，她設計的Google Blogger佈景更漂亮，可惜就是沒有Wordpress版本的，大家有興趣去她部落格看看！</p>
<p>這個<a title="Wordpress Themes" href="http://www.giselejaquenod.com.ar/blog/2008/07/31/new-free-wordpress-theme-birdies-blog/" target="_blank">Sweet blog</a>佈景很漂亮，日誌內容部份使用粉紅色的超連結，而背景圖片則使用古典感覺的棕樹色的圖案，而日誌部份底色還是白色的沒改，給人的感覺，是既乾淨又漂亮！</p>
<p><a href="http://poshi.org/poshi/wp-content/uploads/2008/08/sweetblog.jpg"><img title="sweet-blog" style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="472" alt="sweet-blog" src="http://poshi.org/poshi/wp-content/uploads/2008/08/sweetblog-thumb.jpg" width="504" border="0" /></a> </p>
<p><a title="sweet blog" href="http://www.giselejaquenod.com.ar/blog/wp-content/uploads/2008/07/birdiesblog.rar" target="_blank">下載佈景</a> | <a title="線上查看效果" href="http://www.giselejaquenod.com.ar/blog/blogger-templates/" target="_blank">Demo</a></p>
<p>這個佈景，很適合女孩子使用哦，希望Wordpress佈景設計者們，可以多設計一些漂亮的佈景，話說最近<a title="新後園" href="http://poshi.org" target="_blank">Poshi</a>也在研究佈景，不過才剛剛開始，就是怕未來的幾個月內就怕沒有時間去完成了，也許在今年的12月份左右，耶誕節的時候可以放一個佈景出來！</p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/379.html" title="發佈現在使用的『Neugarten beta 1.0』主題">發佈現在使用的『Neugarten beta 1.0』主題</a> (13)</li><li><a href="http://poshi.org/post/208.html" title="暫別Scott Allan Wallick的plaintxtblog佈景">暫別Scott Allan Wallick的plaintxtblog佈景</a> (11)</li><li><a href="http://poshi.org/post/518.html" title="改用Math Comment Spam Protection 2.2抵擋Spam">改用Math Comment Spam Protection 2.2抵擋Spam</a> (3)</li><li><a href="http://poshi.org/post/456.html" title="不小心更新到了Wordpress2.71">不小心更新到了Wordpress2.71</a> (10)</li><li><a href="http://poshi.org/post/449.html" title="Wordpress.com在中國可以直接訪問？">Wordpress.com在中國可以直接訪問？</a> (1)</li><li><a href="http://poshi.org/post/401.html" title="解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a> (8)</li><li><a href="http://poshi.org/post/385.html" title="Wordpress顯示歷史留言及留言倒序">Wordpress顯示歷史留言及留言倒序</a> (4)</li><li><a href="http://poshi.org/post/336.html" title="Wordpress使用noindex會被百度虐待？">Wordpress使用noindex會被百度虐待？</a> (13)</li><li><a href="http://poshi.org/post/277.html" title="給Wordpress後臺換上全新的配色！">給Wordpress後臺換上全新的配色！</a> (12)</li><li><a href="http://poshi.org/post/274.html" title="去除Wordpress後臺不需要的RSS內容">去除Wordpress後臺不需要的RSS內容</a> (11)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2008<br />
Source: <a href="http://poshi.org/post/289.html">Sweet blog，很かわいい的Wordpress佈景</a><br />
<a href="http://poshi.org/post/289.html#comments">12 comments</a><br />
Post tags: <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a>, <a href="http://poshi.org/post/tag/wordpress-themes" rel="tag">Wordpress themes</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/289.html/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>給Wordpress後臺換上全新的配色！</title>
		<link>http://poshi.org/post/277.html</link>
		<comments>http://poshi.org/post/277.html#comments</comments>
		<pubDate>Tue, 02 Sep 2008 02:13:00 +0000</pubDate>
		<dc:creator>Poshi</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://poshi.org/post/277</guid>
		<description><![CDATA[上回我寫到，如何刪除WordPress管理後臺多餘的RSS內容，以使後臺載入的速度提高並且外觀更簡潔。
不過，對於後臺的[優化]，這是遠遠不夠的，難道你不覺得Wordpress後臺的配色很老梗嗎？看了... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://poshi.org/post/tag/wordpress"><img title="Wordpress" alt="Wordpress" src="http://tbn0.google.cn/images?q=tbn:Yduk3uKrjyKpjM:" align="right" border="0" /></a>上回我寫到，如何<a title="刪除WordPress管理後臺多餘的RSS內容" href="http://poshi.org/post/274" target="_blank">刪除WordPress管理後臺多餘的RSS內容</a>，以使後臺載入的速度提高並且外觀更簡潔。</p>
<p>不過，對於後臺的[優化]，這是遠遠不夠的，難道你不覺得Wordpress後臺的配色很老梗嗎？看了那麼久不覺得煩嗎？</p>
<p>那麼，就讓我們再動動手，給我們的後臺來個[改頭換面]吧！</p>
<p><span id="more-277"></span></p>
<p>其實已經有人開發過外掛，是可以改變Wordpress後臺配色等效果的，可能大家也試過了，不過我不喜歡用那麼多外掛，所以接下來要做出來的效果，不需要外掛的幫忙！</p>
<p>[下面我主要是以2.5和2.6版本來做的嘗試，其他更低版本可能有點不一樣，不過道理差不多，大家都可以試一下。]</p>
<p>首先，打開你的wp-admin\css這個目錄，你有沒有看到colors-classic.css和colors-fresh.css這兩個文檔？</p>
<p>對，這兩個文檔很重要，他們決定著你後臺在顏色方面的效果，你要認識到一點，就是顏色的搭配，不是一件簡單的事情，同一個網頁，好的配色和不好的配色，影響是天壤之別的。</p>
<p>在後臺打開你的用戶設置的地址（profile.php），就是你平常修改自己密碼的那個位址，你可以看到[管理介面配色方案]這一項，其中我們的後臺應該默認是[清爽]那個配色方案，而colors-fresh.css就是對應[清爽]，colors-classic.css對應[經典]。</p>
<p>現在，如果你在CSS這方面只要懂一點點，你就可以發揮自己的感覺，盡情地去進行自己的配色試驗吧！這個完全不需要擔心的，就算你配得再糟，對後臺各方面的資料傳達不會有影響，如果你太厲害了，把CSS代碼都搞亂了，大不了就再用原本的那個文檔，傳上去覆蓋掉，就解決了。</p>
<p>由於在2.5以後，後臺默認配色方案就是[清爽]那個，所以我們只要改colors-fresh.css那個就可以。</p>
<p>修改完了配色，也許你對後臺還有其他的要求？比如字體方面，或者字體大小什麼的，那你可以找到\wp-admin\wp-admin.css這個文檔，你可以對裡面你瞭解的部份進行修改，這個文檔比較容易修改的時候改錯什麼，反正還是那句話，你備份好原本的文檔，到時候壞了就直接上傳，就可以了。</p>
<p>如果哪位修改了，可要告訴我哦，如果可以的話發個截圖，給我們看看你的[大作]，哈哈哈&#8230;</p>
<p>廢話不說了，我先上圖吧，我隨便亂改的效果：</p>
<p><a title="點選查看大圖" href="http://poshi.org/poshi/wp-content/uploads/2008/08/wordpress-color.png" target="_blank"><img title="點選看大圖-Wordpress-color" style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="500" alt="點選看大圖-Wordpress-color" src="http://poshi.org/poshi/wp-content/uploads/2008/08/wordpresscolor1.png" width="645" border="0" /></a> </p>
<p>不過怎麼說，再難看也沒有原來的配色難看吧呵呵，我把我修改過的文檔放上來了，大家可以研究我的修改，或者哪位喜歡我這個難看的配色，也可以直接就用我修改的版本：</p>
<p>1.colors-fresh.css(<a title="colors fresh" href="http://poshi.org/poshi/wp-content/uploads/2008/08/colors-fresh.css">點選下載</a>):這個直接上傳到WP的wp-admin\css目錄下，直接覆蓋原文件就可以了。</p>
<p>2.wp-admin.css(<a title="wp-admin.css" href="http://poshi.org/poshi/wp-content/uploads/2008/08/wp-admin.css">點選下載</a>)：這個可以修改後臺的字體大小等效果，直接上傳到wp-admin\目錄下。</p>
<p>這兩個文檔，大家可以下載試試，在2.5和2.6版本我都試過的，這個應該不會有什麼破壞的後果，所以大家就放改吧！</p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/518.html" title="改用Math Comment Spam Protection 2.2抵擋Spam">改用Math Comment Spam Protection 2.2抵擋Spam</a> (3)</li><li><a href="http://poshi.org/post/456.html" title="不小心更新到了Wordpress2.71">不小心更新到了Wordpress2.71</a> (10)</li><li><a href="http://poshi.org/post/449.html" title="Wordpress.com在中國可以直接訪問？">Wordpress.com在中國可以直接訪問？</a> (1)</li><li><a href="http://poshi.org/post/401.html" title="解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a> (8)</li><li><a href="http://poshi.org/post/385.html" title="Wordpress顯示歷史留言及留言倒序">Wordpress顯示歷史留言及留言倒序</a> (4)</li><li><a href="http://poshi.org/post/379.html" title="發佈現在使用的『Neugarten beta 1.0』主題">發佈現在使用的『Neugarten beta 1.0』主題</a> (13)</li><li><a href="http://poshi.org/post/336.html" title="Wordpress使用noindex會被百度虐待？">Wordpress使用noindex會被百度虐待？</a> (13)</li><li><a href="http://poshi.org/post/289.html" title="Sweet blog，很かわいい的Wordpress佈景">Sweet blog，很かわいい的Wordpress佈景</a> (12)</li><li><a href="http://poshi.org/post/274.html" title="去除Wordpress後臺不需要的RSS內容">去除Wordpress後臺不需要的RSS內容</a> (11)</li><li><a href="http://poshi.org/post/265.html" title="Live Writer發佈不了Wordpress日誌的部份解決辦法">Live Writer發佈不了Wordpress日誌的部份解決辦法</a> (10)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2008<br />
Source: <a href="http://poshi.org/post/277.html">給Wordpress後臺換上全新的配色！</a><br />
<a href="http://poshi.org/post/277.html#comments">12 comments</a><br />
Post tags: <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/277.html/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>去除Wordpress後臺不需要的RSS內容</title>
		<link>http://poshi.org/post/274.html</link>
		<comments>http://poshi.org/post/274.html#comments</comments>
		<pubDate>Tue, 26 Aug 2008 22:44:00 +0000</pubDate>
		<dc:creator>Poshi</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://poshi.org/post/274</guid>
		<description><![CDATA[今天來試一下去除WordPress管理首頁的那些RSS內容，比如其中的[Wordpress最新動態]之類的，希望後臺快一些，或者研究WordPress的朋友們，不妨看看吧。

我們平常登陸管理後臺之後會看到[鏈入連結... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://poshi.org/post/tag/wordpress"><img title="Wordpress" src="http://tbn0.google.cn/images?q=tbn:Yduk3uKrjyKpjM:" border="0" alt="Wordpress" align="right" /></a>今天來試一下去除WordPress管理首頁的那些RSS內容，比如其中的[Wordpress最新動態]之類的，希望後臺快一些，或者研究WordPress的朋友們，不妨看看吧。</p>
<p><span id="more-274"></span></p>
<p>我們平常登陸管理後臺之後會看到[鏈入連結]呀，還有Wordpress最新動態呀等一些RSS的內容，他說到這些內容會使資料庫增加一些垃圾。</p>
<p>一億度說要把生成這些內容的代碼，給不留情地刪掉：</p>
<blockquote><p>打開wp-admin/index.php文檔，刪除以下幾行代碼：</p>
<p>jQuery(function() {<br />
jQuery(’#incominglinks’).load(’index-extra.php?jax=incominglinks’);<br />
jQuery(’#devnews’).load(’index-extra.php?jax=devnews’);<br />
jQuery(’#planetnews’).load(’index-extra.php?jax=planetnews’);<br />
});}</p></blockquote>
<p>（然後當然是把修改過的index.php再上傳到空間覆蓋原文件。）</p>
<p>這個辦法，直接把後臺管理首頁所有的RSS內容都刪了，不過呢，實際上只是自己沒看到這些內容而已，其中有些關聯的代碼還沒有真正去除掉，而且如果直接把上面說到的代碼全刪掉，後臺中中包括最新評論和外部連結什麼的全部都沒有了。</p>
<p>沒關係，我們今天再來試一下隻刪除其中的部份內容，保留自己想要的內容。</p>
<p>打開wp-admin/includes/dashboard.php，查找<strong>// WP Plugins Widget</strong>，刪除以下代碼，這些代碼，WP Plugins Widget嘛，就是Wordpress外掛資訊的內容。</p>
<blockquote><p>// WP Plugins Widget</p>
<p>wp_register_sidebar_widget( &#8216;dashboard_plugins&#8217;, __( &#8216;Plugins&#8217; ), &#8216;wp_dashboard_empty&#8217;,<br />
    array( &#8216;all_link&#8217; =&gt; &#8216;<a title="Wordpress plugins" rel="nofollow" href="http://wordpress.org/extend/plugins/'" target="_blank">http://wordpress.org/extend/plugins/&#8217;</a>, &#8216;feed_link&#8217; =&gt; &#8216;<a title="topics" rel="nofollow" href="http://wordpress.org/extend/plugins/rss/topics/'" target="_blank">http://wordpress.org/extend/plugins/rss/topics/&#8217;</a>, &#8216;width&#8217; =&gt; &#8216;half&#8217; ),<br />
    &#8216;wp_dashboard_cached_rss_widget&#8217;, &#8216;wp_dashboard_plugins_output&#8217;,<br />
    array( &#8216;http://wordpress.org/extend/plugins/rss/browse/popular/, &#8216;<a rel="nofollow" href="http://wordpress.org/extend/plugins/rss/browse/new/'" target="_blank">http://wordpress.org/extend/plugins/rss/browse/new/&#8217;</a>, &#8216;<a href="http://wordpress.org/extend/plugins/rss/browse/updated/'">http://wordpress.org/extend/plugins/rss/browse/updated/&#8217;</a> )<br />
);</p></blockquote>
<p>然後接下來是<strong>// Primary feed (Dev Blog) Widget</strong>部份，看網址就知道了，就是WordPress 開發部落格的feed的那部份內容，直接把下面的代碼刪除：</p>
<blockquote><p>// Primary feed (Dev Blog) Widget<br />
    if ( !isset( $widget_options['dashboard_primary'] ) ) {<br />
        $update = true;<br />
        $widget_options['dashboard_primary'] = array(<br />
            &#8216;link&#8217; =&gt; apply_filters( &#8216;dashboard_primary_link&#8217;,  __( &#8216;<a rel="nofollow" href="http://wordpress.org/development/'">http://wordpress.org/development/&#8217;</a> ) ),<br />
            &#8216;url&#8217; =&gt; apply_filters( &#8216;dashboard_primary_feed&#8217;,  __( &#8216;<a rel="nofollow" href="http://wordpress.org/development/feed/'">http://wordpress.org/development/feed/&#8217;</a> ) ),<br />
            &#8216;title&#8217; =&gt; apply_filters( &#8216;dashboard_primary_title&#8217;, __( &#8216;WordPress Development Blog&#8217; ) ),<br />
            &#8216;items&#8217; =&gt; 2,<br />
            &#8217;show_summary&#8217; =&gt; 1,<br />
            &#8217;show_author&#8217; =&gt; 0,<br />
            &#8217;show_date&#8217; =&gt; 1<br />
        );<br />
    }<br />
    wp_register_sidebar_widget( &#8216;dashboard_primary&#8217;, $widget_options['dashboard_primary']['title'], &#8216;wp_dashboard_empty&#8217;,<br />
        array( &#8216;all_link&#8217; =&gt; $widget_options['dashboard_primary']['link'], &#8216;feed_link&#8217; =&gt; $widget_options['dashboard_primary']['url'], &#8216;width&#8217; =&gt; &#8216;half&#8217;, &#8216;class&#8217; =&gt; &#8216;widget_rss&#8217; ),<br />
        &#8216;wp_dashboard_cached_rss_widget&#8217;, &#8216;wp_dashboard_rss_output&#8217;<br />
    );<br />
    wp_register_widget_control( &#8216;dashboard_primary&#8217;, __( &#8216;Primary Feed&#8217; ), &#8216;wp_dashboard_rss_control&#8217;, array(),<br />
        array( &#8216;widget_id&#8217; =&gt; &#8216;dashboard_primary&#8217; )<br />
    );</p></blockquote>
<p>上面的刪除動作，都是看大家各自所需，大家可以把自己的wp-admin/includes/dashboard.php這個文檔先備份好，然後自己各自試一下，反正在後臺，效果再差別人也看不到，如果搞壞了，再把原來備份的上傳恢復就可以了。</p>
<p>另外，各版本的WordPress，feed內容有所不同，比如說中文化的版本，可能中文化者會加入中文化網站的feed，這些，其實他們的內容出現在那裡也沒什麼不好的，只是覺得有些朋友不研究WordPress的，就沒必要關注那些了，去掉了會快一些吧。</p>
<p>或者，我把清除的文檔傳上來，你可以下載了上傳到你的空間直接覆蓋也行，看看效果吧：</p>
<p><a href="http://poshi.org/poshi/wp-content/uploads/2008/08/wordpressadmin.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" title="WordPress-admin" src="http://poshi.org/poshi/wp-content/uploads/2008/08/wordpressadmin-thumb.png" border="0" alt="WordPress-admin" width="604" height="484" /></a></p>
<p>你可以下載這個文檔上傳到你Wordpress目錄wp-admin/includes/下，把原來的dashboard.php直接覆蓋就行了：</p>
<p>dashboard.php（<a title="點選下載" href="http://poshi.org/poshi/wp-content/uploads/2008/08/dashboard.zip" target="_blank">點選下載</a>）</p>
<p>update:由於直接放上php文檔，會直接執行，而不是下載，所以我把這個文檔先放到zip裡了，大家下載了zip直接解壓出來就可以用。</p>
<p>這個文檔是2.5版本的，不過2.6基本上一樣，我都測試過了，應該不會有什麼大問題，因為這個只是外觀的問題吧。如果你是直接覆蓋的，為了減少垃圾，請打開wp-admin/index.php文檔，找到以下幾行代碼：</p>
<blockquote><p>jQuery(function() {<br />
jQuery(’#incominglinks’).load(’index-extra.php?jax=incominglinks’);<br />
jQuery(’#devnews’).load(’index-extra.php?jax=devnews’);<br />
jQuery(’#planetnews’).load(’index-extra.php?jax=planetnews’);<br />
});</p></blockquote>
<p>如果你留了最新評論和鏈入連結的話，就把後面的刪了吧，然後留下下面這樣：</p>
<blockquote><p>jQuery(function() {<br />
jQuery(’#incominglinks’).load(’index-extra.php?jax=incominglinks’); }</p></blockquote>
<p>不過，好像上面說到的代碼，應該是2.3的吧？2.51不是這樣的，不過放心，原理是一樣的，我找到2.51版本是這樣的：</p>
<blockquote><p>&lt;script type=』text/javascript』&gt;<br />
jQuery(function($) {<br />
    var ajaxWidgets = {<br />
        dashboard_incoming_links: &#8216;incominglinks&#8217;,<br />
        dashboard_primary: &#8216;devnews&#8217;,<br />
        dashboard_secondary: &#8216;planetnews&#8217;,<br />
        dashboard_plugins: &#8216;plugins&#8217;<br />
    };<br />
    $.each( ajaxWidgets, function(i,a) {<br />
        var e = jQuery(&#8216;#&#8217; + i + &#8216; div.dashboard-widget-content&#8217;).not(&#8216;.dashboard-widget-control&#8217;).find(&#8216;.widget-loading&#8217;);<br />
        if ( e.size() ) { e.parent().load(&#8216;index-extra.php?jax=&#8217; + a); }<br />
    } );<br />
});<br />
&lt;/script&gt;</p></blockquote>
<p>如果你要全部都不要啦，那你可以找到上面的內容全部刪掉，如果你要像本文中的一樣，就只要修改你dashboard中刪掉的部份就可以了，我是把其中的這幾行去掉：</p>
<blockquote><p>        dashboard_primary: &#8216;devnews&#8217;,<br />
        dashboard_secondary: &#8216;planetnews&#8217;,<br />
        dashboard_plugins: &#8216;plugins&#8217;</p></blockquote>
<p>最後變成這樣：</p>
<blockquote><p>&lt;script type=』text/javascript』&gt;<br />
jQuery(function($) {<br />
    var ajaxWidgets = {<br />
        dashboard_incoming_links: &#8216;incominglinks&#8217;    };<br />
    $.each( ajaxWidgets, function(i,a) {<br />
        var e = jQuery(&#8216;#&#8217; + i + &#8216; div.dashboard-widget-content&#8217;).not(&#8216;.dashboard-widget-control&#8217;).find(&#8216;.widget-loading&#8217;);<br />
        if ( e.size() ) { e.parent().load(&#8216;index-extra.php?jax=&#8217; + a); }<br />
    } );<br />
});<br />
&lt;/script&gt;</p></blockquote>
<p>不過呢，上面這個步驟，只是為了減少垃圾的產生，據說可以減少，不過不知道，像這樣不是全部刪掉，是不是還會有效果。總之，如果你只是不想看到太多RSS的內容，並且已經照本文的辦法修改了dashboard.php這個文檔，那不一定需要進行上面的步驟。</p>
<p>不載入原來那麼多RSS內容的後臺，至少看起來也簡潔多了吧？</p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/518.html" title="改用Math Comment Spam Protection 2.2抵擋Spam">改用Math Comment Spam Protection 2.2抵擋Spam</a> (3)</li><li><a href="http://poshi.org/post/456.html" title="不小心更新到了Wordpress2.71">不小心更新到了Wordpress2.71</a> (10)</li><li><a href="http://poshi.org/post/449.html" title="Wordpress.com在中國可以直接訪問？">Wordpress.com在中國可以直接訪問？</a> (1)</li><li><a href="http://poshi.org/post/401.html" title="解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a> (8)</li><li><a href="http://poshi.org/post/385.html" title="Wordpress顯示歷史留言及留言倒序">Wordpress顯示歷史留言及留言倒序</a> (4)</li><li><a href="http://poshi.org/post/379.html" title="發佈現在使用的『Neugarten beta 1.0』主題">發佈現在使用的『Neugarten beta 1.0』主題</a> (13)</li><li><a href="http://poshi.org/post/336.html" title="Wordpress使用noindex會被百度虐待？">Wordpress使用noindex會被百度虐待？</a> (13)</li><li><a href="http://poshi.org/post/289.html" title="Sweet blog，很かわいい的Wordpress佈景">Sweet blog，很かわいい的Wordpress佈景</a> (12)</li><li><a href="http://poshi.org/post/277.html" title="給Wordpress後臺換上全新的配色！">給Wordpress後臺換上全新的配色！</a> (12)</li><li><a href="http://poshi.org/post/265.html" title="Live Writer發佈不了Wordpress日誌的部份解決辦法">Live Writer發佈不了Wordpress日誌的部份解決辦法</a> (10)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2008<br />
Source: <a href="http://poshi.org/post/274.html">去除Wordpress後臺不需要的RSS內容</a><br />
<a href="http://poshi.org/post/274.html#comments">11 comments</a><br />
Post tags: <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/274.html/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Live Writer發佈不了Wordpress日誌的部份解決辦法</title>
		<link>http://poshi.org/post/265.html</link>
		<comments>http://poshi.org/post/265.html#comments</comments>
		<pubDate>Wed, 20 Aug 2008 02:09:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Windows Live]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://poshi.org/post/265</guid>
		<description><![CDATA[使用Live Writer發佈部落格，確實比較方便，不過想他寫Wordpress部落格的朋友，經常遇到奇怪的問題，也因為Wordpress和微軟根本就沒有一些技術上的交流吧，那現在我來說說之前我遇到過的，一些... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://poshi.org/post/tag/wordpress"><img title="Wordpress" src="http://tbn0.google.cn/images?q=tbn:Yduk3uKrjyKpjM:" border="0" alt="Wordpress" align="right" /></a>使用Live Writer發佈部落格，確實比較方便，不過想他寫Wordpress部落格的朋友，經常遇到奇怪的問題，也因為Wordpress和微軟根本就沒有一些技術上的交流吧，那現在我來說說之前我遇到過的，一些自己本人已經解決的情況吧。</p>
<p><span id="more-265"></span></p>
<h4>BSP或者wordpress mu</h4>
<p>首先，我在.hkbloggers.net中註冊過一個部落格帳號，那邊用的是1.2.1的wordpress mu ，那個似乎就不能在Live Writer中設置，有沒有朋友用Live Writer發佈過Wordpress mu的？</p>
<p>另外，國內有些BSP，可能對Live Writer的支持不好，這個我還沒有去研究過，以後有時間專門為BSP做一個測試。</p>
<h4>Wordpress已經被修改或破壞過？</h4>
<p>記得在Live Writer設置2.51版本時，經常出現的問題，是xmlrpc.php的問題，可能是這樣的：</p>
<blockquote><p>Invalid Server Response &#8211; The response to the metaWeblog.newPost method received from the weblog server was invalid:<br />
Invalid response document returned from XmlRpc server</p></blockquote>
<p>中文是：</p>
<blockquote><p>伺服器回應無效－從日誌伺服器接受的對blogger.getUserBlogs方法的回應無效：<br />
<strong></strong>Invalid response document returned from XmlRpc server</p></blockquote>
<p>這種情況，有可能你使用的Wordpress已經不是原始版本，或者說你的Wordpress有什麼地方被破壞及修改過。</p>
<p>那麼，首先在Wordpress文檔夾裡找一下xmlrpc.php這個文檔，確認他是存在的，如果之前你曾經修改過他，那麼你試一下用原始版本的xmlrpc.php覆蓋，看能不能解決問題。</p>
<p>如果沒有什麼變化，<strong>你可以考慮重新安裝你的Wordpress。</strong></p>
<p>首先，你先要備份你的部落格資料，關於部落格資料的備份，可以參考老億寫的<a title="五種備份WordPress資料庫的方法" href="http://blog.yiyidu.com/2008_408.html" target="_blank">五種備份WordPress資料庫的方法</a>一文，我推薦使用該文中的第一種方法，也就是使用<a href="http://www.ilfilosofo.com/blog/wp-db-backup/"><strong>WordPress Database Backup</strong></a>外掛去備份，因為我自己使用這個辦法，之後可以完全恢復部落格的資料。</p>
<p>接下來，把沒有經過修改的Wordpress文檔先上傳好，如果你原來的Wordpress目錄是blog，那麼你新上傳的目錄名可以先使用blog2。</p>
<p>上傳好之後，在你的伺服器或者主機的控制面板中，把你部落格的Mysql資料庫（備份以後）全部直接刪除或清除。</p>
<p>接下來要刪除你原來的wordpress目錄（比如像上面說到的blog），當然了，如果你有一些修改過的佈景，及外掛，可能要把佈景和外掛也備份，這個看自己的需要吧。</p>
<p>刪除之後，你把上面我們新上傳的blog2目錄，就直接修改為blog吧，接下來，就是全新安裝你的Wordpress部落格了！</p>
<p>這個，你真的就當作是你新安裝的部落格好了，安裝好了之後，現在打開你的Live Writer開始測試吧！</p>
<p>Live Writer的設置，可以參考這篇文章：<a title="用Live writer發佈Wordpress文章" href="http://poshi.org/post/173" target="_blank">用Live writer發佈Wordpress文章</a>。</p>
<p>好，你的Live Writer，可以發佈Wordpress日誌了嗎？如果可以了，那就太好了，接下來，你可以用你之前備份的你部落格的Mysql文檔，來恢復你的部落格資料了。</p>
<p>你知道怎麼導入吧？這個時候在Mysql的“導入”選項（或Import）中，選擇你之前備份的Mysql資料檔案（一般是sql.gz尾碼），導入，一般這個過程可能需要幾分鐘，最好關掉多餘的程式，會快一些（這個不懂的話可以留言，可以另外討論）。</p>
<p>導入成功了嗎？然後你打開你的部落格，是不是正常？有沒有什麼問題？各個地方檢查一下，如果沒問題的話，再一次在Live Writer中設置你的日誌帳號，要重新添加的。</p>
<p>然後，如果沒問題的話，設置好帳戶之後，你就可以發佈你真正意義上使用Live Writer寫的第一篇Wordpress日誌了，那好，告訴大家，你就是用Live Writer發佈的吧！</p>
<h4>可能是某個外掛引起的</h4>
<p>有些人的情況是這樣的，不僅不能用Live Writer發佈日誌，而且Wordpress內置文章編輯器也不能切換html狀態。</p>
<p>那麼，這種情況，直接把全部外掛禁用吧，然後，如果你發現就可以在Live Writer中寫日誌的話，你發佈一篇日誌，然後，你視自己各個外掛的重要性，一個一個去開啟。每開啟一次，就將那篇日誌修改一次（修改了點發表），如果這個修改可以發表出去的話，你剛開啟的外掛就沒問題。</p>
<p>這樣做的目的，是想要知道，當你開啟哪個外掛之後，就會導致你的Live Writer有問題。</p>
<p>目前，我可以確定對我沒問題的外掛有<strong>中文 WordPress工具箱</strong>、<strong>post view</strong>、<strong>All in One SEO Pack</strong>、<strong>Google Sitemaps</strong>、<strong>Show Top Commentators</strong>、<strong>WordPress Database Backup</strong>、<strong>WordPress Related Posts</strong>、<strong>WP-PageNavi</strong>、<strong>Wordpress Thread Comment。</strong></p>
<p>但是，很可惜的是，我檢查出來會導致Live Writer不正常的外掛，卻是Denis（我愛水煮魚）和Liu Yang的那個外掛<a href="http://17fav.com/wp-plugin">17fav Bookmark &amp; Share</a>，開啟了這個外掛以後，發佈日誌會顯示：</p>
<blockquote><p>The response to the metaWeblog.editPost method received from the weblog server was invalid:</p>
<p>Invalid response document returned from XmlRpc server.</p></blockquote>
<p>這個，到底是<a href="http://17fav.com/wp-plugin">17fav Bookmark &amp; Share</a>的哪個設置有問題？也許Denis需要為此研究一下？</p>
<h4>2.6版本Wordpress的問題</h4>
<p>有些朋友，從2.51升級到2.6之後Live Writer無法發佈日誌，這個我沒辦法解決，只能把2.6的刪了，就像上面說的一樣，重新用2.5版本的重新安裝一次，在2.5中，是沒問題的。</p>
<p>目前來說，使用2.6版本Wordpress時用不了Live Writer，這個問題還不知道怎麼解決，或者，好像2.6版本的Wordpress不應該是從2.5版本升級，而是直接安裝會好一些？</p>
<p>關於2.6的問題，因為本來用Live Writer寫Wordpress的人，就占的比例還不是很大，大家對這方面的研究都很少，所以一旦有問題，還是比較幽靈了。</p>
<h4>偽總結</h4>
<p>其實，我們遇到的這些問題，實際上應該都是一些小問題，可能就因為某些代碼，這個，可以說，Wordpress跟微軟沒有什麼這方面的交流（雖然我不知道是不是有必要有這個交流），或者說目前微軟軟的這個Windows Live Writer，還是停留在自己研究自己的那種狀態吧。</p>
<p>總而言之，我們這些用戶關心的問題，總是被那些開發者放到角落了，他們在研究他們的“超級系統”呢，如果真是那樣，那可是我們一般用不來的！</p>
<p>唉，說了半天，這些幽靈問題，其實應該要由開發者來考慮的…</p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/173.html" title="用Live writer發佈Wordpress文章">用Live writer發佈Wordpress文章</a> (21)</li><li><a href="http://poshi.org/post/518.html" title="改用Math Comment Spam Protection 2.2抵擋Spam">改用Math Comment Spam Protection 2.2抵擋Spam</a> (3)</li><li><a href="http://poshi.org/post/456.html" title="不小心更新到了Wordpress2.71">不小心更新到了Wordpress2.71</a> (10)</li><li><a href="http://poshi.org/post/449.html" title="Wordpress.com在中國可以直接訪問？">Wordpress.com在中國可以直接訪問？</a> (1)</li><li><a href="http://poshi.org/post/437.html" title="Windows Live Writer與Spaces的配合使用">Windows Live Writer與Spaces的配合使用</a> (4)</li><li><a href="http://poshi.org/post/401.html" title="解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a> (8)</li><li><a href="http://poshi.org/post/385.html" title="Wordpress顯示歷史留言及留言倒序">Wordpress顯示歷史留言及留言倒序</a> (4)</li><li><a href="http://poshi.org/post/379.html" title="發佈現在使用的『Neugarten beta 1.0』主題">發佈現在使用的『Neugarten beta 1.0』主題</a> (13)</li><li><a href="http://poshi.org/post/378.html" title="Windows Live Wave 3總算全面推出了？">Windows Live Wave 3總算全面推出了？</a> (7)</li><li><a href="http://poshi.org/post/336.html" title="Wordpress使用noindex會被百度虐待？">Wordpress使用noindex會被百度虐待？</a> (13)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2008<br />
Source: <a href="http://poshi.org/post/265.html">Live Writer發佈不了Wordpress日誌的部份解決辦法</a><br />
<a href="http://poshi.org/post/265.html#comments">10 comments</a><br />
Post tags: <a href="http://poshi.org/post/tag/windows-live" rel="tag">Windows Live</a>, <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/265.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Wordpress細節之post id意義上的偏差</title>
		<link>http://poshi.org/post/261.html</link>
		<comments>http://poshi.org/post/261.html#comments</comments>
		<pubDate>Fri, 15 Aug 2008 23:46:56 +0000</pubDate>
		<dc:creator>Poshi</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://poshi.org/?p=261</guid>
		<description><![CDATA[Wordpress中post的id，實際上開發者對post id的理解，跟我們用戶需求的，是不一樣的。我想像中的post id，就是你已經公開發表的文章的一個排列，你可以清楚知道，你發表的文章

這是第一篇了，... ]]></description>
			<content:encoded><![CDATA[<p>Wordpress中post的id，實際上開發者對post id的理解，跟我們用戶需求的，是不一樣的。我想像中的post id，就是你已經公開發表的文章的一個排列，你可以清楚知道，你發表的文章</p>
<p><span id="more-261"></span></p>
<p>這是第一篇了，你一共發表了多少篇文章。</p>
<p>可是在Wordpress中並不是這樣的，而是每一個未發表的草稿也佔用一個id了，這麼說，有時候我們的草稿最後並不一定都會發表，那麼，當我們刪除其中的一些沒用的草稿，人們看到的post id，實際上就對不上了，我們不能直觀地從post id知道我們一共寫了（發表的）多少篇文章。</p>
<p>或者，我有一篇草稿，在兩個月以前寫出來的，id是101，在兩個月以後我發表的post已經達到500篇了，那麼假設最新的一篇id為500吧，兩個月以前我寫的那篇草稿我這時終於把他完成，而人們在id為500的文章之後，又突然看到一篇id為101的文章，還是挺錯亂了。 </p>
<p>上面所說的情況，就是固定連結默認形式（?p=1這種)，或者其他帶有%post_id&amp;的形式，就像我的<a title="新後園" href="http://poshi.org" target="_blank">部落格</a>是<a href="http://poshi.org/post/500">http://poshi.org/post/500</a>，人們有時候就會注意到了，而我覺得就算對於固定連結裡沒有%post_id%的人，這也同樣是有問題的，在資料庫裡一樣是要有對應的post id，你同樣不知道自己有多少文章發表。</p>
<p>這不是很重要，但確實是一個問題，如果Wordpress在這方面重新考慮一下，已經發表的，和未發表的id，是否可以區分開來，如果能這樣就最好，請還我們一個真正意義上的post id，那些草稿就不要計算在內了&#8230;&#160; </p>
<p>說起來，Wordpress其實有很多細節，不知道為什麼，人家正常應該是可以做好的 ，他卻沒辦法解決，或者出現一些比較尷尬的情形，我希望Wordpress的開發者們 ，就不要想著把Wordpress越做功能越強大了，先把一些細節的問題給解決一下吧！</p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/518.html" title="改用Math Comment Spam Protection 2.2抵擋Spam">改用Math Comment Spam Protection 2.2抵擋Spam</a> (3)</li><li><a href="http://poshi.org/post/456.html" title="不小心更新到了Wordpress2.71">不小心更新到了Wordpress2.71</a> (10)</li><li><a href="http://poshi.org/post/449.html" title="Wordpress.com在中國可以直接訪問？">Wordpress.com在中國可以直接訪問？</a> (1)</li><li><a href="http://poshi.org/post/401.html" title="解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a> (8)</li><li><a href="http://poshi.org/post/385.html" title="Wordpress顯示歷史留言及留言倒序">Wordpress顯示歷史留言及留言倒序</a> (4)</li><li><a href="http://poshi.org/post/379.html" title="發佈現在使用的『Neugarten beta 1.0』主題">發佈現在使用的『Neugarten beta 1.0』主題</a> (13)</li><li><a href="http://poshi.org/post/336.html" title="Wordpress使用noindex會被百度虐待？">Wordpress使用noindex會被百度虐待？</a> (13)</li><li><a href="http://poshi.org/post/289.html" title="Sweet blog，很かわいい的Wordpress佈景">Sweet blog，很かわいい的Wordpress佈景</a> (12)</li><li><a href="http://poshi.org/post/277.html" title="給Wordpress後臺換上全新的配色！">給Wordpress後臺換上全新的配色！</a> (12)</li><li><a href="http://poshi.org/post/274.html" title="去除Wordpress後臺不需要的RSS內容">去除Wordpress後臺不需要的RSS內容</a> (11)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2008<br />
Source: <a href="http://poshi.org/post/261.html">Wordpress細節之post id意義上的偏差</a><br />
<a href="http://poshi.org/post/261.html#comments">26 comments</a><br />
Post tags: <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/261.html/feed</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Wordpress不同語言版本中的Hello World</title>
		<link>http://poshi.org/post/233.html</link>
		<comments>http://poshi.org/post/233.html#comments</comments>
		<pubDate>Sun, 20 Jul 2008 05:44:24 +0000</pubDate>
		<dc:creator>Poshi</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://poshi.org/post/233</guid>
		<description><![CDATA[我們知道，Wordpress在中國，有很多中國的朋友做了中文化，有了簡體中文語言包的Wordpress，而在香港和臺灣，又有正體中文也就是繁體中文語言包的版本，實際上每個版本都有一些小小的不同... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://poshi.org/post/tag/wordpress"><img title="Wordpress" alt="Wordpress" src="http://tbn0.google.cn/images?q=tbn:Yduk3uKrjyKpjM:" align="right" border="0" /></a>我們知道，Wordpress在中國，有很多中國的朋友做了中文化，有了簡體中文語言包的Wordpress，而在香港和臺灣，又有正體中文也就是繁體中文語言包的版本，實際上每個版本都有一些小小的不同，他們並不是純粹的直譯，當然更不會像Google翻譯那樣做。</p>
<p>今天我找了多種語言版本的，主要是一下子想到的那幾種語言的版本，大家看看先，</p>
<p><span id="more-233"></span></p>
<p>懂的版本你也可以研究一下。</p>
<p><strong>最經典的英文版Hello World</strong>：</p>
<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
<p><strong>中文版的你好世界</strong>（In Chinese）</p>
<p>歡迎來到 WordPress。這是您的第一篇文章。您可以修改或刪除它，然後開始撰寫您自己的部落格！</p>
<p><strong>Haloo Welt</strong> ！ (In German):</p>
<p>Willkommen zur deutschen Version von WordPress. Dies ist der erste Artikel. Du kannst ihn bearbeiten oder l&#246;schen. Um Spam zu vermeiden, geh doch gleich mal in den Pluginbereich und aktivier die entsprechenden Plugins. So, und nun genug geschwafelt &#8211; jetzt nichts wie ran ans Bloggen!</p>
<p><a href="http://wpplugins.ru/?p=1"><strong>Привет мир!</strong></a> (In Russian)</p>
<p>Добро пожаловать в WordPress. Это Ваша первая запись. Отредактируйте или удалите ее. Затем начинайте заниматься блогингом!</p>
<p><strong>日本語版本的こんにちは世界！</strong>（In Japanese）</p>
<p>WordPress へようこそ。これは最初の投稿です。編集もしくは削除してブログを始めてください !</p>
<p><strong>Bonjour tout le monde!</strong> (In French)     <br />Bienvenue dans <strong>WordPress</strong>. Ceci est votre premier article. Modifiez-<strong>le</strong> ou effacez-<strong>le</strong>, puis lancez-vous ! convert this post to pdf.</p>
<p><strong>韓語版本的我不知道題目，Google翻譯的是不對的</strong>（In Korea）     <br />wordpress에 오신 것을 환영합니다. This is your first post. 이것은 귀하의 첫 번째 게시물합니다. Edit or delete it, then start blogging! 수정 또는 삭제하면 그것을 다음 블로그를 시작!</p>
<p><strike>下面的幾種我先不說答案先，大家可以先猜猜，猜中有獎哦~~</strike>今天被<cite><a href="http://lxz.name">ddkk3000</a>在下面</cite>全部答對了，有時間再添加一些其他的版本呀，不過，這個只是一樂而已，沒什麼很大的意義。</p>
<p>Witaj świat ! （In Polish）   <br />Witaj w serwisie Wordpress. To jest pierwszy wpis na Twoim blogu. Możesz go edytować lub usunąć, aby zacząć blogować!</p>
<p>Hei maailma! (In Finish)   <br />Tervetuloa Wordpress blogiin. T&#228;m&#228; on ensimm&#228;inen artikkelisi. Muokkaa tai tuhoa t&#228;m&#228; artikkeli ja aloita bloggaaminen!</p>
<p>iHola mundo! (In Spanish)   <br />Bienvenido a WordPress. Este es tu primer post. Ed&#237;talo o borralo &#161;y comienza a publicar!</p>
<p>Ciao mondo!! (In Italian)   <br />Benvenuto in WordPress. Questo &#232; il tuo primo articolo. Modificalo o cancellalo e inizia a creare il tuo blog!</p>
<p>Ol&#225;, mundo! (In Portugal)   <br />Bem-vindo ao WordPress. Este &#233; o seu primeiro artigo. Edite-o ou elimine-o e d&#234; vida ao seu blog!</p>
<p>其實有很多的，不過今天就只放這幾種了，有時間再說吧。</p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/518.html" title="改用Math Comment Spam Protection 2.2抵擋Spam">改用Math Comment Spam Protection 2.2抵擋Spam</a> (3)</li><li><a href="http://poshi.org/post/456.html" title="不小心更新到了Wordpress2.71">不小心更新到了Wordpress2.71</a> (10)</li><li><a href="http://poshi.org/post/449.html" title="Wordpress.com在中國可以直接訪問？">Wordpress.com在中國可以直接訪問？</a> (1)</li><li><a href="http://poshi.org/post/401.html" title="解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a> (8)</li><li><a href="http://poshi.org/post/385.html" title="Wordpress顯示歷史留言及留言倒序">Wordpress顯示歷史留言及留言倒序</a> (4)</li><li><a href="http://poshi.org/post/379.html" title="發佈現在使用的『Neugarten beta 1.0』主題">發佈現在使用的『Neugarten beta 1.0』主題</a> (13)</li><li><a href="http://poshi.org/post/336.html" title="Wordpress使用noindex會被百度虐待？">Wordpress使用noindex會被百度虐待？</a> (13)</li><li><a href="http://poshi.org/post/289.html" title="Sweet blog，很かわいい的Wordpress佈景">Sweet blog，很かわいい的Wordpress佈景</a> (12)</li><li><a href="http://poshi.org/post/277.html" title="給Wordpress後臺換上全新的配色！">給Wordpress後臺換上全新的配色！</a> (12)</li><li><a href="http://poshi.org/post/274.html" title="去除Wordpress後臺不需要的RSS內容">去除Wordpress後臺不需要的RSS內容</a> (11)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2008<br />
Source: <a href="http://poshi.org/post/233.html">Wordpress不同語言版本中的Hello World</a><br />
<a href="http://poshi.org/post/233.html#comments">9 comments</a><br />
Post tags: <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/233.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>WP-PageNavi 2.30安裝後無法使用的問題解決</title>
		<link>http://poshi.org/post/212.html</link>
		<comments>http://poshi.org/post/212.html#comments</comments>
		<pubDate>Mon, 14 Jul 2008 06:54:08 +0000</pubDate>
		<dc:creator>Poshi</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://poshi.org/post/212</guid>
		<description><![CDATA[今天，你看到了吧？在我首頁接近底部的地方，多出了一個Pagenavi的翻頁條，我覺得，這相對於Wordpress默認的只有上下頁的翻頁方式，這看起來酷多了！那麼，實際上就是說我解決了Pagenavi代碼... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://poshi.org/post/tag/wordpress"><img title="Wordpress" alt="Wordpress" src="http://tbn0.google.cn/images?q=tbn:Yduk3uKrjyKpjM:" align="right" border="0" /></a>今天，你看到了吧？在我首頁接近底部的地方，多出了一個Pagenavi的翻頁條，我覺得，這相對於Wordpress默認的只有上下頁的翻頁方式，這看起來酷多了！那麼，實際上就是說我解決了Pagenavi代碼的問題了！</p>
</p>
<p><span id="more-212"></span></p>
<p>之前<a href="http://poshi.org/post/188">pagebar、Pagenavi還有wp-postview讓我還沒瘋</a>中，說到我試了Pagebar和Pagenavi都沒辦法正常使用，我就只說Wp-Pagenavi遇到的問題吧，從<a title="WP-PageNavi" href="http://www.lesterchan.net/portfolio/programming.php" target="_blank">作者網站</a>下載<a title="點選下載 WP-PageNavi 2.23" href="http://downloads.wordpress.org/plugin/wp-pagenavi.2.30.zip" target="_blank">WP-PageNavi 2.23</a>，然後把解壓的這個外掛的文檔夾上傳到/wp-content/plugins 中，啟動，接下來是插入代碼的問題，在Eric Cheung的<a href="http://www.numb3rs.cn/wp-pagenavi/">WordPress外掛WP-PageNavi的使用和中文化包下載</a>這篇文章裡說的是，</p>
<ul>
<li>打開 /wp-content/themes/&lt;YOUR THEME NAME&gt;/footer.php（或者其他文檔如 index.php） </li>
<li>增加下面的代碼到合適的地方
<p>PHP代碼</p>
<ol>
<li>&lt;?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); } ?&gt; </li>
</ol>
</li>
<li>到 “WP-Admin <strong>-&gt; </strong>Options<strong> -&gt; </strong>PageNavi” 配置 WP-PageNavi 外掛的參數 </li>
</ul>
<p>他只是說增加到合適的地方，但我那個時候試了把代碼放在很多地方了，就是沒看到效果，不過，可以肯定這個代碼是對的，因為老億在<a title="給部落格裝上了WordPress頁面PageNavi外掛" href="http://blog.yiyidu.com/2008_126.html" target="_blank">給部落格裝上了WordPress頁面PageNavi外掛</a>這篇文章中說他用這個外掛，也是用這個代碼實現效果的，他那邊是成功了，可見代碼是沒錯的（Google中搜一下可以看到有些朋友用的代碼有些不一樣，實際上應該只是寫法不同，道理是一樣的）。</p>
<p>難道插入代碼之後，還要到後臺設置了才可以顯示？問題是我後臺的Pagenavi設置頁是進不去打不開的，他們說的WP-Admin（管理中心） <strong>-&gt; </strong>Options （設置）<strong>-&gt; </strong>PageNavi這個地址我這邊是有問題的。如果是對的，應該是wp-admin/options-general.php?page=wp-pagenavi/pagenavi-options.php，但我這邊沒有前面的“options-general.php?page=”參數。</p>
<p>這兩天，由於新換了新的主題，我又想試試是不是可以加入這個外掛。今天去老億首頁看他的翻頁效果，無意間發現了裝了Pagenavi這個外掛的部落格，首頁源代碼裡有嵌入用於Pagenavi的CSS代碼，有些是直接可以看到所有的CSS代碼了，而像老億的是用鏈入的方式（link），代碼是</p>
<blockquote>
<p>&lt;link rel=&quot;stylesheet&quot; href=&quot;<a href="http://blog.yiyidu.com/wp-content/plugins/pagenavi/pagenavi-css.css" ?="?">http://blog.yiyidu.com/wp-content/plugins/pagenavi/pagenavi-css.css&quot;</a> type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;</p>
</blockquote>
<p>基本上大家的位址都是wp-content/plugins/pagenavi/pagenavi-css.css，這個好像沒什麼，當我打開<a title="新後園" href="http://poshi.org" target="_blank">自己的首頁</a>查看源代碼，發現居然也是wp-content/plugins/pagenavi/pagenavi-css.css，這下我發現問題了。</p>
<p>因為，比如說2.23版本的Pagenavi，解壓出來的文檔夾是wp-pagenavi.2.30，我傳上去之後沒有修改，當然應該是wp-content/plugins/wp-pagenavi.2.30/pagenavi-css.css，但這個外掛似乎是不會自動更正位址的，想想也當然是不對的。</p>
<p>那麼，我到後臺先禁用了Pagenavi這個外掛，然後我打開FTP，直接把wp-pagenavi.2.30這個文檔夾重命名為wp-pagenavi，再到WP管理後臺重新啟用這個外掛。</p>
<p>結果，就是你們現在看到的那樣，我終於成功啟用了Pagenavi，特地截圖一張：</p>
<p><img title="WP-Pagenavi 效果" alt="WP-Pagenavi 效果" src="http://photo1.bababian.com/upload11/20080714/9E7CAC4F5023B9DBA8C5E3DA624D6F91_500.jpg" /> </p>
<p>大家看到上圖，是我修改過參數之後的效果，現在附上我的修改（大家安裝成功之後，可以在管理中心的設置中找到Pagenavi的設置選項，點進去會看到的），括弧中的內容是解釋：</p>
<blockquote>
<p>Text For Number Of Pages Page 總頁數：%CURRENT_PAGE% of %TOTAL_PAGES%<br />
    <br />Text For Current Page 當前頁：%PAGE_NUMBER% </p>
<p>Text For Page 頁數：%PAGE_NUMBER% </p>
<p>Text For First Post 首頁：« 第一頁 </p>
<p>Text For Last Post 尾頁：最後一頁 » </p>
<p>Text For Next Post 下一頁：下一頁 </p>
<p>Text For Previous Post 上一頁：上一頁 </p>
<p>Text For Next … 下：&#8230; </p>
<p>Text For Previous … 上：&#8230;</p>
</blockquote>
<p>如果你覺得把Pagenavi設置跟我一樣的效果，就照上面相對應的值填好就可以了，填好之後，發現往下還有一個“<strong>Page Navigation Options</strong>”，其中的“Page Navigation Style”是選擇Pagenavi要使用我們平常的翻頁條樣式，還是用下拉條的樣式，如果選擇了下拉條的樣式（Drop Down list），會是這樣的效果：</p>
<p><img title="Pagenavi Drop Down list" alt="Pagenavi Drop Down list" src="http://photo1.bababian.com/upload11/20080714/A01F7F622A09E83E6359A08C890D707A_500.jpg" /> </p>
<p>而“Number Of Pages To Show?”，是設置翻頁條顯示的頁數，比如我填的是13，而你在我首頁看到的翻頁條，就是從1頁到13頁，這個應該可以隨便設置。<strike>不過最後的“Always Show Page Navigation?”我就不大明白了，他是說“總是顯示嗎”，默認是No，我的翻頁條好像沒什麼影響，我只是把代碼插入到index，類別及存檔頁面的都沒有改，但一樣是“總是顯示”，所以這裡應該可以不管他先</strike>網友phy在下面留言告訴我，他說:</p>
<blockquote>
<p>Always Show Page Navigation這個玩意兒如果打勾，你的首頁如果只有一頁的日誌，也會顯示導航條，不打的話就不顯示。</p>
</blockquote>
<p>那麼，用No就對了，因為如果你首頁只有一頁日誌的話，也沒必要有那個東西，這個不是很重點的~~~</p>
<p>以上的設置好了，直接“Save Changes“就行了，下面的“Uninstall WP-PageNavi”是卸載Pagenavi用的，好像有人說不要亂碰他，不然會出一些什麼問題。</p>
<p>最後再重複一遍，插入的代碼是&lt;?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); } ?&gt; ，在你的index.php文檔中，找到原來的翻頁代碼，應該在index.php的&lt;?php endwhile; ?&gt;後面，比如我原來的是：</p>
<blockquote>
<p>&lt;div class=&quot;navigation&quot;&gt;<br />
    <br />&lt;span class=&quot;previous-entries&quot;&gt;&lt;?php next_posts_link(&#8216;Previous Entries&#8217;) ?&gt;&lt;/span&gt; &lt;span class=&quot;next-entries&quot;&gt;&lt;?php previous_posts_link(&#8216;Next Entries&#8217;) ?&gt;&lt;/span&gt; </p>
<p>&lt;/div&gt;</p>
</blockquote>
<p>直接全部覆蓋了就行了，比如我的修改為：</p>
<blockquote>
<p>&lt;div class=&quot;navigation&quot;&gt;<br />
    <br />&lt;?php wp_pagenavi() ?&gt; </p>
<p>&lt;/div&gt;</p>
</blockquote>
<p>如果有哪位朋友使用這個外掛有什麼問題，也歡迎留言，我們應該可以研究出解決問題的辦法的，另外我使用的是目前的最新版即2.23版，推薦大家使用新版的：</p>
<p><a title="WP-PageNavi 2.30   Readme" href="http://lesterchan.net/wordpress/readme/wp-pagenavi.html" target="_blank">WP-PageNavi 2.30 Readme</a>（作者網點的WP-PageNavi 2.30使用說明英語原文）</p>
<p><a title="WP-PageNavi 2.30   Readme" href="http://lesterchan.net/wordpress/readme/wp-pagenavi.html" target="_blank">WP-PageNavi 2.30</a>下載地址：<a title="點選下載 WP-PageNavi 2.30" href="http://downloads.wordpress.org/plugin/wp-pagenavi.2.30.zip" target="_blank">http://downloads.wordpress.org/plugin/wp-pagenavi.2.30.zip</a></p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/518.html" title="改用Math Comment Spam Protection 2.2抵擋Spam">改用Math Comment Spam Protection 2.2抵擋Spam</a> (3)</li><li><a href="http://poshi.org/post/456.html" title="不小心更新到了Wordpress2.71">不小心更新到了Wordpress2.71</a> (10)</li><li><a href="http://poshi.org/post/449.html" title="Wordpress.com在中國可以直接訪問？">Wordpress.com在中國可以直接訪問？</a> (1)</li><li><a href="http://poshi.org/post/401.html" title="解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a> (8)</li><li><a href="http://poshi.org/post/385.html" title="Wordpress顯示歷史留言及留言倒序">Wordpress顯示歷史留言及留言倒序</a> (4)</li><li><a href="http://poshi.org/post/379.html" title="發佈現在使用的『Neugarten beta 1.0』主題">發佈現在使用的『Neugarten beta 1.0』主題</a> (13)</li><li><a href="http://poshi.org/post/336.html" title="Wordpress使用noindex會被百度虐待？">Wordpress使用noindex會被百度虐待？</a> (13)</li><li><a href="http://poshi.org/post/289.html" title="Sweet blog，很かわいい的Wordpress佈景">Sweet blog，很かわいい的Wordpress佈景</a> (12)</li><li><a href="http://poshi.org/post/277.html" title="給Wordpress後臺換上全新的配色！">給Wordpress後臺換上全新的配色！</a> (12)</li><li><a href="http://poshi.org/post/274.html" title="去除Wordpress後臺不需要的RSS內容">去除Wordpress後臺不需要的RSS內容</a> (11)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2008<br />
Source: <a href="http://poshi.org/post/212.html">WP-PageNavi 2.30安裝後無法使用的問題解決</a><br />
<a href="http://poshi.org/post/212.html#comments">26 comments</a><br />
Post tags: <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/212.html/feed</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>暫別Scott Allan Wallick的plaintxtblog佈景</title>
		<link>http://poshi.org/post/208.html</link>
		<comments>http://poshi.org/post/208.html#comments</comments>
		<pubDate>Fri, 11 Jul 2008 13:25:51 +0000</pubDate>
		<dc:creator>Poshi</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress themes]]></category>

		<guid isPermaLink="false">http://poshi.org/post/208</guid>
		<description><![CDATA[事實上，Scott Allan Wallick的plaintxtblog主題，是我很喜歡的，因為很簡潔，雖然有些地方對於中文用戶來說，習慣是有些不同（我也做了很多調整）。不過，由於某些原因，或者說，我用這個佈景... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://poshi.org/post/tag/wordpress"><img title="Wordpress" alt="Wordpress" src="http://tbn0.google.cn/images?q=tbn:Yduk3uKrjyKpjM:" align="right" border="0"/></a>事實上，<a title="Scott Allan Wallick Wordpress Themes" href="http://scottwallick.com/" target="_blank">Scott Allan Wallick</a>的<a title="plaintxtblog theme by Scott Allan Wallick" href="http://www.plaintxt.org/themes/plaintxtblog/" target="_blank">plaintxtblog</a>主題，是我很喜歡的，因為很簡潔，雖然有些地方對於中文用戶來說，習慣是有些不同（我也做了很多調整）。不過，由於某些原因，或者說，我用這個佈景有一個月了，現在是該換一下心情的時候了，一直以來，我一直在用簡潔的佈景，現在也該“絢麗”一下了吧。這也是今天突然佈景換了的原因。</p>
</p>
<p><span id="more-208"></span></p>
<p>現在，我找到一個日誌佈景比較寬的佈景，我今天找到很多美麗的佈景，但就因為日誌模組的寬度。如果你是一個攝影部落格，對於日誌模組的寬度，是絕對很重視的，因為過窄的寬度，就不能放寬一些的攝影作品，我也發現，似乎wordpress佈景挺多的，就是日誌模組比較寬的好佈景卻不多。</p>
<p>雖然我不是一個攝影部落格，但由於以前的部落格中出現過一些700px的圖片，或者說有些圖片是用align屬性環繞在文字當中的，如果日誌模組過窄的話，會造成那篇Post嚴重變形，那實在太難看了。</p>
<p>現在你看到的這個新佈景，是來自Jinsona designs的Dreamz（我無法打開Jinsona designs的網站，所以不能確定這個作者的情況，給的是別的網站的下載連結，如果這個佈景有更新，現在也不知道吧），從下面的截圖來看，這似乎是個“絢麗”的佈景，所以我開始試用他。</p>
<p><img style="margin: 0px 20px 0px 0px" alt="" src="http://poshi.org/test/wp-content/themes/dreamz/dreamz/screenshot.png" align="left"/></p>
</p>
</p>
</p>
<p>這個主題，首先是版權聲明那部份太噁心了，難道原作者就是這麼寫的？或者被別人修改過？</p>
<blockquote>
<p>Powered By Wordpress &#8211; Theme Provided By Free Wordpress Themes &#8211; Web Hosting</p>
</blockquote>
<p>這些字居然還擠到了日誌模組裡，太噁心了，如果是原作者寫的話，這裡不僅沒有他自己的網址，還沒有其他的內容，有時間再改改吧。</p>
<p>發現這個主題有個很嚴重的問題，就是，居然沒有加上搜索。之前沒感覺有什麼，剛剛想在自己部落格裡找一篇文章，才想到的，原來沒有搜索是很慘的事。如果不是在自己的部落格上，我想，沒有搜索的話我才不會去一個類別一個類別去找，一般情況下是這樣的。所以，這個問題也只能自己解決了，不知道這個佈景有沒有更新的版本？先試用一下，如果不錯的話再找找，不行的話，我幫原作者改一下，再給需要的朋友下載吧。</p>
<p>另外，有很多細節的也需要調整的，比如每個頁面的Title，就拿<a href="http://poshi.org/post/160">開始使用“Wordpress秀”（avatar）</a>這篇文章的Title吧，現在顯示的是“<a title="新後園" href="http://poshi.org" target="_blank">新後園</a>，然後才是Blog Archive，到文章標題，這對於SEO不是很好，而且人家看網頁的時候，有時候要收藏的話也不方便。這也是要調整的地方。</p>
<p>挺多地方需要修改的，不過，今天先讓<a title="新後園" href="http://poshi.org" target="_blank">新後園</a>就在這個佈景原始狀態下渡過一天吧。</p>
<p>關於<a title="Scott Allan Wallick Wordpress Themes" href="http://scottwallick.com/" target="_blank">Scott Allan Wallick</a>的<a title="plaintxtblog theme by Scott Allan Wallick" href="http://www.plaintxt.org/themes/plaintxtblog/" target="_blank">plaintxtblog</a>主題，我做了很多修改，我想，改天我把這個主題做一些保守的調整，給一些對這個主題有興趣的朋友試用，實際上我只是覺得原作者做的都是簡潔主題，他的風格我都挺喜歡的，可能我用過的主題，希望他能以更好的狀態讓大家看到吧！</p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/379.html" title="發佈現在使用的『Neugarten beta 1.0』主題">發佈現在使用的『Neugarten beta 1.0』主題</a> (13)</li><li><a href="http://poshi.org/post/289.html" title="Sweet blog，很かわいい的Wordpress佈景">Sweet blog，很かわいい的Wordpress佈景</a> (12)</li><li><a href="http://poshi.org/post/518.html" title="改用Math Comment Spam Protection 2.2抵擋Spam">改用Math Comment Spam Protection 2.2抵擋Spam</a> (3)</li><li><a href="http://poshi.org/post/456.html" title="不小心更新到了Wordpress2.71">不小心更新到了Wordpress2.71</a> (10)</li><li><a href="http://poshi.org/post/449.html" title="Wordpress.com在中國可以直接訪問？">Wordpress.com在中國可以直接訪問？</a> (1)</li><li><a href="http://poshi.org/post/401.html" title="解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a> (8)</li><li><a href="http://poshi.org/post/385.html" title="Wordpress顯示歷史留言及留言倒序">Wordpress顯示歷史留言及留言倒序</a> (4)</li><li><a href="http://poshi.org/post/336.html" title="Wordpress使用noindex會被百度虐待？">Wordpress使用noindex會被百度虐待？</a> (13)</li><li><a href="http://poshi.org/post/277.html" title="給Wordpress後臺換上全新的配色！">給Wordpress後臺換上全新的配色！</a> (12)</li><li><a href="http://poshi.org/post/274.html" title="去除Wordpress後臺不需要的RSS內容">去除Wordpress後臺不需要的RSS內容</a> (11)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2008<br />
Source: <a href="http://poshi.org/post/208.html">暫別Scott Allan Wallick的plaintxtblog佈景</a><br />
<a href="http://poshi.org/post/208.html#comments">11 comments</a><br />
Post tags: <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a>, <a href="http://poshi.org/post/tag/wordpress-themes" rel="tag">Wordpress themes</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/208.html/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>wp-postview1.3及1.2安裝使用問題記</title>
		<link>http://poshi.org/post/190.html</link>
		<comments>http://poshi.org/post/190.html#comments</comments>
		<pubDate>Fri, 20 Jun 2008 05:32:09 +0000</pubDate>
		<dc:creator>Poshi</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://poshi.org/post/190</guid>
		<description><![CDATA[
不知道為什麼，我的Wordpress部落格從6月初裝好到現在，一直就有“靈異”的問題出現，都是一般不出現的，或者難以解釋的（比如，在我的部落格上的留言有時候會變成亂碼）。
說回Wp-Postview... ]]></description>
			<content:encoded><![CDATA[</p>
<p><a href="http://poshi.org/post/tag/wordpress"><img title="Wordpress" alt="Wordpress" src="http://tbn0.google.cn/images?q=tbn:Yduk3uKrjyKpjM:" align="right" border="0" /></a>不知道為什麼，我的Wordpress<a title="新後園" href="http://poshi.org" target="_blank">部落格</a>從6月初裝好到現在，一直就有“靈異”的問題出現，都是一般不出現的，或者難以解釋的（比如，在我的部落格上的留言有時候會變成亂碼）。</p>
<p>說回<a title="Wp-Postview" href="http://lesterchan.net/wordpress/2008/05/21/pre-wave-2/" target="_blank">Wp-Postview</a>吧，這個外掛，本來我是想統計一下每篇文章單篇的點選數，主要是哪篇比較多人點選的話，自己心裡有數，不過我從一開始裝這個外掛就用不了。</p>
<p><span id="more-190"></span></p>
<p>一開始我用的就是<a title="Wp-Postview1.3" href="http://lesterchan.net/wordpress/2008/05/21/pre-wave-2/" target="_blank">Wp-Postview1.3</a>版本，我就是為了貪新才用的，不過他現在還是beta，請大家先不要去嘗試了，也許會有些奇怪的問題出現。反正，我當時裝上去之後，在index.php裡評論的部份，插入了這一行代碼</p>
<blockquote><p>&lt;?php if(function_exists(&#8216;the_views&#8217;)) { the_views(); } ?&gt;</p>
</blockquote>
</p>
<p>可是，我發現什麼變化也沒有，是不是代碼裡的&#8217;’the_viesw’裡的文字要改一下呢？或者the_views()這個括弧里加文字？</p>
<p>我嘗試在這兩個地方加入“閱讀”或者“次點閱”等詞語，可就是沒反應，或者要去選項裡設置顯示的文字？但我發現在後臺設置中的<a title="Wp-Postview" href="http://lesterchan.net/wordpress/2008/05/21/pre-wave-2/" target="_blank">Wp-Postview</a>選項，打開是找不到頁面，那真的很慘，看樣子連裝沒裝上都不知道。</p>
<p>我又把<a title="Wp-Postview1.3" href="http://lesterchan.net/wordpress/2008/05/21/pre-wave-2/" target="_blank">Wp-Postview1.3</a>卸載了裝上<a title="Wp-Postview1.2" href="http://lesterchan.net/portfolio/programming.php" target="_blank">Wp-Postview1.2</a>,一樣的結果，在百度或Google搜索，發現似乎沒有哪篇介紹文章可以解決我的問題的，就是看到有很多人抱怨用不了而已。</p>
<p>不能使用這個外掛，是很可惜的，當然，你現在看到我的<a title="新後園" href="http://poshi.org" target="_blank">部落格</a>，應該每一篇都有顯示點選次數了吧？那麼，就是你看到這篇博文的時候，我已經解決這個問題，並且用上這個外掛了，這要感謝一位臺灣的朋友<a title="今天你感覺了嗎" href="http://www.stoj.club.tw" target="_blank">小立</a>，我是看了他<a href="http://www.stoj.club.tw">你今天感覺了嗎</a>裡的<a href="http://www.stoj.club.tw/?p=133">文章點閱人次計數外掛《WP-PostViews v1.30》</a>一文，才找到如何正確插入代碼！</p>
<p>你可以先把WP-PostView1.2這個外掛的文檔，上傳到你的wp-content/plugins目錄裡，上傳完以後到後臺的“外掛”裡啟動這個外掛吧，然後就是外掛php代碼的問題了。國內可以搜到的文章也不是很少，但很多是重複的，其中大部份說的是，“只要把代碼插入index.php或者single.php等頁面就行了”，但其實不是插到哪里都有效的，我不知道為什麼，試了好多個地方都不顯示。那我們來看看<a title="今天你感覺了嗎" href="http://www.stoj.club.tw" target="_blank">小立</a>的解說：</p>
<blockquote><p>這是比較麻煩一點的部分，你必須在想顯示計數的頁面中加入函式      <br />一般來說，修改 index.php 、single.php 或 page.php是比較多人採用的做法       <br /><strong>index.php</strong>：首頁文章列表，在每篇文章標題附近顯示該篇文章的瀏覽數       <br /><strong>single.php</strong>：單篇文章內文，在內文中找個位置顯示文章的瀏覽數       <br /><strong>page.php</strong>：這個是page的檔案，也就是在網誌分頁裡面也顯示瀏覽數</p>
<p>由於我只想在blog首頁的文章列表中顯示計數，因此我只有修改index.php，一般正常情況下，先用UltraEdit或記事本打開index.php，找到下麵這一行</p>
<p>&lt;?php while (have_posts()) : the_post(); ?&gt;</p>
<p>在上述這一行之後會開始顯示文章內容，因此你可以把以下的函數插入到此行附近你喜歡的位置，所要插入的函式如下</p>
<p>&lt;?php if(function_exists(&#8216;the_views&#8217;)) { the_views(); } ?&gt;</p>
<p>&#160;</p>
</blockquote>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
<p>原來如此！我直接在index.php找到&lt;?php while (have_posts()) : the_post(); ?&gt;，然後在裡面插入&lt;?php if(function_exists(&#8216;the_views&#8217;)) { the_views(); } ?&gt;就可以了！當然，位置還是可以改變的，上面的方案，只是有些朋友找不到地方，可以參考一下！</p>
<p>而我終於成功看到了統計數字在文章裡出現…</p>
<blockquote><p>而我安裝完畢後啟用之後發現一件很妙的事情，由於以前雖啟用但一直沒run起來的WP-PostViews Plus已經在mysql裡面create了計數的table，因此雖然在前臺看不到點閱人次的數字，但其實後台這邊一直有在&quot;默默&quot;的進行計算，而<a href="http://lesterchan.net/wordpress/2008/05/21/pre-wave-2/">WP-PostViews</a>似乎也使用同一個mysql欄位來作為db的table，因此歪打正著的結果，啟用後我的文章便立刻反應目前的累計，而不用從&quot;0&quot;開始囉~</p>
</blockquote>
<p>跟小立上面說的一樣，我的統計數字也不是零，也就是只要你裝著這個外掛，實際上只要你啟動的時候，他就在工作，只是看不看得到的問題而已，而他還會在mysql資料庫裡創建一個計數的table。不過，小立還說</p>
<blockquote><p>若你已經完成上述的步驟，別忘了可以到wp後台的&quot;設定&quot;修改      <br />Post Views Options       <br />有幾個地方可以作設定</p>
<p>1.<strong>Count Views From:</strong> 選擇只計訪客或只計註冊的閱讀者或是全都計       <br />2.<strong>Exclude Bot Views:</strong> 是否不將搜尋引擎之類的bot納入計數       <br />3.<strong>Views Template:</strong> 可定義所顯示字樣，預設是views，我則改成&quot;次點閱&quot;       <br />4.設定完畢記得按下面的 <strong>Save Changes</strong></p>
</blockquote>
</p>
<p>我卻發現Post Views Options依然是進不去的，真是慘呀~~~</p>
<p>後來，由於我昨天還折騰其他的東西，後來導致不得不把所有的外掛刪除重裝，今天我重裝以後，發現views變成“次點選”了，我不記得是昨天在哪里改的，現在Post Views Options還進不去，算了吧，可以用就先這樣。</p>
<p>上面不是教程啦，請各位別誤會，是我分享使用外掛過程中，遇到的問題。另外，如果有哪位知道，在外掛文檔哪個地方可以改顯示的文字，請告訴我一聲，或者如果你發表了文章請ping通知我一下，我感激不盡~~</p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/518.html" title="改用Math Comment Spam Protection 2.2抵擋Spam">改用Math Comment Spam Protection 2.2抵擋Spam</a> (3)</li><li><a href="http://poshi.org/post/456.html" title="不小心更新到了Wordpress2.71">不小心更新到了Wordpress2.71</a> (10)</li><li><a href="http://poshi.org/post/449.html" title="Wordpress.com在中國可以直接訪問？">Wordpress.com在中國可以直接訪問？</a> (1)</li><li><a href="http://poshi.org/post/401.html" title="解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a> (8)</li><li><a href="http://poshi.org/post/385.html" title="Wordpress顯示歷史留言及留言倒序">Wordpress顯示歷史留言及留言倒序</a> (4)</li><li><a href="http://poshi.org/post/379.html" title="發佈現在使用的『Neugarten beta 1.0』主題">發佈現在使用的『Neugarten beta 1.0』主題</a> (13)</li><li><a href="http://poshi.org/post/336.html" title="Wordpress使用noindex會被百度虐待？">Wordpress使用noindex會被百度虐待？</a> (13)</li><li><a href="http://poshi.org/post/289.html" title="Sweet blog，很かわいい的Wordpress佈景">Sweet blog，很かわいい的Wordpress佈景</a> (12)</li><li><a href="http://poshi.org/post/277.html" title="給Wordpress後臺換上全新的配色！">給Wordpress後臺換上全新的配色！</a> (12)</li><li><a href="http://poshi.org/post/274.html" title="去除Wordpress後臺不需要的RSS內容">去除Wordpress後臺不需要的RSS內容</a> (11)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2008<br />
Source: <a href="http://poshi.org/post/190.html">wp-postview1.3及1.2安裝使用問題記</a><br />
<a href="http://poshi.org/post/190.html#comments">21 comments</a><br />
Post tags: <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/190.html/feed</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>pagebar、Pagenavi還有wp-postview讓我還沒瘋</title>
		<link>http://poshi.org/post/188.html</link>
		<comments>http://poshi.org/post/188.html#comments</comments>
		<pubDate>Thu, 19 Jun 2008 12:03:45 +0000</pubDate>
		<dc:creator>Poshi</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://poshi.org/post/188</guid>
		<description><![CDATA[
我裝了個wp-postview，代碼不知道哪里錯了，我不能正常在Wordpress裡用；我用裝了Pagenavi，沒反應，就刪了，再用Pagebar，到處找代碼，沒有一次正常過..
今天,決定犧牲一天的時間吧，把這個事情... ]]></description>
			<content:encoded><![CDATA[</p>
<p><a href="http://poshi.org/post/tag/wordpress"><img title="Wordpress" alt="Wordpress" src="http://tbn0.google.cn/images?q=tbn:Yduk3uKrjyKpjM:" align="right" border="0" /></a>我裝了個wp-postview，代碼不知道哪里錯了，我不能正常在Wordpress裡用；我用裝了Pagenavi，沒反應，就刪了，再用Pagebar，到處找代碼，沒有一次正常過..</p>
<p>今天,決定犧牲一天的時間吧，把這個事情解決了。首先，之前我裝了wp-postview，不僅沒顯示，而且設置裡相應的選項，打開也是找不到頁面。</p>
<p><span id="more-188"></span><br />
今天終於照一位臺灣的朋友，把代碼寫對地方了，顯示出來的卻是“100 Views”之類的，
</p>
<p> 但依然不能進去選項。有誰能告訴我，怎麼直接在外掛的文檔裡修改顯示的文字？（在佈景的index.php改是沒用的）
</p>
<p>上午又花了那麼多的時間，試了很多方法，Pagenavi依然不行。找到了那個國人做的簡潔佈景<a href="http://poshi.org/themes.php?action=activate&amp;template=prower+v1&amp;stylesheet=prower+v1&amp;_wpnonce=fd97414d24">Prower V1</a>，他裡面剛好附帶了wp-postview和pagebar，而且佈景集成了代碼。我就把佈景換成這個試一下，打算是看他是怎麼集成代碼的。結果是成功的，終於我在首頁底部看到翻頁了…</p>
<p>我嘗試把他的代碼修改到plaintxtBlog上去，好像有幾分鐘我看到希望了，效果也同樣顯示出來。</p>
<p>但，在不久之後，災難性的事情又出現了：我的page/2直到page/18（翻頁），全都打不開，老E用ff2看到的是“此頁面重定向不正確”，他發來的圖是這樣的：</p>
<p><a href="http://poshi.org/wp-content/uploads/2008/06/ff2.jpg"><img title="此頁面重定向不正確" style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 0px; border-right-width: 0px" height="299" alt="此頁面重定向不正確" src="http://poshi.org/wp-content/uploads/2008/06/ff2-thumb.jpg" width="714" border="0" /></a> </p>
<p>簡直瘋了，聽了他的勸告，我又直接把今天一天的結果毀於一旦：我覺得是301重定向的外掛的問題，刪了這些外掛，然後又把<a href="http://poshi.org/themes.php?action=activate&amp;template=prower+v1&amp;stylesheet=prower+v1&amp;_wpnonce=fd97414d24">Prower V1</a>集成的外掛全刪了，再把佈景換回plaintxtBlog，我又一直調試，終於確定跟重定向外掛有些關係，但是他們之前沒問題，也就是今天我搞錯了什麼，使他們出現了錯誤。</p>
<p>天哪，之前不同結構的文章連結（固定連結），現在Google裡還索引著呢，這可怎麼辦？又要放棄重定向嗎？</p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/518.html" title="改用Math Comment Spam Protection 2.2抵擋Spam">改用Math Comment Spam Protection 2.2抵擋Spam</a> (3)</li><li><a href="http://poshi.org/post/456.html" title="不小心更新到了Wordpress2.71">不小心更新到了Wordpress2.71</a> (10)</li><li><a href="http://poshi.org/post/449.html" title="Wordpress.com在中國可以直接訪問？">Wordpress.com在中國可以直接訪問？</a> (1)</li><li><a href="http://poshi.org/post/401.html" title="解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a> (8)</li><li><a href="http://poshi.org/post/385.html" title="Wordpress顯示歷史留言及留言倒序">Wordpress顯示歷史留言及留言倒序</a> (4)</li><li><a href="http://poshi.org/post/379.html" title="發佈現在使用的『Neugarten beta 1.0』主題">發佈現在使用的『Neugarten beta 1.0』主題</a> (13)</li><li><a href="http://poshi.org/post/336.html" title="Wordpress使用noindex會被百度虐待？">Wordpress使用noindex會被百度虐待？</a> (13)</li><li><a href="http://poshi.org/post/289.html" title="Sweet blog，很かわいい的Wordpress佈景">Sweet blog，很かわいい的Wordpress佈景</a> (12)</li><li><a href="http://poshi.org/post/277.html" title="給Wordpress後臺換上全新的配色！">給Wordpress後臺換上全新的配色！</a> (12)</li><li><a href="http://poshi.org/post/274.html" title="去除Wordpress後臺不需要的RSS內容">去除Wordpress後臺不需要的RSS內容</a> (11)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2008<br />
Source: <a href="http://poshi.org/post/188.html">pagebar、Pagenavi還有wp-postview讓我還沒瘋</a><br />
<a href="http://poshi.org/post/188.html#comments">12 comments</a><br />
Post tags: <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/188.html/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Simple Tags中文版Wordpress真是非用不可</title>
		<link>http://poshi.org/post/181.html</link>
		<comments>http://poshi.org/post/181.html#comments</comments>
		<pubDate>Mon, 16 Jun 2008 08:57:31 +0000</pubDate>
		<dc:creator>Poshi</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://poshi.org/post/181</guid>
		<description><![CDATA[之前聽說Wordpress在標籤(Tags)方面的管理還是比較弱的，並且又看到Wordpress有那麼多的標籤外掛（Tags plugins?)，是有些不明白。也一直沒有用標籤外掛，因為在我看來，外掛還是越少越好的好，如... ]]></description>
			<content:encoded><![CDATA[<p><a title="Wordpress" rel="tag" href="http://poshi.org/post/tag/wordpress" target="_blank"><img title="Wordpress" src="http://tbn0.google.cn/images?q=tbn:Yduk3uKrjyKpjM:" border="0" alt="Wordpress" align="right" /></a>之前聽說Wordpress在標籤(Tags)方面的管理還是比較弱的，並且又看到Wordpress有那麼多的標籤外掛（Tags plugins?)，是有些不明白。也一直沒有用標籤外掛，因為在我看來，外掛還是越少越好的好，如果不是非用不可的，就算了。</p>
<p>不過今天發現Wordpress在標籤（Tags）方面確實不是很強，遇到了一個小麻煩，</p>
<p><span id="more-181"></span><br />
比如添加“微軟”這個Tags，本來默認這個標籤的URL裡這個詞的中文會轉成“CE%A2%C8%ED”，之前就有幾篇文章在這個標籤下，我就改成microsoft了。結果今天我再加一個“微軟”，URL卻不是“microsoft』，而是之前的“CE%A2%C8%ED”。在標籤管理那裡看了一下，有兩個“微軟”！Wordpress裡從來沒有聽說過標籤合併的功能，而亂碼的那個標籤就沒辦法直接改成microsoft了，而且就算可以的話以後也要添加一次改一次嗎？</p>
<p>在<a title="穀歌" href="http://google.cn" target="_blank">Google</a>找了一下，發現Simples Tags這個外掛可以合併標籤和批量管理標籤，於是找到了<a title="Leo‘s space" href="http://cuteleo.cn/" target="_blank">Leo</a>翻譯的<a title="Simple Tags 中文版" href="http://cuteleo.cn/2008/02/01/simple-tags-chinese-translation-updated.html" target="_blank">Simple Tags 中文版</a>，我終於用這個外掛解決了我的問題，因為有個合併的功能，我直接就把那個亂碼的“微軟”合併到microsoft的“微軟”一起了。</p>
<p>我找到的是08年4月份更新的中文版本，這應該是目前最新版本了吧？至少這個應該是有中文支持的是最新版本了。1.02版本的有以下<a title="simple-tags" href="http://cuteleo.cn/tag/simple-tags" target="_blank">特點</a>：</p>
<blockquote><p>輸入標籤時可自動完成<br />
自動推薦標籤<br />
標籤管理（重命名、刪除、合併、搜索、添加、編輯標籤 ID）<br />
列出未加標籤的內容<br />
批量編輯標籤<br />
給頁面加標籤 (不僅僅是日誌) ，並將頁面包括到標籤搜索結果中<br />
根據標籤確定相關內容<br />
在 RSS Feed 中添加相關日誌列表<br />
帶 Widgets 的動態彩色標籤雲<br />
將標籤加入 Blog 的 header 中<br />
支持內嵌標籤 ([tags]tag1, tag2[/tags]) ，以保持各方面相容性（可在 Windows Live Writer 等本地用戶端中直接向日誌中插入標籤）</p></blockquote>
<p>而1.5.5的則增加以下更新：</p>
<blockquote><p>增加相關標籤功能<br />
後臺編輯增加“一鍵標籤”功能<br />
增加從Yahoo、Tag The Net和本地標籤庫獲取推薦標籤功能<br />
利用WordPress物件緩存管理提高了性能<br />
增加了卸載功能，可徹底清除Simple tags的所有選項<br />
可選擇是否在連結中加上nofollow屬性<br />
增強了與其他一系列外掛的相容性（現在不作任何hack可直接相容MU外掛）</p></blockquote>
<p>這個外掛使用起來果然比較簡單，就是把解壓之後的Simple Tags文檔夾上傳到外掛目錄裡去，然後Simple Tags 文檔夾下的\extra目錄中有個名稱是simple-tags.importer.php的，把他複製到你Wordpress文檔夾的\wp-admin\import\目錄下，然後到Wordpress後臺的管理——“導入”頁面，選擇“內嵌標籤”，然後享受一下“傻瓜式”的安裝過程吧，呵呵。</p>
<p>下載這個外掛請到Leo的<a title="點此進入下載" href="http://cuteleo.cn/2008/02/01/simple-tags-chinese-translation-updated.html" target="_blank">Simple Tags 中文版更新</a>一文中下載，因為這個外掛還會更新，我不知道你會什麼看到這篇文章，而Leo那邊相信以後的更新版本還會繼續翻譯的。如果你要找原版的，可以看這裡：<a title="WordPress英文站 Simple Tags英文版下載" href="http://wordpress.org/extend/plugins/simple-tags/" target="_blank">WordPress英文站 Simple Tags英文版下載</a></p>
<p>其實這確實是個很簡單的外掛，不過我沒辦法不用他了..</p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/518.html" title="改用Math Comment Spam Protection 2.2抵擋Spam">改用Math Comment Spam Protection 2.2抵擋Spam</a> (3)</li><li><a href="http://poshi.org/post/456.html" title="不小心更新到了Wordpress2.71">不小心更新到了Wordpress2.71</a> (10)</li><li><a href="http://poshi.org/post/449.html" title="Wordpress.com在中國可以直接訪問？">Wordpress.com在中國可以直接訪問？</a> (1)</li><li><a href="http://poshi.org/post/401.html" title="解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a> (8)</li><li><a href="http://poshi.org/post/385.html" title="Wordpress顯示歷史留言及留言倒序">Wordpress顯示歷史留言及留言倒序</a> (4)</li><li><a href="http://poshi.org/post/379.html" title="發佈現在使用的『Neugarten beta 1.0』主題">發佈現在使用的『Neugarten beta 1.0』主題</a> (13)</li><li><a href="http://poshi.org/post/336.html" title="Wordpress使用noindex會被百度虐待？">Wordpress使用noindex會被百度虐待？</a> (13)</li><li><a href="http://poshi.org/post/289.html" title="Sweet blog，很かわいい的Wordpress佈景">Sweet blog，很かわいい的Wordpress佈景</a> (12)</li><li><a href="http://poshi.org/post/277.html" title="給Wordpress後臺換上全新的配色！">給Wordpress後臺換上全新的配色！</a> (12)</li><li><a href="http://poshi.org/post/274.html" title="去除Wordpress後臺不需要的RSS內容">去除Wordpress後臺不需要的RSS內容</a> (11)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2008<br />
Source: <a href="http://poshi.org/post/181.html">Simple Tags中文版Wordpress真是非用不可</a><br />
<a href="http://poshi.org/post/181.html#comments">21 comments</a><br />
Post tags: <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/181.html/feed</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>用Wordpress2.51遇到一些問題</title>
		<link>http://poshi.org/post/178.html</link>
		<comments>http://poshi.org/post/178.html#comments</comments>
		<pubDate>Sun, 15 Jun 2008 08:01:18 +0000</pubDate>
		<dc:creator>Poshi</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://poshi.org/post/178</guid>
		<description><![CDATA[
用Wordpress2.51已經有兩個星期了，遇到了一些問題，都比較奇怪，記錄如下：
亂碼的問題。有些人會說就是編碼的問題，但是資料庫的編碼應該沒有錯。我的部落格現在基本上解碼是正常的，... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://poshi.org/post/tag/wordpress"><img title="wordpress" src="http://tbn0.google.cn/images?q=tbn:Yduk3uKrjyKpjM:" align="right" border="0" target="_blank"/></a>
<p>用Wordpress2.51已經有兩個星期了，遇到了一些問題，都比較奇怪，記錄如下：</p>
<p>亂碼的問題。有些人會說就是編碼的問題，但是資料庫的編碼應該沒有錯。我的部落格現在基本上解碼是正常的，會發生的問題是，有些朋友用不同的流覽器訪問，發現他發表的評論會輸出成一堆亂碼，<a href="http://www.sayblog.org/">Sayer</a>幫我<a title="看這篇文章下面的評論" href="http://poshi.org/post/170" target="_blank">做了個測試</a>，</p>
<p><span id="more-178"></span><br />
 先後用了Mozilla Firefox、傲遊和Firefox，結果Mozilla Firefox和傲遊流覽器有時候留下的評論會變成亂碼。
</p>
<p>還是亂碼的問題，我不知道是哪里出的問題，比如我發一篇文章，引用ping別人的文章，然後人家收到的pingback全是亂碼，有可能因此人家以為是垃圾，要是把我的拉進黑名單就慘了&#8230;.</p>
<p>在發佈文章的時候，圖片的上傳插入也是個問題。有時候我直接上傳一張圖片，上傳之後發現不知道怎麼插入，由於那個上傳圖片的彈出窗下半身少了一塊，我就束手無策了。</p>
<p>關於郵件通知的問題，確切地說，應該是資料庫的問題。剛開始我試過<a href="http://hudatoriq.web.id/wp-hacks/commentmailer/">CommentMailer</a>和<a href="http://blog.2i2j.com/plugins/wordpress-thread-comment">Wordpress Thread Comment</a>，自己試驗了一下發現郵件通知的功能好像都無效，經過用幾個不同的資料庫試驗，原來是，用微軟的資料庫都收不到的，用Gmail就可以。這是怎麼回事呀？有沒有解決的辦法？我總不能要求那些評論的人都不要用微軟的資料庫，去註冊個Gmail再來吧？</p>
<p>關於佈景及SEO的問題。其實我很喜歡側欄在左（左欄？）的wordpress佈景，剛開始那幾天，我找了很多地方，才找到幾個，當初不明白為什麼那麼少的人做這種類型。現在我明白了，在SEO方面，<a title="Google" href="http://google.cn" target="_blank">Google</a>從來都是從左爬到右的，所以會先把左邊的內容優先錄取。我用的是左欄的，Google一下自己的主頁，發現上面的摘要就是左側欄的最新評論的內容，由於那裡的內容每天在更新，被認為是我部落格的內容了。怎麼辦呀？這也是個問題，我喜歡左側欄，難道要為了SEO犧牲我的感覺？或者說，以後左欄主題的存在潛力還有多少？</p>
<p>上面只說到暫時想到的問題，不過都不小，之所以不去社區問，是因為去那裡問會怕有些人亂說。所以，如果各位有什麼解決方法的話，可以在自己的部落格寫一下，然後ping我一下通知我過去看。拜託了！</p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/518.html" title="改用Math Comment Spam Protection 2.2抵擋Spam">改用Math Comment Spam Protection 2.2抵擋Spam</a> (3)</li><li><a href="http://poshi.org/post/456.html" title="不小心更新到了Wordpress2.71">不小心更新到了Wordpress2.71</a> (10)</li><li><a href="http://poshi.org/post/449.html" title="Wordpress.com在中國可以直接訪問？">Wordpress.com在中國可以直接訪問？</a> (1)</li><li><a href="http://poshi.org/post/401.html" title="解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a> (8)</li><li><a href="http://poshi.org/post/385.html" title="Wordpress顯示歷史留言及留言倒序">Wordpress顯示歷史留言及留言倒序</a> (4)</li><li><a href="http://poshi.org/post/379.html" title="發佈現在使用的『Neugarten beta 1.0』主題">發佈現在使用的『Neugarten beta 1.0』主題</a> (13)</li><li><a href="http://poshi.org/post/336.html" title="Wordpress使用noindex會被百度虐待？">Wordpress使用noindex會被百度虐待？</a> (13)</li><li><a href="http://poshi.org/post/289.html" title="Sweet blog，很かわいい的Wordpress佈景">Sweet blog，很かわいい的Wordpress佈景</a> (12)</li><li><a href="http://poshi.org/post/277.html" title="給Wordpress後臺換上全新的配色！">給Wordpress後臺換上全新的配色！</a> (12)</li><li><a href="http://poshi.org/post/274.html" title="去除Wordpress後臺不需要的RSS內容">去除Wordpress後臺不需要的RSS內容</a> (11)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2008<br />
Source: <a href="http://poshi.org/post/178.html">用Wordpress2.51遇到一些問題</a><br />
<a href="http://poshi.org/post/178.html#comments">21 comments</a><br />
Post tags: <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/178.html/feed</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>用Live writer發佈Wordpress文章</title>
		<link>http://poshi.org/post/173.html</link>
		<comments>http://poshi.org/post/173.html#comments</comments>
		<pubDate>Fri, 13 Jun 2008 05:48:58 +0000</pubDate>
		<dc:creator>Poshi</dc:creator>
				<category><![CDATA[互聯網絡]]></category>
		<category><![CDATA[Windows Live]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://poshi.org/post/173</guid>
		<description><![CDATA[
以前也想過用Live Writer發佈Wordpress日誌，不過沒有成功過。不過今天試了一下，居然成功了。你現在看到的這篇文章，用Live Writer發佈成功的第一篇Wordpress部落格。
如果有其他朋友，想用Live Wri... ]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" style="float: right; margin: 10px; border: 0px;" src="http://tbn0.google.cn/images?q=tbn:B6i-kCO7sZ8qHM:" alt="Wordpress Live Writer" width="137" height="60" align="right" /></p>
<p>以前也想過用Live Writer發佈Wordpress日誌，不過沒有成功過。不過今天試了一下，居然成功了。你現在看到的這篇文章，用Live Writer發佈成功的第一篇Wordpress部落格。</p>
<p>如果有其他朋友，想用Live Writer寫wordpress的，其實只有幾個設置的步驟，很簡單的。在安裝好Live Writer以後，直接打開他，我們需要添加一個日誌帳戶，在Live Writer裡支持設置3個以上的日誌帳戶。這樣，我們可以同時在不同的帳戶之間隨時切換，而且A帳戶發佈的文章，我們可以直接切換到B帳戶裡編輯，並且發佈，這是Live Writer比較方便的一嘛。</p>
<p>那麼，讓我們來添加第一個日誌帳戶：<span id="more-173"></span></p>
<p><img src="http://photo1.bababian.com/upload11/20080613/1590FC7BF826195F36E7477BDDE329FF_500.jpg" alt="Live Writer 添加日誌帳戶" /></p>
<p>點選Live Writer工具欄的“日誌”選項，彈出的功能表裡，可以看到最後一個是“添加日誌帳戶”，對，就是他了，點選他！</p>
<p><img src="http://photo1.bababian.com/upload11/20080613/A8FDED3F1434C73F070847AC33D8CF3A_500.jpg" alt="Live Writer 選擇日誌類型" /></p>
<p>如上圖，我們看到的是“選擇日誌類型”的步驟，有三個選項供你選擇。但是第二項』SharePoint 日誌』我真的很不明白，記得以前申請過的，好像很難申請的不知道是不是這個，但是在中國的用戶真的很少的，而用Live Writer寫SharePoint的我覺得基本為零，所以我建議微軟中文版，應該把Wordpress部落格加進去，代替這個沒人用的SharePoint日誌。現在三個選項裡還沒有Wordpress部落格這一項，那麼，我們選擇“其他日誌服務”，點下一步，你就會看到“日誌主頁和登入”的介面：</p>
<p><img src="http://photo1.bababian.com/upload11/20080613/348A7A77071F3CEFE66CCE574E1EE63C_500.jpg" alt="Live Writer 日誌主頁和登入" /></p>
<p>日誌主頁那裡我上面填的，就是<a title="新後園" href="http://poshi.org" target="_blank">新後園</a>的首頁：<a href="http://poshi.org">http://poshi.org</a>，然後填上在<a title="新後園" href="http://poshi.org" target="_blank">新後園</a>上的用戶名，這裡順便提一下，如果你的Wordpress部落格設置了幾個用戶名的話，在這裡哪一個都行。</p>
<p><img src="http://photo1.bababian.com/upload11/20080613/6706AAB449B6D79320C741A29703710E_500.jpg" alt="Live Writer 檢測日誌設置" /></p>
<p>大家看到“正在檢測日誌設置”的介面，如果你用的是Live Writer12.0以上的版本的話，這應該是添加日誌帳戶的最後一步了吧，沒有意外的話，經過這一步，你就可以開始用他往你的Wordpress部落格上發東西了。</p>
<p>其實上一個版本的添加日誌，應該還有一個步驟要完成的，就是你的日誌發佈介面的設置，上次我也是用這個部落格，那個時候問題就出在添加帳戶的時候。在設置好主頁之後，要設置發佈介面，我選擇了wordpress2.2+吧，填入<a title="http://poshi.org/xmlrpc.php" href="http://poshi.org/xmlrpc.php">http://poshi.org/xmlrpc.php</a>之後，就跳出下面的字句：</p>
<blockquote><p>從日誌伺服器接收的對blogger.getUsersBlogs 方法的回應無效：Invalid response document returned from XmlRpc server</p></blockquote>
<p>我在網上搜了好久，沒有一個有解決方法的，然後我就向微軟Windows Live的資料庫客服支持提交了我的問題。但是我等了一天，卻得到這種答復：</p>
<blockquote><p>感謝致信Windows Live Writer技術支持中心。很高興為您服務！通過您提供的詳細資訊，我們瞭解到您無法使用Windows Live Writer編輯Wordpress部落格，我們非常理解該問題給您造成的困擾。由於Windows Live Writer主要針對Windows Live Spaces的性能研究開發，在編輯其他部落格時可能出現無法添加編輯的問題，非常感謝您提出的回饋。我們已經將您發現的問題轉發給產品組，產品組會仔細地審閱該問題並在以後的版本中加以修正。再次感謝您抽空來信告訴我們該情況，這將有助於我們進一步改進我們的產品及服務。</p>
<p>作為Windows Live的重要客戶，我們很高興為您提供持續有效的服務，感謝您使用Windows Live Writer。如果您在將來的使用中再次遇到問題，歡迎您通過http://support.live.com選擇相應的產品提交新的服務申請（如果您是使用的是MSN的系列產品，則是以下連結：<a href="http://support.msn.com/">http://support.msn.com</a> ），相關技術支援中心的工作人員會竭誠為您提供服務。</p></blockquote>
<p>由於以前的經驗，我覺得如果回復是“我們已經將您發現的問題轉發給產品組”的話，那基本上就沒戲了，因為從去年我們開始提的一些回饋，有些到現在也沒有在新產品上得到體現。</p>
<p>我覺得有時候Windows Live系列產品的發展思路，可能剛好跟中國的用戶需求剛好不是一個方向，比如說玩Live Spacess的人，本來是不怎麼用Live Writer的，現在還有一定數量，是因為Live Spaces速度實在是個問題，線上編輯器有時候用不了。我覺得Live Writer更大的潛力應該不在於此，而應該轉向一些其他類似Wordpress的部落格程式。</p>
<p>這次，我用的是Live Writer12.0版本，想不到那麼順利的，設置好日誌位址及用戶名密碼之後下一步，在程式下載了你部落格的一些設置資料之後，直接就成功了，比上次少了一個設置日誌發佈介面的步驟。難道這是他們改進過了嗎？</p>
<p>你們也可以測試一下哈，下面是Live Writer的下載位址，以前設置不成功的朋友也可以用新版本的Live Writer試試：</p>
<p><a title="http://get.live.cn/product/writer.html" href="http://get.live.cn/product/writer.html">http://get.live.cn/product/writer.html</a></p>
<p>接下來，用Live Writer往你的Wordpress部落格寫一些什麼吧！之前有朋友問過Writer中設置標籤，及摘要等的功能，以前的版本我不知道，如果是新版本，可以看下圖：</p>
<p><img src="http://photo1.bababian.com/upload11/20080613/7180AF3CB9EA8C0AC7D15F81BAE40F0E_500.jpg" alt="Live Writer 設置標籤" /></p>
<p>在Live Writer右下角的“設置發佈日期”旁邊，有一個向上的箭頭，點一下他，你會看到更多不同的：</p>
<p><a title="如果看不清楚，可以點選看大圖" href="http://photo1.bababian.com/upload11/20080613/5F145F72A6F813500C2F18BFF3331B5D_800.jpg" target="_blank"><img src="http://photo1.bababian.com/upload11/20080613/5F145F72A6F813500C2F18BFF3331B5D_500.jpg" alt="如果看不清楚，可以點選查看大圖" /></a></p>
<p>上面是我的Live Writer，大家可以看到有關鍵字的設置，就是Wordpress裡的tags（標籤），還有摘要，和pingback等設置。</p>
<p>值得一提的是，還有一個“資料欄”，是設置固定連結的。</p>
<p>我們知道，如果固定連結設置的是類似/archives/%post_id%的形式，那麼我們在Wordpress編輯介面中，就不能再直接設置後面的URL了。但是在Live Writer，現在你可以自由地修改你的%post_id%.html部份的URL，比如我的固定連結是設置成/post/%post_id%的形式，現在上面<a title="用Live writer發佈Wordpress文章" href="http://poshi.org/post/173.html" target="_blank">這篇id為173的日誌</a>，我在資料欄裡，我填的是wordpress-with-livewrite，也就是說把這篇日誌的連結設置成<a title="wordpress-with-livewrite" href="http://poshi.org/post/wordpress-with-livewrite" target="_blank">http://poshi.org/post/wordpress-with-livewrite</a>，大家試一下，這個位址是可用的，但是，在首頁或者其他地方這篇日誌顯示的URL當然都是<a title="Permalink to 用Live writer發佈Wordpress文章" href="http://poshi.org/post/173.html">http://poshi.org/post/173.thml</a>。</p>
<p>我不知道用這個功能，是不是有什麼壞處在SEO方面？不過總是多一項可選的功能嘛&#8230;.</p>
<p>覺得Live Writer現在用的還可以，就是不知道以後微軟會不會在他身上多下一些功夫？如果有什麼問題的話，也可以在這裡提出來大家研究研究&#8230;另外，看到<a title="非微軟官方的，一個基於Wordpress的技術部落格，LiveSide中文版，走近Windows Live的產品、技術和文化" href="http://livesino.net">LiveSino</a>在5號發佈的一篇<a title="最新 Live Writer CTP SDK 開發的 幾個小外掛" href="http://livesino.net/archives/924.live" target="_blank">最新 Live Writer CTP SDK 開發的 幾個小外掛</a>，我的Live Writer還沒裝過外掛，不知道如何，或者也可以去<a href="http://rpsh.net">任平生</a>寫的Live Writer各方面的<a href="http://myrpsh.spaces.live.com/?_c=BlogPart&amp;partqs=cat%3dLive%2bWriter">文章</a>。</p>
<h3  class="related_post_title">相關文章</h3><ul class="related_post"><li><a href="http://poshi.org/post/265.html" title="Live Writer發佈不了Wordpress日誌的部份解決辦法">Live Writer發佈不了Wordpress日誌的部份解決辦法</a> (10)</li><li><a href="http://poshi.org/post/518.html" title="改用Math Comment Spam Protection 2.2抵擋Spam">改用Math Comment Spam Protection 2.2抵擋Spam</a> (3)</li><li><a href="http://poshi.org/post/456.html" title="不小心更新到了Wordpress2.71">不小心更新到了Wordpress2.71</a> (10)</li><li><a href="http://poshi.org/post/449.html" title="Wordpress.com在中國可以直接訪問？">Wordpress.com在中國可以直接訪問？</a> (1)</li><li><a href="http://poshi.org/post/437.html" title="Windows Live Writer與Spaces的配合使用">Windows Live Writer與Spaces的配合使用</a> (4)</li><li><a href="http://poshi.org/post/401.html" title="解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by">解決Wordpress安裝時出現Warning: Cannot modify header information &#8211; headers already sent by</a> (8)</li><li><a href="http://poshi.org/post/385.html" title="Wordpress顯示歷史留言及留言倒序">Wordpress顯示歷史留言及留言倒序</a> (4)</li><li><a href="http://poshi.org/post/379.html" title="發佈現在使用的『Neugarten beta 1.0』主題">發佈現在使用的『Neugarten beta 1.0』主題</a> (13)</li><li><a href="http://poshi.org/post/378.html" title="Windows Live Wave 3總算全面推出了？">Windows Live Wave 3總算全面推出了？</a> (7)</li><li><a href="http://poshi.org/post/336.html" title="Wordpress使用noindex會被百度虐待？">Wordpress使用noindex會被百度虐待？</a> (13)</li></ul><hr />
<p><small>© Poshi for <a href="http://poshi.org">新後園</a>, 2008<br />
Source: <a href="http://poshi.org/post/173.html">用Live writer發佈Wordpress文章</a><br />
<a href="http://poshi.org/post/173.html#comments">21 comments</a><br />
Post tags: <a href="http://poshi.org/post/tag/windows-live" rel="tag">Windows Live</a>, <a href="http://poshi.org/post/tag/wordpress" rel="tag">Wordpress</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://poshi.org/post/173.html/feed</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>
