<?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>Opthumb &#187; Ruby</title>
	<atom:link href="http://www.opthumb.com/category/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.opthumb.com</link>
	<description>Actionscript, Rails, Ruby, and CSS discovery</description>
	<lastBuildDate>Thu, 22 Oct 2009 17:55:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Ruby Library hpricot</title>
		<link>http://www.opthumb.com/2009/ruby-library-hpricot/10/</link>
		<comments>http://www.opthumb.com/2009/ruby-library-hpricot/10/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 13:55:08 +0000</pubDate>
		<dc:creator>jphillips</dc:creator>
				<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.opthumb.com/?p=141</guid>
		<description><![CDATA[hpricot provides a nice dom traversal library for web scraping. When using hpricot to parse xml docs, I discovered that Hpricot automatically downcases xml nodes. XML files generated by Microsoft Excel generate nodes with capital letters. example: becomes: doc:/workbook kind of a small thing, that I&#8217;m documenting for myself.]]></description>
			<content:encoded><![CDATA[<p>hpricot provides a nice dom traversal library for web scraping.  When using hpricot to parse xml docs, I discovered that Hpricot automatically downcases xml nodes.  XML files generated by Microsoft Excel generate nodes with capital letters.  </p>
<p>example:<br />
<Workbook></p>
<p>becomes:<br />
doc:/workbook</p>
<p>kind of a small thing, that I&#8217;m documenting for myself.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.opthumb.com/2009/ruby-library-hpricot/10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New hulu styled open source video player.</title>
		<link>http://www.opthumb.com/2008/new-hulu-styled-open-source-video-player/10/</link>
		<comments>http://www.opthumb.com/2008/new-hulu-styled-open-source-video-player/10/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 13:54:57 +0000</pubDate>
		<dc:creator>jphillips</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[Flash Video]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[nginx]]></category>

		<guid isPermaLink="false">http://www.opthumb.com/?p=91</guid>
		<description><![CDATA[Just created this open source video player styled like hulu.  It&#8217;s adapted and rewritten code from: http://chrisbrimelow.com/blog/?p=15 .  Some of the changes I made were pretty basic including separating the ui from some of the nitty gritty stuff that drives the video.  There&#8217;s also file streaming capabilities built into the player. To take advantage of [...]]]></description>
			<content:encoded><![CDATA[<p>Just created this open source video player styled like hulu.  It&#8217;s adapted and rewritten code from: <a href="http://chrisbrimelow.com/blog/?p=15" target="_blank">http://chrisbrimelow.com/blog/?p=15</a> .  Some of the changes I made were pretty basic including separating the ui from some of the nitty gritty stuff that drives the video.  There&#8217;s also file streaming capabilities built into the player.</p>
<p>To take advantage of streaming video, I&#8217;m running nginx with flv-streaming-module compiled into my install.  Seems to work pretty well and handles tons of connections simultaneously.</p>
<p>Source code on github for this video project is located here:<a href="http://github.com/elguapo1611/opthumb-videoplayer/tree/master"> http://github.com/elguapo1611/opthumb-videoplayer/tree/master</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.opthumb.com/2008/new-hulu-styled-open-source-video-player/10/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Developed brand identity for MoveUp2One</title>
		<link>http://www.opthumb.com/2008/developed-brand-identity-for-moveup2one/10/</link>
		<comments>http://www.opthumb.com/2008/developed-brand-identity-for-moveup2one/10/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 22:04:14 +0000</pubDate>
		<dc:creator>jphillips</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Visual Design]]></category>
		<category><![CDATA[branding]]></category>

		<guid isPermaLink="false">http://www.opthumb.com/?p=84</guid>
		<description><![CDATA[Spent a little time working on the brand identity for MoveUp2One.]]></description>
			<content:encoded><![CDATA[<p>Spent a little time working on the brand identity for MoveUp2One.</p>
<p><a href="http://www.opthumb.com/wp-content/uploads/2008/10/picture-7.png"><img class="alignnone size-full wp-image-85" title="picture-7" src="http://www.opthumb.com/wp-content/uploads/2008/10/picture-7.png" alt="" width="207" height="75" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.opthumb.com/2008/developed-brand-identity-for-moveup2one/10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Batch video conversion with ffmpeg and Ruby</title>
		<link>http://www.opthumb.com/2008/batch-video-conversion-with-ffmpeg-and-ruby/10/</link>
		<comments>http://www.opthumb.com/2008/batch-video-conversion-with-ffmpeg-and-ruby/10/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 19:29:13 +0000</pubDate>
		<dc:creator>jphillips</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[batch convert]]></category>
		<category><![CDATA[ffmpeg]]></category>

		<guid isPermaLink="false">http://www.opthumb.com/?p=66</guid>
		<description><![CDATA[Decided to write a simple script for exporting all my video content to streaming .flvs: in batchconvert.rb path = &#8220;.&#8221; #contains = Dir.new(basedir).entries videos = Dir["#{path}/*.mov"] videos.each do &#124;f&#124; puts &#8220;converting #{f}&#8221; newFile = f.gsub(&#8220;.mov&#8221;, &#8220;.flv&#8221;) system(&#8220;ffmpeg -i #{f} -ar 22050 -s 640&#215;480 -b 500000 #{newFile}&#8221;) system(&#8220;flvtool2 -U #{newFile}&#8221;) end To run this command, open [...]]]></description>
			<content:encoded><![CDATA[<p>Decided to write a simple script for exporting all my video content to streaming .flvs:</p>
<p><em>in batchconvert.rb</em></p>
<p>path = &#8220;.&#8221;<br />
#contains = Dir.new(basedir).entries<br />
videos = Dir["#{path}/*.mov"]<br />
videos.each do |f|<br />
puts &#8220;converting #{f}&#8221;<br />
newFile = f.gsub(&#8220;.mov&#8221;, &#8220;.flv&#8221;)<br />
system(&#8220;ffmpeg -i #{f} -ar 22050 -s 640&#215;480 -b 500000 #{newFile}&#8221;)<br />
system(&#8220;flvtool2 -U #{newFile}&#8221;)<br />
end</p>
<p>To run this command, open up the Terminal and navigate to your video directory.  Then run:</p>
<p>ruby batchconvert.rb</p>
<p>This script doesn&#8217;t include any switches or options for files other than .movs.</p>
<p><em>Files: <a href="http://www.opthumb.com/wp-content/uploads/2008/10/batchconvert.zip">batchconvert</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.opthumb.com/2008/batch-video-conversion-with-ffmpeg-and-ruby/10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

