<?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://clyang.net/blog/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://clyang.net/blog</link>
	<description>Clyang's Murmuring</description>
	<lastBuildDate>Thu, 01 Sep 2011 01:48:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>各大WordPress Plugin常用的縮圖套件出現0day</title>
		<link>http://clyang.net/blog/2011/08/03/437</link>
		<comments>http://clyang.net/blog/2011/08/03/437#comments</comments>
		<pubDate>Wed, 03 Aug 2011 12:08:04 +0000</pubDate>
		<dc:creator>clyang</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[timthumb 0day]]></category>

		<guid isPermaLink="false">http://clyang.net/blog/?p=437</guid>
		<description><![CDATA[很多套件常使用的TimThumb縮圖套件被發現0day, 可以讓惡意攻擊者植入可執行的PHP code, 影響重大, 請儘速更新到最新的版本. 以下提供快速判斷你的WordPress是否有使用到這個套件的方法: ssh進去你的伺服器 變更目錄到你的WordPress根目錄 (例如: /var/www/wp ) 使用下列指令: find . -name "*.php" -exec grep -H &#8216;TimThumb script created by Ben&#8217; {} \; 將所有找到的php檔案都更換成最新的版本即可. 再次呼籲, 有用WordPress的朋友們記得檢查一下~!]]></description>
			<content:encoded><![CDATA[<p>很多套件常使用的TimThumb縮圖套件<a href="http://markmaunder.com/2011/zero-day-vulnerability-in-many-wordpress-themes/">被發現0day</a>, 可以讓惡意攻擊者植入可執行的PHP code, 影響重大, 請儘速更新到最新的版本. 以下提供快速判斷你的WordPress是否有使用到這個套件的方法:</p>
<ol>
<li>ssh進去你的伺服器</li>
<li>變更目錄到你的WordPress根目錄 (例如: /var/www/wp )</li>
<li>使用下列指令: find . -name "*.php" -exec grep -H &#8216;TimThumb script created by Ben&#8217; {} \;</li>
<li>將所有找到的php檔案都<a href="http://timthumb.googlecode.com/svn/trunk/timthumb.php">更換成最新的版本</a>即可.</li>
</ol>
<p>再次呼籲, 有用WordPress的朋友們記得檢查一下~!</p>
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove -->]]></content:encoded>
			<wfw:commentRss>http://clyang.net/blog/2011/08/03/437/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用大陸網站提供的WordPress套件請注意</title>
		<link>http://clyang.net/blog/2011/06/17/426</link>
		<comments>http://clyang.net/blog/2011/06/17/426#comments</comments>
		<pubDate>Fri, 17 Jun 2011 15:55:35 +0000</pubDate>
		<dc:creator>clyang</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[技術]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://clyang.net/blog/?p=426</guid>
		<description><![CDATA[這篇的宗旨不是在挑論套件的安全性, 這邊要提的是效率的問題, 這幾天在幫忙協助tune某個網站的效能, 本來都tune的差不多了, 卻發現在enable某個大陸分析文章關聯性的plugin後, 整個網站的loading驟增, 後來去trace code後, 發現套件本身其實撰寫上沒有任何問題, 效能的瓶頸在網路連線的速度. 該plugin在每個頁面被開啓的時候, 會嘗試連回大陸的伺服器去取得相關資訊, 由於網站host在美國,  對大陸的latency本來就比較高, 加上如果該廠商的網路品質似乎不太穩定, 就陷入了可怕的循環: user開啓網頁 -&#62; plugin連回大陸 -&#62; 下一個的request又來, 因為前個request還沒解決, 只好fork新的process來處理 -&#62; 重複回第一步 解決方法就是關掉該plugin, 網站的loading也就回覆正常了, 因此有了這篇文章, 紀錄一下這個經驗]]></description>
			<content:encoded><![CDATA[<p>這篇的宗旨不是在挑論套件的安全性, 這邊要提的是效率的問題, 這幾天在幫忙協助tune某個網站的效能, 本來都tune的差不多了, 卻發現在enable某個大陸分析文章關聯性的plugin後, 整個網站的loading驟增, 後來去trace code後, 發現套件本身其實撰寫上沒有任何問題, 效能的瓶頸在網路連線的速度. 該plugin在每個頁面被開啓的時候, 會嘗試連回大陸的伺服器去取得相關資訊, 由於網站host在美國,  對大陸的latency本來就比較高, 加上如果該廠商的網路品質似乎不太穩定, 就陷入了可怕的循環:</p>
<p>user開啓網頁 -&gt; plugin連回大陸 -&gt; 下一個的request又來, 因為前個request還沒解決, 只好fork新的process來處理 -&gt; 重複回第一步</p>
<p>解決方法就是關掉該plugin, 網站的loading也就回覆正常了, 因此有了這篇文章, 紀錄一下這個經驗 <img src='http://clyang.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove -->]]></content:encoded>
			<wfw:commentRss>http://clyang.net/blog/2011/06/17/426/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>升級系統到WordPress 2.8</title>
		<link>http://clyang.net/blog/2009/06/15/325</link>
		<comments>http://clyang.net/blog/2009/06/15/325#comments</comments>
		<pubDate>Sun, 14 Jun 2009 16:12:39 +0000</pubDate>
		<dc:creator>clyang</dc:creator>
				<category><![CDATA[技術]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://clyang.net/blog/?p=325</guid>
		<description><![CDATA[幾天前就看到後台提醒要升級到2.8，遲遲沒有升級的原因是因為怕一些plugin無法使用或是踩到神祕的地雷，觀察了幾天似乎也沒在網路上面看到有苦主出面哀哀叫，所以應該是沒啥問題，索性就在剛剛升級上來到2.8了，升級過程極度簡單快速，用內建的自動升級功能，連小朋友都能夠無痛的升級，整個過程不到30秒鐘，Good job!!! 升級完成後登入管理頁面，一切良好，除了中文化的部份需要抓新的對應檔，其他一切完美。特別發表此文，紀念一下. XD]]></description>
			<content:encoded><![CDATA[<p>幾天前就看到後台提醒要升級到2.8，遲遲沒有升級的原因是因為怕一些plugin無法使用或是踩到神祕的地雷，觀察了幾天似乎也沒在網路上面看到有苦主出面哀哀叫，所以應該是沒啥問題，索性就在剛剛升級上來到2.8了，升級過程極度簡單快速，用內建的自動升級功能，連小朋友都能夠無痛的升級，整個過程不到30秒鐘，Good job!!! 升級完成後登入管理頁面，一切良好，除了中文化的部份需要抓新的對應檔，其他一切完美。特別發表此文，紀念一下. XD</p>
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove -->]]></content:encoded>
			<wfw:commentRss>http://clyang.net/blog/2009/06/15/325/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Picasa2WordPress v0.1</title>
		<link>http://clyang.net/blog/2009/02/06/128</link>
		<comments>http://clyang.net/blog/2009/02/06/128#comments</comments>
		<pubDate>Fri, 06 Feb 2009 05:15:01 +0000</pubDate>
		<dc:creator>clyang</dc:creator>
				<category><![CDATA[Picasa2Wordpress]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Picasa]]></category>
		<category><![CDATA[upload photo with picasa]]></category>

		<guid isPermaLink="false">http://clyang.net/blog/?p=128</guid>
		<description><![CDATA[[English] *中文說明在本頁下方 Picasa is a handy and cross-platform photo management program developed by Google. Identically, WordPress is a well-known open-source blog system. Both of them are used by many users in the world. If there is a method that could make &#8230; <a href="http://clyang.net/blog/2009/02/06/128">繼續閱讀 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h4>[English] *中文說明在本頁下方</h4>
<p><a title="Picasa" href="http://picasa.google.com" target="_blank">Picasa</a> is a handy and cross-platform photo management program developed by Google. Identically, <a title="WordPress" href="http://wordpress.org/" target="_blank">WordPress</a> is a well-known open-source blog system. Both of them are used by many users in the world. If there is a method that could make them work together will be awesome. Unfortunately, I can&#8217;t find any solution. So I decided to write one to make it possible to upload photos from <a title="Picasa" href="http://picasa.google.com" target="_blank">Picasa</a> to <a title="WordPress" href="http://wordpress.org/" target="_blank">WordPress</a>&#8216;s media library directly.<span id="more-128"></span></p>
<p>I tried to make this easy enough for the one who may not so familiar with computer. If this is still too hard to you, please don&#8217;t be hesitate to mail me for any problem you encountered.</p>
<p>Here is the install instructions:</p>
<ol>
<li><a title="picasa2wordpress" href="http://clyang.net/blog/picasa2wordpress/picasa.zip" target="_blank">Download picasa.zip</a>. Unzip it, and put extracted files (should be 4 files) under your <a title="WordPress" href="http://wordpress.org/" target="_blank">WordPress</a> <strong>wp-admin</strong> directory</li>
<li>Go to "<a title="Picasa Button Generator" href="http://clyang.net/blog/picasa2wordpress/" target="_blank">Picasa Button Generator</a>" to get your own Picasa button (<strong>picasa2wordpress.pbz</strong>). This generator can let you define the tooltip in  your own language.</li>
<li>Put <strong>picasa2wordpress.pbz</strong> at the root directory of  your <a title="WordPress" href="http://wordpress.org/" target="_blank">WordPress</a>.</li>
<li>Type "<strong>picasa://importbutton/?url=http://your.blogs.url/picasa2wordpress.pbz</strong>" at browser&#8217;s navigation bar. Picasa will be launched and install the button automatically.</li>
<li>After you confirm to install the "<a title="WordPress" href="http://wordpress.org/" target="_blank">WordPress</a>" button in <a title="Picasa" href="http://picasa.google.com" target="_blank">Picasa</a>, you may add it to your <a title="Picasa" href="http://picasa.google.com" target="_blank">Picasa</a> panel.</li>
</ol>
<p>Here are some screenshot:</p>
<p><img class="aligncenter size-full wp-image-158" title="pi_t3" src="http://clyang.net/blog/wp-content/uploads/2009/02/pi_t3.png" alt="pi_t3" width="554" height="488" /></p>
<h4>[中文版 - Traditional Chinese]</h4>
<p><a title="Picasa" href="http://picasa.google.com" target="_blank">Picasa</a>是Google出品的一套影像管理程式，簡單上手、介面流暢及支援多平台的特性讓許多使用者愛不釋手，同樣的<a title="WordPress" href="http://wordpress.org/" target="_blank">WordPress</a>這套open-source軟體，也廣為自行架設部落格系統的朋友所喜愛，如果能在Picasa內直接將編輯好的圖片直接上傳到<a title="WordPress" href="http://wordpress.org/" target="_blank">WordPress</a>的媒體庫中，在撰寫blog時就會方便許多，我嘗試在網路上找現成的plugin或是workaround，卻都沒有找到，既然如此我決定自己寫一個來滿足自己需求。</p>
<p>我盡我所能的始安裝方式簡單化，希望能讓即使不太熟悉電腦的人也能夠安裝使用，如果您在安裝上遭遇到任何問題，請留言或是mail給我，我會嘗試幫幫您解決問題。</p>
<p>安裝步驟如下:</p>
<ol>
<li><a title="picasa2wordpress" href="http://clyang.net/blog/picasa2wordpress/picasa.zip" target="_blank">下載 picasa.zip</a>。 解壓縮它並且將解開的4個檔案放置在<a title="WordPress" href="http://wordpress.org/" target="_blank">WordPress</a>的<strong>wp-admin</strong>資料夾下。</li>
<li>前往 "<a title="Picasa Button Generator" href="http://clyang.net/blog/picasa2wordpress/" target="_blank">Picasa Button Generator</a>" 頁面去產生專屬您Blog的Picasa button (<strong>picasa2wordpress.pbz</strong>)。 這個頁面已經預設好繁體中文的說明，所以您只須填上您Blog的url後，按下Submit按鈕即可取得檔案。</li>
<li>將<strong>picasa2wordpress.pbz</strong>檔案放置到<a title="WordPress" href="http://wordpress.org/" target="_blank">WordPress</a>的跟目錄下。</li>
<li>在網址列輸入："<strong>picasa://importbutton/?url=http://你的部落格網址/picasa2wordpress.pbz</strong>" 。這時<a title="Picasa" href="http://picasa.google.com" target="_blank">Picasa</a>會自動被啟動，並且詢問您是否安裝該按鈕，點選"<strong>是</strong>"後，程式便會自動將按鈕安裝置<a title="Picasa" href="http://picasa.google.com" target="_blank">Picasa</a>。</li>
<li>您在配置按鈕頁面就會看到<a title="WordPress" href="http://wordpress.org/" target="_blank">WordPress</a>這個按鈕, 點選該按鈕按下新增後即可使用。</li>
</ol>
<p>最後是有圖有真相之審查砲彈:</p>
<p><img class="aligncenter size-full wp-image-158" title="pi_t3" src="http://clyang.net/blog/wp-content/uploads/2009/02/pi_t3.png" alt="pi_t3" width="554" height="488" /></p>
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove -->]]></content:encoded>
			<wfw:commentRss>http://clyang.net/blog/2009/02/06/128/feed</wfw:commentRss>
		<slash:comments>104</slash:comments>
		</item>
	</channel>
</rss>

