<?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>Doing &#38; Done &#187; ruby</title>
	<atom:link href="http://doing.liduan.com/tag/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://doing.liduan.com</link>
	<description>Record and Store</description>
	<lastBuildDate>Tue, 03 Aug 2010 04:11:30 +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>format &#8216;12345&#8242; to &#8216;12,345&#8242;  javasc &#8230;</title>
		<link>http://doing.liduan.com/2009/07/01/format-12345-to-12345javasc/</link>
		<comments>http://doing.liduan.com/2009/07/01/format-12345-to-12345javasc/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 10:55:16 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/07/01/format-12345-to-12345javasc/</guid>
		<description><![CDATA[format &#8216;12345&#8242; to &#8216;12,345&#8242;
javascript:
string.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, function(s){return s+","})

ruby:
string.gsub(/(\d)(?=(\d\d\d)+(?!\d))/) { &#124;match&#124; match + ',' }

DecimalFormat class also can be used.]]></description>
			<content:encoded><![CDATA[<p>format &#8216;12345&#8242; to &#8216;12,345&#8242;</p>
<p>javascript:<br />
<code>string.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, function(s){return s+","})<br />
</code></p>
<p>ruby:<br />
<code>string.gsub(/(\d)(?=(\d\d\d)+(?!\d))/) { |match| match + ',' }<br />
</code></p>
<p>DecimalFormat class also can be used.</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/07/01/format-12345-to-12345javasc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>a popual ruby on rails, part1 and part2.</title>
		<link>http://doing.liduan.com/2009/04/06/a-popual-ruby-on-rails-part1-and-part2/</link>
		<comments>http://doing.liduan.com/2009/04/06/a-popual-ruby-on-rails-part1-and-part2/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 20:53:44 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/04/06/a-popual-ruby-on-rails-part1-and-part2/</guid>
		<description><![CDATA[a popual ruby on rails, part1 and part2. there is other tutorial based on rails 2.1. basicly, grammer has some changes between 2.0, 2.1 and 2.2.]]></description>
			<content:encoded><![CDATA[<p>a popual ruby on rails, <a title="a popual ruby on rails" href="http://www.onlamp.com/lpt/a/5546" target="_blank">part1</a> and <a title="a popual ruby on rails" href="http://www.onlamp.com/lpt/a/5641" target="_blank">part2</a>. there is <a title="ruby on rails 2.1 tutorial" href="http://www.tutorialspoint.com/ruby-on-rails-2.1/index.htm" target="_blank">other tutorial based on rails 2.1</a>. basicly, grammer has some changes between 2.0, 2.1 and 2.2.</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/04/06/a-popual-ruby-on-rails-part1-and-part2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>work on the ruby on vista.

firstly, i &#8230;</title>
		<link>http://doing.liduan.com/2009/04/06/work-on-the-ruby-on-vistafirstly-i/</link>
		<comments>http://doing.liduan.com/2009/04/06/work-on-the-ruby-on-vistafirstly-i/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 18:25:03 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/04/06/work-on-the-ruby-on-vistafirstly-i/</guid>
		<description><![CDATA[work on the ruby on vista.
firstly, install ruby
next, install rails, by command &#8220;gem install rails&#8221;
then, create a new web app by rails by &#8220;rails project&#8221;.
if &#8220;project&#8221; has been create, it can be runned by command &#8220;ruby script/server webrick&#8221;.
lastly, open address &#8220;http://localhost:3000&#8243; web browser.]]></description>
			<content:encoded><![CDATA[<p>work on the ruby on vista.</p>
<p>firstly, install ruby</p>
<p>next, install rails, by command &#8220;gem install rails&#8221;</p>
<p>then, create a new web app by rails by &#8220;rails project&#8221;.</p>
<p>if &#8220;project&#8221; has been create, it can be runned by command &#8220;ruby script/server webrick&#8221;.</p>
<p>lastly, open address &#8220;http://localhost:3000&#8243; web browser.</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/04/06/work-on-the-ruby-on-vistafirstly-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I have install follow service on my vps  &#8230;</title>
		<link>http://doing.liduan.com/2008/11/18/i-have-install-follow-service-on-my-vps/</link>
		<comments>http://doing.liduan.com/2008/11/18/i-have-install-follow-service-on-my-vps/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 13:24:31 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dit]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[vps hosting]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2008/11/18/i-have-install-follow-service-on-my-vps/</guid>
		<description><![CDATA[I have install follow service on my vps hosting:
samba &#8211; file and print server
lighttpd &#8211; a fast webserver
python &#8211; script language
ruby &#8211; script programming language]]></description>
			<content:encoded><![CDATA[<p>I have install follow service on my vps hosting:<br />
<a title="samba file and print server" href="http://us3.samba.org/samba/">samba</a> &#8211; file and print server<br />
<a title="lighttpd a fast webserver" href="http://www.lighttpd.net/">lighttpd</a> &#8211; a fast webserver<br />
<a title="python script programming language" href="http://www.python.org/">python</a> &#8211; script language<br />
<a title="ruby script programming language" href="http://www.ruby-lang.org/en/">ruby</a> &#8211; script programming language</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2008/11/18/i-have-install-follow-service-on-my-vps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
