<?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>國網中心 Web 2.0 技術推廣</title>
	<atom:link href="http://www.qweruiop.org/nchcrails/feed" rel="self" type="application/rss+xml" />
	<link>http://www.qweruiop.org/nchcrails</link>
	<description>Google App Engine, Ruby on Rails, 還有其他有關 Web 2.0 的工具</description>
	<lastBuildDate>Wed, 10 Mar 2010 09:48:00 +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>Wordpress 部落格軟體</title>
		<link>http://www.qweruiop.org/nchcrails/posts/59</link>
		<comments>http://www.qweruiop.org/nchcrails/posts/59#comments</comments>
		<pubDate>Wed, 10 Mar 2010 09:48:00 +0000</pubDate>
		<dc:creator>Li Cheng</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[網路工具]]></category>

		<guid isPermaLink="false">http://www.qweruiop.org/nchcrails/?p=59</guid>
		<description><![CDATA[這個網站是用 Wordpress 架的。 雖然這篇文章跟 Ruby on Rails 沒有關係， 可是收集到的 Wordpress 工具想分享一下。

基本介紹

Wordpress 是用 PHP 寫的軟體， 如要自己架的話伺服器上面要跑 PHP 也要跑 MySQL。 到 wordpress.org 把整個軟體下載， 解壓縮後上傳到你的伺服器上面。 列如， 我的 wordpress 裝在伺服器裡的 public_html 下的檔案夾 nchcrails。  我把安裝檔下載解壓縮後改名為 nchcrails， 然後把整個檔案上傳到 public_html 底下， 再把檔案權限改成 777。


chmod 777 .


改後我瀏覽到 http://www.qweruiop.org/nchcrails/ 然後執行裡面的安裝指令。 它會問你資料庫的密碼等等， 還會問說資料表前面要不要加一些字串。 有加字串的話一個資料庫可放數個 wordpress。
安裝後把整個 public_html 檔案夾的權限改成 755。


chmod 755 ~/public_html


管理 wordpress

Wordpress 裡面的主題 (theme) 有很多， 可以去網路上下載來改變部落格的長相。 [...]]]></description>
		<wfw:commentRss>http://www.qweruiop.org/nchcrails/posts/59/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>抄筆記的軟體: OmniOutliner 3</title>
		<link>http://www.qweruiop.org/nchcrails/posts/123</link>
		<comments>http://www.qweruiop.org/nchcrails/posts/123#comments</comments>
		<pubDate>Fri, 05 Mar 2010 02:48:58 +0000</pubDate>
		<dc:creator>Li Cheng</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.qweruiop.org/nchcrails/?p=123</guid>
		<description><![CDATA[我的筆記都用 Omni-Outliner 來記。 看一下這短短的影片 (3 分鐘) 來了解它的用途。蠻好用的，可是它不是免費的軟體，而且只能在蘋果電腦上用。


]]></description>
		<wfw:commentRss>http://www.qweruiop.org/nchcrails/posts/123/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用者認證</title>
		<link>http://www.qweruiop.org/nchcrails/posts/84</link>
		<comments>http://www.qweruiop.org/nchcrails/posts/84#comments</comments>
		<pubDate>Thu, 05 Nov 2009 06:35:14 +0000</pubDate>
		<dc:creator>Li Cheng</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.qweruiop.org/nchcrails/?p=84</guid>
		<description><![CDATA[這篇介紹：


用 Google, Yahoo, OpenID 等等認證機制來登入你的 Ruby on Rails 網站




自己架個網站來測試!

教學影片在這裡  (7 分鐘)，要看才會知道這篇是寫什麼喔。 這篇文章是看 Authlogic RPX Gem 的網站來寫的。 rpxnow.com 是一個認證機制的網站。 訪客到你的網站時，你把他們送去 rpxnow.com。 他們在那裡可以選擇很多不同的登入方法， 登入完後他們就會被送回你的網站。 整個登入流程可以 先去這邊操作一下 ，選右上角的 &#8220;Register/Sign in with RPX..&#8221; 。

測試步驟如下:


去 rpxnow.com 註冊，新增一個帳號，寫下帳號名稱跟 RPX key
下載 authlogic-rpx 樣本檔
sudo rake gems:install
rake db:migrate
修改 environment.rb 裡最下方的這兩行：



  RPX_API_KEY = &#039;20ff918547517djhgfjhgfhjae233da847b9a8f6&#039;
  RPX_APP_NAME = &#039;lunch-lotto&#039;



script/server


設定使用者可用哪些網站登入

rpxnow.com 有免費的方案， 但那個方案會限制你只能選六種登入的方法。 我覺得六個就夠多了， 所以我是用免費的方案。 去 [...]]]></description>
		<wfw:commentRss>http://www.qweruiop.org/nchcrails/posts/84/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Wave &#8211; 新手問題</title>
		<link>http://www.qweruiop.org/nchcrails/posts/66</link>
		<comments>http://www.qweruiop.org/nchcrails/posts/66#comments</comments>
		<pubDate>Thu, 03 Sep 2009 02:46:31 +0000</pubDate>
		<dc:creator>Li Cheng</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.qweruiop.org/nchcrails/?p=66</guid>
		<description><![CDATA[開發 Google Wave 我用的是 Mac OS X 跟 Python。

看了 Google Wave, 覺得它應該是下一波的科技潮， 所以已經申請了一個帳號來測試。 之前等 Google 支援 Ruby 等了很久了， 可是現在它還是只支援 Java 跟 Python。  想了想還是跳進去學 Python 吧！ Java 之前有學過， 覺得它很麻煩， 而且 Google 也是一堆人寫 Python， 所以 Google Wave 就想用 Python 寫了。

價錢比較

Google AppEngine 的費用跟 Heroku 比起來又怎麼比呢？ Heroku 是 Ruby on Rails 的 hosting  公司之一， 目前在 Ruby on [...]]]></description>
		<wfw:commentRss>http://www.qweruiop.org/nchcrails/posts/66/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>安裝 Rails &#8211; Windows</title>
		<link>http://www.qweruiop.org/nchcrails/posts/29</link>
		<comments>http://www.qweruiop.org/nchcrails/posts/29#comments</comments>
		<pubDate>Fri, 21 Aug 2009 00:41:00 +0000</pubDate>
		<dc:creator>Li Cheng</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://nchcrails.wordpress.com/2007/04/23/%e5%ae%89%e8%a3%9d-rails-windows/</guid>
		<description><![CDATA[2009.8.8 更新過

在 Windows 上要開發 Ruby on Rails 真的是比在 Mac 或 Linux 上面還難。 原本以為用 Ruby One-Click Installer 就可以輕鬆安裝， 可是安裝後才發現裝起來的 Ruby 跟 Windows 不相容。 用到比較進階的 gem 工具後也沒辦法安裝。 Instantrails 也聽說有不相容的問題出現。 所以只有用 cygwin 來安裝，不相容的問題以後才不會有那麼多。  雖然說是問題比較少， 可是以後或許會遇到無解的問題。  現在還是建議去買一台便宜一點的 Mac Mini 蘋果便當來當開發用的工具吧。  這篇文章是根據ocsblog還有hivelogic拼湊出來的。 如果你在安裝時有遇到什麼問題跟我說一下， 因為我可能已經碰過了。

要設好一個 Rails 開發程式環境需要四大步驟。 第一是 Rails 程式安裝，第二是資料庫軟體安裝。 第三是程式編輯軟體安裝。 資料庫的話，可以選擇不同的資料庫，但我會與 SQLite3 為主。 我會在安裝 rails 的步驟裡順便安裝 sqlite。 [...]]]></description>
		<wfw:commentRss>http://www.qweruiop.org/nchcrails/posts/29/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Sqlite3 資料庫</title>
		<link>http://www.qweruiop.org/nchcrails/posts/55</link>
		<comments>http://www.qweruiop.org/nchcrails/posts/55#comments</comments>
		<pubDate>Thu, 02 Apr 2009 05:50:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.qweruiop.org/nchcrails/?p=55</guid>
		<description><![CDATA[文章範圍


安裝 SQLite3
基本操作


安裝 SQLite3

Windows

請看此影片 (13MB 4分鐘)。 
用到的網站是 sqlite3 官方網站。

蘋果電腦 / Linux

蘋果電腦本身就有安裝 sqlite3, 但如果你自己要安裝的話，可以下這些指令:


curl -O http://www.sqlite.org/sqlite-3.6.12.tar.gz
tar xzf sqlite-3.6.12.tar.gz
cd sqlite-3.6.12
./configure --prefix=/usr/local
make
sudo make install


版本如有更新的話，把 &#8220;3.6.12&#8243; 改成最新的版本

Ruby-Sqlite Binding

裝完了後，不要忘了下這指令來安裝 Sqlite 跟 Ruby 間的 binding


sudo gem install sqlite3-ruby

Windows 不用加 &#8220;sudo&#8221; 喔！

基本操作


sqlite3 mydatabase         #建立一個新的 database，名字叫 mydatabase
.exit          [...]]]></description>
		<wfw:commentRss>http://www.qweruiop.org/nchcrails/posts/55/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>電視節目管理程式</title>
		<link>http://www.qweruiop.org/nchcrails/posts/54</link>
		<comments>http://www.qweruiop.org/nchcrails/posts/54#comments</comments>
		<pubDate>Fri, 14 Nov 2008 16:07:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.qweruiop.org/nchcrails/?p=54</guid>
		<description><![CDATA[2009.11.04 連結都可以連了!

整個程式的原始碼放在這

我索取資料的網站 http://www.hytv.com.tw/ 已經關閉了，所以現在沒辦法收集新的資料。 但教學影片還是可以看看， 會給你一個開發 RoR 程式的概念。 教學影片製作到此為止， 不會再新增。


000 安裝 Rails 開發環境。 Windows XP 上的安裝請看這。
001 RoR 檔案結構介紹  (15 分鐘)


課程筆記

002 電視節目管理程式介紹  (6 分鐘)
003 開始寫程式. MySQL 安裝  (8 分鐘), Netbeans 程式編輯軟體 (4 分鐘), migrations 資料庫更動  (36 分鐘) 


課程筆記
資料表: showtimes, shows, channels

004 灌假資料  fixtures 和 populator, 基本資料顯示方法 (32 分鐘)


課程筆記
Windows XP 上的 MySQL [...]]]></description>
		<wfw:commentRss>http://www.qweruiop.org/nchcrails/posts/54/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>時間</title>
		<link>http://www.qweruiop.org/nchcrails/posts/52</link>
		<comments>http://www.qweruiop.org/nchcrails/posts/52#comments</comments>
		<pubDate>Tue, 07 Oct 2008 03:03:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<guid isPermaLink="false">http://www.qweruiop.org/nchcrails/?p=52</guid>
		<description><![CDATA[ 碎碎念 

Ruby 的時間計算功能很強的， 而且 Rails 再新增更多的功能， 像 1.day.from_now 就可以給你一天後的時間。 這更能是別的語言比較少看到的。 要測試本文章裡的時間功能不要忘了開啟 script/console 才試驗喔， 因為有些時間的功能是 Rails 外加的， Ruby 裡沒有。

 本文章的範圍 


  加/減時間
  時間顯示的格式
  跟時間有關的欄位命名
  Time 跟 DateTime 的差別
  大約的時間
  精準的時間
  去資料庫撈某某時間內的資料
  資料分成一天一天來顯示


不會討論到:


  時區支援 &#8211; 可以參考 Railscasts 第 106 集 還有 
  mad.ly
  
  [...]]]></description>
		<wfw:commentRss>http://www.qweruiop.org/nchcrails/posts/52/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenID &#8211; 使用者管理</title>
		<link>http://www.qweruiop.org/nchcrails/posts/50</link>
		<comments>http://www.qweruiop.org/nchcrails/posts/50#comments</comments>
		<pubDate>Wed, 09 Jul 2008 09:13:55 +0000</pubDate>
		<dc:creator>Li Cheng</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.qweruiop.org/nchcrails/?p=50</guid>
		<description><![CDATA[注意! OpenID 不是最好的認證方式。 現在改為用 Authlogic + RPX 囉！

 此文章的範圍 


介紹 openID 的認證機制
教導如何在新的程式裡使用多個 openID 認證
不介紹舊的程式裡如何套用 openID


 資源 

有關 openID 可以看看 Ryan Bates 的 podcast。 我們用的起步程式包含了 restful_authentication。 如果覺得這種認證機制是牛刀殺雞的話， 可以考慮用 HTTP 基本認證或是最簡單的認證方法。

 什麼是 openID? 

openID 的目的就是用一個使用者名稱來登入多個網站。  我的 openID 是 qweruiop.myopenid.com。  理論上， 如果雅虎和 Google 都用 openID 的話， 我就可以享受這些功能： 分別登入雅虎跟 Google 的網站， 跟他們說我的 openID。
之後， 我到雅虎的網站上用 qweruiop.myopenid.com 登入時， 它就送我到 [...]]]></description>
		<wfw:commentRss>http://www.qweruiop.org/nchcrails/posts/50/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git 原始碼管理</title>
		<link>http://www.qweruiop.org/nchcrails/posts/49</link>
		<comments>http://www.qweruiop.org/nchcrails/posts/49#comments</comments>
		<pubDate>Thu, 15 May 2008 09:52:41 +0000</pubDate>
		<dc:creator>Li Cheng</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.qweruiop.org/nchcrails/?p=49</guid>
		<description><![CDATA[文章範圍


安裝 和 設定 Git
Git 基本操作
長樹枝了(分叉成不同的版本)
Ruby on Rails 上使用
Git 維護


本文章的來源大部分是由 Git 官方網站裡的基本 和更先進一點的教學翻譯的， 然後加入了自己寫的範例。 Railscasts裡的資料也有參考到。  此文章的內容會談到 Git 基本管理， 維護， 還有資料分枝。 此文章不會談到架設自己的 Git 伺服器 或 push 跟 pull 等跟別人合作的方法。

Git 指令快速查照



git init             # 開始用 Git 來管理
git add .        [...]]]></description>
		<wfw:commentRss>http://www.qweruiop.org/nchcrails/posts/49/feed</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>
