<?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; Picasa2Wordpress</title>
	<atom:link href="http://clyang.net/blog/category/tech/picasa2wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://clyang.net/blog</link>
	<description>Clyang's Murmuring</description>
	<lastBuildDate>Fri, 25 Sep 2009 18:11:32 +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>當apache的errorlog出現configured request variable name length limit exceeded</title>
		<link>http://clyang.net/blog/2009/02/09/177</link>
		<comments>http://clyang.net/blog/2009/02/09/177#comments</comments>
		<pubDate>Mon, 09 Feb 2009 10:51:42 +0000</pubDate>
		<dc:creator>clyang</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Picasa2Wordpress]]></category>
		<category><![CDATA[技術]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[suhosin]]></category>

		<guid isPermaLink="false">http://clyang.net/blog/?p=177</guid>
		<description><![CDATA[之前在寫Picasa2Wordpress的時候，測試的時候，遇到一個詭異的問題，在我有權限能access的機器們上面跑，就是有一台跑不起來，後來查了一下apache2的log才發現，原來是php suhosin module的問題，預設最大的POST及GET變數名稱最大只能夠是64字元，但是Picasa POST出去的卻遠超過，所以就被檔下來了。
解決方法很簡單，編輯/etc/php5/apache2/conf.d/suhosin.ini，加上下面這三行即可:
suhosin.request.max_varname_length=128
suhosin.get.max_name_length=128
suhosin.post.max_name_length=128
搞定收工。
]]></description>
			<content:encoded><![CDATA[<p>之前在寫Picasa2Wordpress的時候，測試的時候，遇到一個詭異的問題，在我有權限能access的機器們上面跑，就是有一台跑不起來，後來查了一下apache2的log才發現，原來是php suhosin module的問題，預設最大的POST及GET變數名稱最大只能夠是64字元，但是Picasa POST出去的卻遠超過，所以就被檔下來了。</p>
<p>解決方法很簡單，編輯/etc/php5/apache2/conf.d/suhosin.ini，加上下面這三行即可:</p>
<blockquote><p>suhosin.request.max_varname_length=128<br />
suhosin.get.max_name_length=128<br />
suhosin.post.max_name_length=128</p></blockquote>
<p>搞定收工。</p>
]]></content:encoded>
			<wfw:commentRss>http://clyang.net/blog/2009/02/09/177/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 them work together will be awesome. Unfortunately, I can&#8217;t find any solution. So I decided to [...]]]></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>&#8217;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>
]]></content:encoded>
			<wfw:commentRss>http://clyang.net/blog/2009/02/06/128/feed</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
	</channel>
</rss>
