<?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>面膜哥的Blog &#187; category</title>
	<atom:link href="http://chihping.aflypen.com/tag/category/feed" rel="self" type="application/rss+xml" />
	<link>http://chihping.aflypen.com</link>
	<description>記錄面膜哥對人事物的看法</description>
	<lastBuildDate>Fri, 10 Feb 2012 15:25:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>wordpress 新版功能</title>
		<link>http://chihping.aflypen.com/1793.html</link>
		<comments>http://chihping.aflypen.com/1793.html#comments</comments>
		<pubDate>Sat, 14 Nov 2009 16:19:48 +0000</pubDate>
		<dc:creator>面膜哥</dc:creator>
				<category><![CDATA[測試-軟體]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[SEO技術研究]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[外掛]]></category>

		<guid isPermaLink="false">http://chihping.aflypen.com/1793.html</guid>
		<description><![CDATA[之前版本的wordpress，在category(文章分類)和tag(文章標籤)上都是使用slug做為顯示內容，而slug其實也不是什麼特別的東西，就是經過url編碼的tag和category，當然，這沒有什麼特別的，但是很多的網站都不支援這樣的功能，因為分類要在網址上顯示，當然對於不支援非英語系國家來說會有一些的問題。常常出現的就是internal error 500，其實，有很多的外掛針對這個問題做出理，不外乎是使用字典翻譯或是羅馬拼音，都是避免非英語系國家語言編碼所造成的問題。 新版的wordpress，似乎放棄了slug的功能，目前看到2.8.6的版本，都是直接查出tag或是category的編號，在超連結中，直接用編號來查詢。 看來，之前使用翻譯或是羅馬拼音的外掛已經英雄無用武之地了，雖然目前本站所處的美國網站有支援中文的編碼，不過，這對我來說，已經是一個福音了。 如果要架網站的話，要在apache中動很多的手腳，才會支援中文編碼，當然，中文的編碼仍然是有好處的，這對於SEO來說，是有正面的幫助的，不過，還沒有仔細的測試，不知道在網址中顯示中文的文章Title會在超連結網址中怎麼去程現，這個就要再找時間來測看看囉！ 剛測完，在固定網址中，使用postname的話，一樣會出現找不到的情形，也就是說，中文的文章標題，目前仍然是無法支援的，真是的改了一半的系統，Wordpress 3.0版，不知道何時才會推中，最近小改版，都是安全性或是功能性上的Bug修正，重申一次，如果叫你一次改10個站，如果您願意的話，你就會知道worpdress.org他們更新的頻率有多高了，總之，一整個累的！<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">推建您相關文章：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="兩站同時發文Plugin" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fchihping.aflypen.com%2F%25E5%2585%25A9%25E7%25AB%2599%25E5%2590%258C%25E6%2599%2582%25E7%2599%25BC%25E6%2596%2587plugin%2F&from=http%3A%2F%2Fchihping.aflypen.com%2F1793.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">兩站同時發文Plugin</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress 自動更新問題" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fchihping.aflypen.com%2F1962.html&from=http%3A%2F%2Fchihping.aflypen.com%2F1793.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress 自動更新問題</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="外掛不要亂用，會影響整個網站的運作" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fchihping.aflypen.com%2F1312.html&from=http%3A%2F%2Fchihping.aflypen.com%2F1793.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/16/2747330.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">外掛不要亂用，會影響整個網站的運作</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="好的hosting平台對SEO工作的影響" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fchihping.aflypen.com%2F1125.html&from=http%3A%2F%2Fchihping.aflypen.com%2F1793.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/16/2746319.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">好的hosting平台對SEO工作的影響</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<wfw:commentRss>http://chihping.aflypen.com/1793.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress post_tag and category 限制</title>
		<link>http://chihping.aflypen.com/1271.html</link>
		<comments>http://chihping.aflypen.com/1271.html#comments</comments>
		<pubDate>Sun, 15 Mar 2009 13:42:42 +0000</pubDate>
		<dc:creator>面膜哥</dc:creator>
				<category><![CDATA[測試-軟體]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[正規化]]></category>
		<category><![CDATA[結構]]></category>
		<category><![CDATA[資料庫]]></category>

		<guid isPermaLink="false">http://chihping.aflypen.com/1271.html</guid>
		<description><![CDATA[原本想說~wordpress的post_tags當成keyword資料來源： 但是 因為 之前提到的 wordpress 資料庫過度正規化[請參閱 wordpress 資料庫正規化之我思….」 所以造成文章在更新tags及category時相當的麻煩 都想說~反正麻煩一次就好了~就來蠻幹好了~ 看了一下資料庫的結構 看了資料庫結構~ 真的很想哭~ name是index~(我的臉色變了) slug是從name編碼來的~ slug是unique~就就是說~category及tags不能重覆~ OH-MY-GOD category分類的名稱不能當成post_tag的名稱 這樣講怎麼合理~ 假設一個資料豐富的站 有一個分類叫作「電腦科技」 剛好有一篇文章~在講環保節能減碳的~ 談到Google的電腦科技~是造成電力浪費的主因之一~ 糟了~加了關鍵字~自動bypass掉了&#8230;.靠北邊走&#8230;. 實在有夠鳥的~還好~有外掛工具可以輔助&#8230;<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">推建您相關文章：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="WordPress 2.8版資料庫結構更新" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fchihping.aflypen.com%2F1656.html&from=http%3A%2F%2Fchihping.aflypen.com%2F1271.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress 2.8版資料庫結構更新</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress 2.8版資料庫結構" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fchihping.aflypen.com%2F1659.html&from=http%3A%2F%2Fchihping.aflypen.com%2F1271.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress 2.8版資料庫結構</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress 資料庫正規化之我思…." style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fchihping.aflypen.com%2F1233.html&from=http%3A%2F%2Fchihping.aflypen.com%2F1271.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress 資料庫正規化之我思….</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="受保護的文章：WordPress database struct/資料庫結構" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fchihping.aflypen.com%2F1214.html&from=http%3A%2F%2Fchihping.aflypen.com%2F1271.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">受保護的文章：WordPress database struct/資料庫結構</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<wfw:commentRss>http://chihping.aflypen.com/1271.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress 資料庫正規化之我思&#8230;.</title>
		<link>http://chihping.aflypen.com/1233.html</link>
		<comments>http://chihping.aflypen.com/1233.html#comments</comments>
		<pubDate>Tue, 03 Mar 2009 09:49:00 +0000</pubDate>
		<dc:creator>面膜哥</dc:creator>
				<category><![CDATA[布啦布啦布啦]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[二次開發]]></category>
		<category><![CDATA[正規化]]></category>
		<category><![CDATA[范式]]></category>

		<guid isPermaLink="false">http://chihping.aflypen.com/1233.html</guid>
		<description><![CDATA[在處理wordpress tags/category時&#8230;&#8230;&#8230; 真的是說不出來的感覺 他把 tage/category分成3個表 第一個表~記錄tags/category的名稱 第二個表~記錄tags/category的種類[tags&#124;category] 第二個表~記錄tags/category與文章的關係(一篇文章可掛在多個分類~使用多個tags) 基本上~只要分2個表就好了&#8230;&#8230;.實在不懂為什麼分成2個表 這樣~也沒有比較會厲害&#8230; 我覺得~ 第一表~記錄tags/category的名稱、種類(tags or category) 第二表~記錄文章與tags/category的關係即可 原來的做法~好鳥 某一個文章~有使用tags/category 先要查~哪些tags/category有關係 再查出它他是tags or category 最後再利用ID查他們的名稱&#8230;&#8230;&#8230; 查category關聯文章時~(二表三表時動作相同) 先查出文章是啥category(名稱)~(已有變數存放就不用查) 再查Category的分類ID 再來用分類ID去查哪些文章用過 最後~要過濾一次文章~ 因為~舊的文章會被Reversion~ 會留下先前文章的內容~最後再把文章撈出來 查tags關聯文章時(二表和三表時動作相同) 先查tags名稱是什麼~(已有變數存放就不用查) 再查這個tag有哪些文章用過 再把文章撈出來&#8230;.. 搞不懂~正規化成3個表&#8230;有什麼好處 程式麻煩多了~而且又不會省效能 用了一堆varchar~又省不了什麼空間 index建一建~tags/category才佔多少空間 我不相信有網站會用到上萬個tags~ 所以&#8230;&#8230;我一整個不解 要不是這Blog支援圖檔上傳~(它的xml-rpc寫的超讚~可惜了&#8230;要支援ATOM了) &#8230; <a href="http://chihping.aflypen.com/1233.html">Continue reading <span class="meta-nav">&#8594;</span></a><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">推建您相關文章：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="wordpress post_tag and category 限制" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fchihping.aflypen.com%2F1271.html&from=http%3A%2F%2Fchihping.aflypen.com%2F1233.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/16/2747200.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress post_tag and category 限制</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress 二次開發" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fchihping.aflypen.com%2F1232.html&from=http%3A%2F%2Fchihping.aflypen.com%2F1233.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress 二次開發</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="深入破解wordpress的佈景主題" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fchihping.aflypen.com%2F%25E6%25B7%25B1%25E5%2585%25A5%25E7%25A0%25B4%25E8%25A7%25A3wordpress%25E7%259A%2584%25E4%25BD%2588%25E6%2599%25AF%25E4%25B8%25BB%25E9%25A1%258C%2F&from=http%3A%2F%2Fchihping.aflypen.com%2F1233.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">深入破解wordpress的佈景主題</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress 新版功能" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fchihping.aflypen.com%2F1793.html&from=http%3A%2F%2Fchihping.aflypen.com%2F1233.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress 新版功能</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<wfw:commentRss>http://chihping.aflypen.com/1233.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

