<?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>d.CAT- the RIA blog &#187; blog related</title>
	<atom:link href="http://ria.richtechmedia.com/category/blog-related/feed/" rel="self" type="application/rss+xml" />
	<link>http://ria.richtechmedia.com</link>
	<description>a dedicated Flash&#124;Flex Rich Internet Application Blog from a senior Flex RIA developer/instructor</description>
	<lastBuildDate>Wed, 07 Apr 2010 02:39:40 +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>一年。</title>
		<link>http://ria.richtechmedia.com/2010/04/01/%e4%b8%80%e5%b9%b4%e3%80%82/</link>
		<comments>http://ria.richtechmedia.com/2010/04/01/%e4%b8%80%e5%b9%b4%e3%80%82/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 05:56:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blog related]]></category>

		<guid isPermaLink="false">http://ria.richtechmedia.com/?p=1185</guid>
		<description><![CDATA[2009 年四月一日寫完這篇後，決定停筆一年。
主要原因如下：
1、當時陷入極度的繁忙的狀態，如果原本忙錄 scale 是這樣 [忙 - 很忙 - 非常忙]，當時則是破表數倍進入瘋狂的境界。
2、覺得想寫的東西很多，但能用的時間很少，與其亂寫出來言不及義，不如保持沉默。
3、有些事，一直打嘴炮比不上 shut the fuck up and do it, 所以決定權衡輕重把所有資源放到 do it 上。
一年很快過去，雖然仍然忙錄，但愚人節這天是重新提筆的好時機，所以，我們回來了。
]]></description>
		<wfw:commentRss>http://ria.richtechmedia.com/2010/04/01/%e4%b8%80%e5%b9%b4%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Posting with Ecto</title>
		<link>http://ria.richtechmedia.com/2008/03/02/posting-with-ecto/</link>
		<comments>http://ria.richtechmedia.com/2008/03/02/posting-with-ecto/#comments</comments>
		<pubDate>Sun, 02 Mar 2008 02:05:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[blog related]]></category>

		<guid isPermaLink="false">http://ria.richtechmedia.com/2008/03/02/posting-with-ecto/</guid>
		<description><![CDATA[<p>抓了一支 mac 的新玩具叫 ecto，專門用來寫 blog 文章，據說跟 wordpress 很速配也支援中文，就來玩玩。</p>]]></description>
		<wfw:commentRss>http://ria.richtechmedia.com/2008/03/02/posting-with-ecto/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>wordpress 新玩具</title>
		<link>http://ria.richtechmedia.com/2006/11/11/wordpress-%e6%96%b0%e7%8e%a9%e5%85%b7/</link>
		<comments>http://ria.richtechmedia.com/2006/11/11/wordpress-%e6%96%b0%e7%8e%a9%e5%85%b7/#comments</comments>
		<pubDate>Sat, 11 Nov 2006 08:00:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blog related]]></category>

		<guid isPermaLink="false">http://ria.richtechmedia.com/2006/11/11/wordpress-%e6%96%b0%e7%8e%a9%e5%85%b7/</guid>
		<description><![CDATA[最近每日spam 數量由原本的數十個變成數百個，想想實在不是辦法，趁今天沒事來裝些新玩具，首先就是裝了 Spam Karma (SK2)，可以自動過濾大部份的spam，不過剛裝好不太熟悉，好像有誤砍幾個comment，希望這些朋友別介意。
另一個裝的是 subscribe to comment，這個plugin很有趣，當你下次留完言後，可以勾選這個項目，將來再有人留言時就會自動email通知，也就是可以自動 follow-up。
&#8212;-
SK2 使用小心得
裝好後它應該會自動建立三個 table，spam, log 與 blacklist，但我的情況中它並沒有建立 blacklist 這個table，所以後台管理介面每次refresh頁面時都會出現錯誤訊息，解決方法：自已把這個table加進去，sql語法如下 (這是從 sk2_core_class.php 裏挖出來的)
CREATE TABLE `sk2_blacklist` (
	 `id` int(11) NOT NULL auto_increment,
	 `type` tinytext NOT NULL,
	 `value` text NOT NULL,
	 `score` int(11) NOT NULL default &#8216;0&#8242;,
	 `trust` int(11) NOT NULL default &#8216;0&#8242;,
	 `comments` text NOT NULL,
	 `added` datetime NOT NULL [...]]]></description>
		<wfw:commentRss>http://ria.richtechmedia.com/2006/11/11/wordpress-%e6%96%b0%e7%8e%a9%e5%85%b7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>升級 wordpress 2.02 完成</title>
		<link>http://ria.richtechmedia.com/2006/03/15/%e5%8d%87%e7%b4%9a-wordpress-202-%e5%ae%8c%e6%88%90/</link>
		<comments>http://ria.richtechmedia.com/2006/03/15/%e5%8d%87%e7%b4%9a-wordpress-202-%e5%ae%8c%e6%88%90/#comments</comments>
		<pubDate>Wed, 15 Mar 2006 02:11:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blog related]]></category>

		<guid isPermaLink="false">http://ria.richtechmedia.com/?p=340</guid>
		<description><![CDATA[在觀望三個月後，最近終於覺得  wordpress 2.0這個版本比較穩定了，所以前兩天沒事就順手升級一下。
幾個keynote:
-一定要先備份mysql 資料
-一定要先將舊的folder全tar 一份起來
有了以上兩者，就算升級過程發生不幸，也可以在五分鐘內回覆到舊版本。
至於升級後的好處與試用心得：
-CMS部份全部改寫，大量使用 ajax小技巧，目前用來還算順手。
-新的所見即所得式文字編輯框，不太好用，通常我習慣自已打html tag進去，但現在某些tag會衝突。
-spam管理：這是本站最需要的東西，不知為何，通常spam都是發到mysql亂碼與wordpress分類這兩篇，平均每日有十來封，現在有了新的spam filter，情況好很多。
-db 自動備份：這樣就不用crontab了.
-版型可續用：這是升級前最擔心的事，如果像之前升級 v1.x時要重新設計版面那就謝謝再聯絡了，好在一切都很順利，只要小修幾個css即可。
另外升級後也改了幾個plugin，將來應該會更順。
接下來就是要找一個方便好用的 swf 插入器，以後有 swf demo 可以直接 embed 在文字裏，不用再連到外面了。
sidenote: 升級時我又再想了一遍，像wordpress這種app，用flex 來寫是否適當？目前的結論是：後台CMS的部份用flex寫應該ok，有某些功能會更順手，版面配置也會更靈活，同時不用擔心平台與browser版本問題；但前台的部份仍然是用純html/css 比較好。
]]></description>
		<wfw:commentRss>http://ria.richtechmedia.com/2006/03/15/%e5%8d%87%e7%b4%9a-wordpress-202-%e5%ae%8c%e6%88%90/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>comment disabled</title>
		<link>http://ria.richtechmedia.com/2005/11/04/comment-disabled/</link>
		<comments>http://ria.richtechmedia.com/2005/11/04/comment-disabled/#comments</comments>
		<pubDate>Thu, 03 Nov 2005 19:37:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blog related]]></category>

		<guid isPermaLink="false">http://ria.richtechmedia.com/?p=288</guid>
		<description><![CDATA[due to huge amount of spams coming in everyday, just disabled comment till I found a nice and easy way to deal with it.
]]></description>
		<wfw:commentRss>http://ria.richtechmedia.com/2005/11/04/comment-disabled/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>文章的易讀性</title>
		<link>http://ria.richtechmedia.com/2005/09/06/%e6%96%87%e7%ab%a0%e7%9a%84%e6%98%93%e8%ae%80%e6%80%a7/</link>
		<comments>http://ria.richtechmedia.com/2005/09/06/%e6%96%87%e7%ab%a0%e7%9a%84%e6%98%93%e8%ae%80%e6%80%a7/#comments</comments>
		<pubDate>Tue, 06 Sep 2005 00:21:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blog related]]></category>

		<guid isPermaLink="false">http://ria.richtechmedia.com/?p=234</guid>
		<description><![CDATA[最近在整理usability 的筆記跟書籍，準備演講跟教課之需。
＊下標題方便閱讀
結果翻到以前研究所時的排版筆記，才赫然想起來其實自已的blog也犯了幾個錯誤，雖然我已經將文字寬度縮短以方便眼睛橫向scan，便於閱讀與理解，但由於文章一向都寫的落落長，又缺乏圖片、插畫的裝飾，因此雖然橫向來看很輕鬆，但縱向看時就很辛苦。
當然解決這個問題的方法有很多種，例如向macromedia devnet一樣分頁，一頁只顯示約40行文字，但這樣做就得改wordpress的程式碼，我最好是有這種時間可以hacking~ 退而求其次，就是為文章加上段落標題，也就是平常主編大人們在做的事，編修文章並下標，然後用粗一級的字與顏色標示出來，這樣至少讀者可以快速在縱向掃描時抓到文章的大要，再決定要不要看下去或只看那些段落。
雖然以前在學校沒花太多心思在編採與排版上(90年代初大家都在玩網路了，誰還用quark做平面啊)，不過憑者手邊僅存的筆記跟幾本書，還是稍微能重溫下標的技巧與方法。
這代表者以後的文章(只要時間許可)，都會順手下個標題方便大家閱讀囉。 
＊貼圖手續繁雜仍待改進
至於圖片與插畫部份，由於我還是沒找到一個合用的 blog posting tool，可以讓我能在本機上寫文章、貼圖片、排版，然後一個 post button就把文字送進 wordpress, 圖片則用 ftp/webdav上傳到 hosting site，因此只能繼續用手工方式抓圖、存檔、ftp上傳、wordpress加鏈結，但這樣一來由於手續繁雜自然就懶的放圖片了(我相信tinic也是同樣的懶人而且實踐的更徹底)，因此在這種方便好用的工具出現前，呃，圖片也是隨緣了。(如果你知道有符合上述功能並完整支援中文與wordpress系統的軟體，麻煩請留個言告訴我:-) + (如果你願意奉獻時間寫一個支援wordpress的 blogging tool，有需要幫忙的地方我一定儘力)
note:現在大部份像 w.logger這樣的blogging tool都不支援圖片上傳，也就是硬碟裏的圖片沒辦法跟文章一起發佈到blog上(通常是文字過去了但圖還留在硬碟裏)，而少數支援 ftp上傳圖片的的tool又不支援中文，因此 中文 + ftp上傳 + wordpress 就成為最重要的選擇條件。(當然文字發表的部份一般都用xmlrpc做，因此一定是可以支援一狗票blog系統)
]]></description>
		<wfw:commentRss>http://ria.richtechmedia.com/2005/09/06/%e6%96%87%e7%ab%a0%e7%9a%84%e6%98%93%e8%ae%80%e6%80%a7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>all about the &#8220;about&#8221;</title>
		<link>http://ria.richtechmedia.com/2005/07/31/all-about-the-about/</link>
		<comments>http://ria.richtechmedia.com/2005/07/31/all-about-the-about/#comments</comments>
		<pubDate>Sun, 31 Jul 2005 05:34:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[blog related]]></category>

		<guid isPermaLink="false">http://ria.richtechmedia.com/?p=200</guid>
		<description><![CDATA[ok, 經過七個月的delay, 本站的 about終於有內容了  
]]></description>
		<wfw:commentRss>http://ria.richtechmedia.com/2005/07/31/all-about-the-about/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>資料庫不穩定</title>
		<link>http://ria.richtechmedia.com/2005/07/29/%e8%b3%87%e6%96%99%e5%ba%ab%e4%b8%8d%e7%a9%a9%e5%ae%9a/</link>
		<comments>http://ria.richtechmedia.com/2005/07/29/%e8%b3%87%e6%96%99%e5%ba%ab%e4%b8%8d%e7%a9%a9%e5%ae%9a/#comments</comments>
		<pubDate>Fri, 29 Jul 2005 10:42:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blog related]]></category>

		<guid isPermaLink="false">http://ria.richtechmedia.com/?p=196</guid>
		<description><![CDATA[下午大概從四點半起 dreamhost的mysql就開始不穩定，斷斷續續出現 databast connection error, 本來我還以為是這兩天玩plugin惡搞的太兇把db給搞掛了，結果連到 gslin也是同病相憐，心裏就好過了多了(哈哈~這是什麼心態&#8230;)
大約到了六點半左右已經恢復正常，附帶一提 dreamhost的客服回信真是快的驚人，如果每次downtime都能維持這樣短暫，我到是不介意偶爾發生一下。
]]></description>
		<wfw:commentRss>http://ria.richtechmedia.com/2005/07/29/%e8%b3%87%e6%96%99%e5%ba%ab%e4%b8%8d%e7%a9%a9%e5%ae%9a/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress 1.5升級注意事項 &#8211; theme篇</title>
		<link>http://ria.richtechmedia.com/2005/07/27/wordpress-15%e5%8d%87%e7%b4%9a%e6%b3%a8%e6%84%8f%e4%ba%8b%e9%a0%85-theme%e7%af%87/</link>
		<comments>http://ria.richtechmedia.com/2005/07/27/wordpress-15%e5%8d%87%e7%b4%9a%e6%b3%a8%e6%84%8f%e4%ba%8b%e9%a0%85-theme%e7%af%87/#comments</comments>
		<pubDate>Wed, 27 Jul 2005 07:50:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blog related]]></category>

		<guid isPermaLink="false">http://ria.richtechmedia.com/?p=193</guid>
		<description><![CDATA[wordpress 1.5採用了全新的theme概念來設定版型，因此以往一張 index.php通吃的作法就行不通了，大部份時後甚至連舊版型也無法直接套用到新系統上，因此乾脆趁這次移機順便設計一張新版型，然後照 v1.5的規則玩一遍版型製作。
簡單來說wp的版型是由五大部份組成，由上而下依序是：
-header.php: 網頁最上方的圖案、logo、導覽系統等...
-index.php：主要文章顯示區域， 裏面是一個大loop
-sidebar.php: 旁邊的連結區，例如可放 category, recent post之類的東西
-footer.php: 最下方通常是放版權聲明的地方
-layout.css: 這是全站精華之所在，所有的版型與視覺效果都靠它來設定。
而在 v1.5則是新增了下列版型要處理：
-404.php: 當找不到頁面時顯示的錯誤訊息畫面
-comments.php：顯示與填寫 comments的畫面
-page.php：單一頁面的內容版型
-search.php：搜尋結果版型
-single.php：單一文章的版型
一般情況下都是先將最上面的五大版型搞定，整個blog的視覺樣貌就勾勒出來了，之後有空再處理其它的版型。
對初學者來說，設計wp版型最基本的概念就是：區塊 與 程式碼。
區塊一般長這樣：
PLAIN TEXT
XML:




&#60;div class="minientry"&#62;


&#160; &#160; &#160;....


&#60;/div&#62; 






程式碼則是長這樣
PLAIN TEXT
PHP:




&#60;?php the_permalink&#40;&#41;; ?&#62;


&#60;?php the_author&#40;&#41; ?&#62; 






所以只要用先用 div 把版型上的區塊都排出來，然 後再放入適當的程式碼，例如 < ?php the_author() ?>，就可以在這個 div裏面填入作者的名稱。
更簡單一點想，你也大可先用 dreamweaver寫一張空的版型出來，只要命名規則清楚(最好follow wp的規則，例如 header, entry, comment, footer之類的)，然後再將php code套進去就可以了。
以這次的製作來說，我是先用 fireworks 把版型做好，等確定滿意後，再依需要的部份將背景、logo、底紋分別輸出成gif，之後就看者這張版型到 dreamweaver寫 css，先用幾個大的 div tag將版型拉出來，再開始設定長寬與顏色，整個過程大約花兩天(反正最近支氣管炎頗嚴重也做不了正事，so....)
另外也趁這次機會來個plugin大進擊，把 wp-plugins站上所有的plugin都看了一遍，撈了大約十幾個回來，例如現在右邊可以看到的 recent-comments就寫的挺不錯，還可以分類。
還有一個 technorati tag也很好玩，我得仔細想想這種tag要怎麼融入blog才有真正的意義。
當然，我也找了
PLAIN TEXT
Actionscript:




class Myblog [...]]]></description>
		<wfw:commentRss>http://ria.richtechmedia.com/2005/07/27/wordpress-15%e5%8d%87%e7%b4%9a%e6%b3%a8%e6%84%8f%e4%ba%8b%e9%a0%85-theme%e7%af%87/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress 1.5升級注意事項 &#8211; 中文亂碼篇</title>
		<link>http://ria.richtechmedia.com/2005/07/27/wordpress-15%e5%8d%87%e7%b4%9a%e6%b3%a8%e6%84%8f%e4%ba%8b%e9%a0%85-%e4%b8%ad%e6%96%87%e4%ba%82%e7%a2%bc%e7%af%87/</link>
		<comments>http://ria.richtechmedia.com/2005/07/27/wordpress-15%e5%8d%87%e7%b4%9a%e6%b3%a8%e6%84%8f%e4%ba%8b%e9%a0%85-%e4%b8%ad%e6%96%87%e4%ba%82%e7%a2%bc%e7%af%87/#comments</comments>
		<pubDate>Wed, 27 Jul 2005 07:28:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[
php/mysql]]></category>
		<category><![CDATA[blog related]]></category>

		<guid isPermaLink="false">http://ria.richtechmedia.com/?p=192</guid>
		<description><![CDATA[＊中文亂碼
大部份人升級wordpress 1.5時碰到的問題都是中文亂碼，尤其是如果原本用 mysql 4.0 而同時要升級到 mysql 4.1的話。
主要原因是mysql 4.1在語系方面增加了許多功能，它可以設定語系的層次從最底層的 server, database 到單一 table, column, connection 都可以設定，而除了語系之外，還可以指定搭配不同的 collation，所以組合百百種，只要一個錯了就難逃亂碼的命運。(而之前用mysql 4.0為何不用設定也不會出問題呢？主要原因是那時預設是 latin-1，正好相容大部份的utf-8字元，所以不常碰到亂碼)
所以如果你的情況跟我一樣，同時要將 wordpress 從 v1.2升級到 v1.5, 然後mysql也要 v4.0 升級到 v4.1 的話，請看下面流程：
0. 先進phpmyadmin找到可輸入 sql query的畫面，然後鍵入：
show variables like '%character%';
這句話會顯示目前資料庫使用的語系設定，一般國外的網站或剛裝好的 mysql 4.1預設都是 latin-1。
1 新增wordpress blog要用的database名稱，例如 myblog.
如果你熟悉 phpmyadmin 的操作，在畫面上就可以選擇這個新database 要用的語系，
charset 請選擇  UTF-8 Unicode (utf8)
collation 請選擇  utf8_general_ci  (ci 代表 case insensitve [...]]]></description>
		<wfw:commentRss>http://ria.richtechmedia.com/2005/07/27/wordpress-15%e5%8d%87%e7%b4%9a%e6%b3%a8%e6%84%8f%e4%ba%8b%e9%a0%85-%e4%b8%ad%e6%96%87%e4%ba%82%e7%a2%bc%e7%af%87/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>

