<?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"
	>

<channel>
	<title>Red Writes Here</title>
	<atom:link href="http://redwriteshere.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://redwriteshere.com</link>
	<description>Hey, I'm Red and this is where I write</description>
	<pubDate>Tue, 18 Nov 2008 20:10:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Embedit + Mephisto</title>
		<link>http://redwriteshere.com/2008/11/embedit-mephisto/</link>
		<comments>http://redwriteshere.com/2008/11/embedit-mephisto/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 01:31:37 +0000</pubDate>
		<dc:creator>reddavis</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Embedit]]></category>

		<category><![CDATA[faster]]></category>

		<category><![CDATA[gamvee]]></category>

		<category><![CDATA[google maps]]></category>

		<category><![CDATA[Mephisto]]></category>

		<guid isPermaLink="false">http://redwriteshere.com/?p=108</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/11/embedit-mephisto/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'Embedit + Mephisto';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>

I&#8217;ve been working quite a lot on Embedit this weekend. Some of the newly released features include
- Google Maps
- Gamevee
And after a fair amount of refactoring/moving things around, Embedit has gain up to a 200% speed increase, yey!
 

 
Also in my attempt for Embedit to take over the world I have started adding Embedit support to a few blog engines. [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/11/embedit-mephisto/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'Embedit + Mephisto';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<div>
<p>I&#8217;ve been working quite a lot on <a href="http://embedit.me" onclick="javascript:pageTracker._trackPageview ('/outbound/embedit.me');">Embedit</a> this weekend. Some of the newly released features include</p>
<p>- <a href="http://maps.google.com/" onclick="javascript:pageTracker._trackPageview ('/outbound/maps.google.com');">Google Maps</a></p>
<p>- <a href="http://www.gamevee.com/" onclick="javascript:pageTracker._trackPageview ('/outbound/www.gamevee.com');">Gamevee</a></p>
<p>And after a fair amount of refactoring/moving things around, Embedit has gain up to a 200% speed increase, yey!</p>
<p> </p>
<p style="text-align: center; "><a href="http://redwriteshere.com/wp-content/uploads/2008/11/fast.gif"><img class="size-medium wp-image-105 aligncenter" title="fast" src="http://redwriteshere.com/wp-content/uploads/2008/11/fast-300x171.gif" alt="" width="300" height="171" /></a></p>
<p> </p>
<p>Also in my attempt for Embedit to take over the world I have started adding Embedit support to a few blog engines. First of which is <a href="http://mephistoblog.com/" onclick="javascript:pageTracker._trackPageview ('/outbound/mephistoblog.com');">Mephisto</a>.</p>
<p>You can grab the fork from <a href="http://github.com/reddavis/mephisto/tree/master" onclick="javascript:pageTracker._trackPageview ('/outbound/github.com');">here</a>.</p>
<p> </p>
<p>The newly added code allows you to easily embed media straight into your posts.</p>
<p> </p>
<p>All you have to do is encapsulate the url that you want embedding with &lt;embedit&gt;&lt;/embedit&gt; tags. Simple!</p>
<p> </p>
<p><a href="http://www.vimeo.com/2262477" onclick="javascript:pageTracker._trackPageview ('/outbound/www.vimeo.com');">I have also created a quick little video to show how easy it is.</a></div>
<p><object type="application/x-shockwave-flash" width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=2262477&#038;server=vimeo.com&#038;fullscreen=1&#038;show_title=1&#038;show_byline=1&#038;show_portrait=1&#038;color=00ADEF"><param name="quality" value="best" /><param name="allowfullscreen" value="true" /><param name="scale" value="showAll" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2262477&#038;server=vimeo.com&#038;fullscreen=1&#038;show_title=1&#038;show_byline=1&#038;show_portrait=1&#038;color=00ADEF" /></object></p>
<p class="addtoany_share_save_container">
    <a class="a2a_dd addtoany_share_save" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/share_save?sitename=Red%20Writes%20Here&amp;siteurl=http%3A%2F%2Fredwriteshere.com%2F&amp;linkname=Embedit%20%2B%20Mephisto&amp;linkurl=http%3A%2F%2Fredwriteshere.com%2F2008%2F11%2Fembedit-mephisto%2F"><img src="http://redwriteshere.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Save/Bookmark"/></a>

	</p>]]></content:encoded>
			<wfw:commentRss>http://redwriteshere.com/2008/11/embedit-mephisto/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Embedit + Facebook</title>
		<link>http://redwriteshere.com/2008/11/embedit-facebook/</link>
		<comments>http://redwriteshere.com/2008/11/embedit-facebook/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 21:40:21 +0000</pubDate>
		<dc:creator>reddavis</dc:creator>
		
		<category><![CDATA[Projects]]></category>

		<category><![CDATA[Embedit]]></category>

		<category><![CDATA[facebook]]></category>

		<category><![CDATA[facebook development]]></category>

		<category><![CDATA[fackbook apps]]></category>

		<guid isPermaLink="false">http://redwriteshere.com/?p=99</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/11/embedit-facebook/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'Embedit + Facebook';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>

You can now use Embedit with your Facebook apps! Embedit now provides FBML code for pretty much all it&#8217;s services (I&#8217;m working on the last couple)
You can find the entire list here.
The new Ruby wrapper looks like this

require 'open-uri'
require 'net/http'
require 'rexml/document'
require 'cgi'
$KCODE = &#34;u&#34;
&#160;
class EmbeditRuby
&#160;
  attr_reader :title, :format, :url, :html
&#160;
  def initialize&#40;url, size=&#123;&#125;&#41;
 [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/11/embedit-facebook/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'Embedit + Facebook';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<p><a href="http://redwriteshere.com/wp-content/uploads/2008/11/facebook.jpg"><img class="aligncenter size-medium wp-image-101" title="facebook" src="http://redwriteshere.com/wp-content/uploads/2008/11/facebook-300x112.jpg" alt="" width="300" height="112" /></a></p>
<p>You can now use <a href="http://embedit.me" onclick="javascript:pageTracker._trackPageview ('/outbound/embedit.me');">Embedit</a> with your <a href="http://www.facebook.com" onclick="javascript:pageTracker._trackPageview ('/outbound/www.facebook.com');">Facebook</a> apps! Embedit now provides <a href="http://wiki.developers.facebook.com/index.php/Category:FBML_tags" onclick="javascript:pageTracker._trackPageview ('/outbound/wiki.developers.facebook.com');">FBML</a> code for pretty much all it&#8217;s services (I&#8217;m working on the last couple)</p>
<p><a href="http://embedit.me/services" onclick="javascript:pageTracker._trackPageview ('/outbound/embedit.me');">You can find the entire list here.</a></p>
<p>The new <a href="http://github.com/reddavis/embedit_ruby/tree/master" onclick="javascript:pageTracker._trackPageview ('/outbound/github.com');">Ruby wrapper</a> looks like this</p>

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'open-uri'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'net/http'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'rexml/document'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'cgi'</span>
<span style="color:#ff6633; font-weight:bold;">$KCODE</span> = <span style="color:#996600;">&quot;u&quot;</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">class</span> EmbeditRuby
&nbsp;
  attr_reader <span style="color:#ff3333; font-weight:bold;">:title</span>, <span style="color:#ff3333; font-weight:bold;">:format</span>, <span style="color:#ff3333; font-weight:bold;">:url</span>, <span style="color:#ff3333; font-weight:bold;">:html</span>
&nbsp;
  <span style="color:#9966CC; font-weight:bold;">def</span> initialize<span style="color:#006600; font-weight:bold;">&#40;</span>url, size=<span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#006600; font-weight:bold;">&#125;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
    url = <span style="color:#CC00FF; font-weight:bold;">CGI</span>.<span style="color:#9900CC;">escape</span><span style="color:#006600; font-weight:bold;">&#40;</span>url<span style="color:#006600; font-weight:bold;">&#41;</span>
    data = <span style="color:#6666ff; font-weight:bold;">REXML::Document</span>.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC0066; font-weight:bold;">open</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot;http://embedit.me/home/index.xml/?url=#{url}&amp;amp;height=#{size[:height]}&amp;amp;width=#{size[:width]}&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
    <span style="color:#0066ff; font-weight:bold;">@title</span> = <span style="color:#6666ff; font-weight:bold;">REXML::XPath</span>.<span style="color:#9900CC;">first</span><span style="color:#006600; font-weight:bold;">&#40;</span>data, <span style="color:#996600;">&quot;//title&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">text</span>
    <span style="color:#0066ff; font-weight:bold;">@format</span> = <span style="color:#6666ff; font-weight:bold;">REXML::XPath</span>.<span style="color:#9900CC;">first</span><span style="color:#006600; font-weight:bold;">&#40;</span>data, <span style="color:#996600;">&quot;//format&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">text</span>
    <span style="color:#0066ff; font-weight:bold;">@html</span> = <span style="color:#6666ff; font-weight:bold;">REXML::XPath</span>.<span style="color:#9900CC;">first</span><span style="color:#006600; font-weight:bold;">&#40;</span>data, <span style="color:#996600;">&quot;//html&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">text</span>   <span style="color:#008000; font-style:italic;"># Service will provide a way to change size, this may be providing user with regex pattern to the sizes, so the wrapper can change it</span>
    <span style="color:#0066ff; font-weight:bold;">@url</span> = <span style="color:#6666ff; font-weight:bold;">REXML::XPath</span>.<span style="color:#9900CC;">first</span><span style="color:#006600; font-weight:bold;">&#40;</span>data, <span style="color:#996600;">&quot;//url&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">text</span>
    <span style="color:#0066ff; font-weight:bold;">@fbml</span> = <span style="color:#6666ff; font-weight:bold;">REXML::XPath</span>.<span style="color:#9900CC;">first</span><span style="color:#006600; font-weight:bold;">&#40;</span>data, <span style="color:#996600;">&quot;//fbml&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">text</span>
    <span style="color:#0066ff; font-weight:bold;">@valid</span> = <span style="color:#6666ff; font-weight:bold;">REXML::XPath</span>.<span style="color:#9900CC;">first</span><span style="color:#006600; font-weight:bold;">&#40;</span>data, <span style="color:#996600;">&quot;//valid&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">text</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
  <span style="color:#9966CC; font-weight:bold;">def</span> valid?
    <span style="color:#0066ff; font-weight:bold;">@valid</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>Lovely, so now in you Facebook app, all you need to do is</p>

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;">EmbeditRuby.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'url_goes_here'</span>, <span style="color:#ff3333; font-weight:bold;">:width</span> =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#006666;">400</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">fbml</span></pre></div></div>

<p>Wow, couldn&#8217;t get much easier.</p>
<p class="addtoany_share_save_container">
    <a class="a2a_dd addtoany_share_save" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/share_save?sitename=Red%20Writes%20Here&amp;siteurl=http%3A%2F%2Fredwriteshere.com%2F&amp;linkname=Embedit%20%2B%20Facebook&amp;linkurl=http%3A%2F%2Fredwriteshere.com%2F2008%2F11%2Fembedit-facebook%2F"><img src="http://redwriteshere.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Save/Bookmark"/></a>

	</p>]]></content:encoded>
			<wfw:commentRss>http://redwriteshere.com/2008/11/embedit-facebook/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Another Change to Embedit</title>
		<link>http://redwriteshere.com/2008/11/another-change-to-embedit/</link>
		<comments>http://redwriteshere.com/2008/11/another-change-to-embedit/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 10:42:34 +0000</pubDate>
		<dc:creator>reddavis</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[cgi]]></category>

		<category><![CDATA[Embedit]]></category>

		<guid isPermaLink="false">http://redwriteshere.com/?p=96</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/11/another-change-to-embedit/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'Another Change to Embedit';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
So I wrote a post last night about how I was getting around the url breakage problem. Well thanks to James (author of Carbon Diet, Has My Gem Built Yet? and s.andwi.ch) I&#8217;ve got a better way but also the &#8216;proper&#8217; way of fixing this url problem.
I&#8217;ve updated the wrapper to now use

require 'cgi'
&#160;
CGI.escape&#40;url&#41;

So now wrappers must [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/11/another-change-to-embedit/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'Another Change to Embedit';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<p>So I wrote a post last night about how I was getting around the url breakage problem. Well thanks to <a href="http://www.floppy.org.uk/" onclick="javascript:pageTracker._trackPageview ('/outbound/www.floppy.org.uk');">James</a> (author of <a href="http://www.carbondiet.org/" onclick="javascript:pageTracker._trackPageview ('/outbound/www.carbondiet.org');">Carbon Diet</a>, Has <a href="http://hasmygembuiltyet.org/" onclick="javascript:pageTracker._trackPageview ('/outbound/hasmygembuiltyet.org');">My Gem Built Yet</a>? and <a href="http://s.andwi.ch/" onclick="javascript:pageTracker._trackPageview ('/outbound/s.andwi.ch');">s.andwi.ch</a>) I&#8217;ve got a better way but also the &#8216;proper&#8217; way of fixing this url problem.</p>
<p>I&#8217;ve updated the wrapper to now use</p>

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'cgi'</span>
&nbsp;
<span style="color:#CC00FF; font-weight:bold;">CGI</span>.<span style="color:#9900CC;">escape</span><span style="color:#006600; font-weight:bold;">&#40;</span>url<span style="color:#006600; font-weight:bold;">&#41;</span></pre></div></div>

<p>So now wrappers must all escape the url they are submitting. </p>
<p>The new wrapper looks like this</p>

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'open-uri'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'net/http'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'rexml/document'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'cgi'</span>
<span style="color:#ff6633; font-weight:bold;">$KCODE</span> = <span style="color:#996600;">&quot;u&quot;</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">class</span> EmbeditRuby
&nbsp;
  attr_reader <span style="color:#ff3333; font-weight:bold;">:title</span>, <span style="color:#ff3333; font-weight:bold;">:format</span>, <span style="color:#ff3333; font-weight:bold;">:url</span>, <span style="color:#ff3333; font-weight:bold;">:html</span>
&nbsp;
  <span style="color:#9966CC; font-weight:bold;">def</span> initialize<span style="color:#006600; font-weight:bold;">&#40;</span>url, size=<span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#006600; font-weight:bold;">&#125;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
    url = <span style="color:#CC00FF; font-weight:bold;">CGI</span>.<span style="color:#9900CC;">escape</span><span style="color:#006600; font-weight:bold;">&#40;</span>url<span style="color:#006600; font-weight:bold;">&#41;</span>
    data = <span style="color:#6666ff; font-weight:bold;">REXML::Document</span>.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC0066; font-weight:bold;">open</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot;http://embedit.me/home/index.xml/?url=#{url}&amp;amp;height=#{size[:height]}&amp;amp;width=#{size[:width]}&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
    <span style="color:#0066ff; font-weight:bold;">@title</span> = <span style="color:#6666ff; font-weight:bold;">REXML::XPath</span>.<span style="color:#9900CC;">first</span><span style="color:#006600; font-weight:bold;">&#40;</span>data, <span style="color:#996600;">&quot;//title&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">text</span>
    <span style="color:#0066ff; font-weight:bold;">@format</span> = <span style="color:#6666ff; font-weight:bold;">REXML::XPath</span>.<span style="color:#9900CC;">first</span><span style="color:#006600; font-weight:bold;">&#40;</span>data, <span style="color:#996600;">&quot;//format&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">text</span>
    <span style="color:#0066ff; font-weight:bold;">@html</span> = <span style="color:#6666ff; font-weight:bold;">REXML::XPath</span>.<span style="color:#9900CC;">first</span><span style="color:#006600; font-weight:bold;">&#40;</span>data, <span style="color:#996600;">&quot;//html&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">text</span>   <span style="color:#008000; font-style:italic;"># Service will provide a way to change size, this may be providing user with regex pattern to the sizes, so the wrapper can change it</span>
    <span style="color:#0066ff; font-weight:bold;">@url</span> = <span style="color:#6666ff; font-weight:bold;">REXML::XPath</span>.<span style="color:#9900CC;">first</span><span style="color:#006600; font-weight:bold;">&#40;</span>data, <span style="color:#996600;">&quot;//url&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">text</span>
    <span style="color:#0066ff; font-weight:bold;">@valid</span> = <span style="color:#6666ff; font-weight:bold;">REXML::XPath</span>.<span style="color:#9900CC;">first</span><span style="color:#006600; font-weight:bold;">&#40;</span>data, <span style="color:#996600;">&quot;//valid&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">text</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
  <span style="color:#9966CC; font-weight:bold;">def</span> valid?
    <span style="color:#0066ff; font-weight:bold;">@valid</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>All fixed :)</p>
<p class="addtoany_share_save_container">
    <a class="a2a_dd addtoany_share_save" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/share_save?sitename=Red%20Writes%20Here&amp;siteurl=http%3A%2F%2Fredwriteshere.com%2F&amp;linkname=Another%20Change%20to%20Embedit&amp;linkurl=http%3A%2F%2Fredwriteshere.com%2F2008%2F11%2Fanother-change-to-embedit%2F"><img src="http://redwriteshere.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Save/Bookmark"/></a>

	</p>]]></content:encoded>
			<wfw:commentRss>http://redwriteshere.com/2008/11/another-change-to-embedit/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Major Changes To Embedit &#038;&#038; Facebook App</title>
		<link>http://redwriteshere.com/2008/10/major-changes-to-embedit-facebook-app/</link>
		<comments>http://redwriteshere.com/2008/10/major-changes-to-embedit-facebook-app/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 23:23:04 +0000</pubDate>
		<dc:creator>reddavis</dc:creator>
		
		<category><![CDATA[Projects]]></category>

		<category><![CDATA[ASCII]]></category>

		<category><![CDATA[Embedit]]></category>

		<category><![CDATA[Embedit.me]]></category>

		<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://redwriteshere.com/?p=89</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/10/major-changes-to-embedit-facebook-app/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'Major Changes To Embedit &#038;&#038; Facebook App';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
Now this is something I should have probably noted while originally creating Embedit, but the problem only recently showed up while adding the Rock You service.
I&#8217;ll keep this short as it&#8217;s rather important if your using Embedit and I strongly suggest you update your old wrapper.
How Embedit used to work

http://embedit.me/?url=http://uk.youtube.com/watch?v=zuI9ZOu18Gc

You see that second &#8220;?&#8221;, yer, [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/10/major-changes-to-embedit-facebook-app/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'Major Changes To Embedit &#038;&#038; Facebook App';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<p>Now this is something I should have probably noted while originally creating <a href="http://embedit.me" onclick="javascript:pageTracker._trackPageview ('/outbound/embedit.me');">Embedit</a>, but the problem only recently showed up while adding the <a href="http://www.rockyou.com" onclick="javascript:pageTracker._trackPageview ('/outbound/www.rockyou.com');">Rock You</a> service.</p>
<p>I&#8217;ll keep this short as it&#8217;s rather important if your using <a href="http://embedit.me" onclick="javascript:pageTracker._trackPageview ('/outbound/embedit.me');">Embedit</a> and I strongly suggest you update your old wrapper.</p>
<p>How Embedit used to work</p>

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;">http:<span style="color:#006600; font-weight:bold;">//</span>embedit.<span style="color:#9900CC;">me</span><span style="color:#006600; font-weight:bold;">/</span>?url=http:<span style="color:#006600; font-weight:bold;">//</span>uk.<span style="color:#9900CC;">youtube</span>.<span style="color:#9900CC;">com</span><span style="color:#006600; font-weight:bold;">/</span>watch?v=zuI9ZOu18Gc</pre></div></div>

<p>You see that second &#8220;?&#8221;, yer, well that breaks it. It&#8217;s used to break parameters from the main url, but obviously this is two urls in one.</p>
<p> </p>
<p><a href="http://redwriteshere.com/wp-content/uploads/2008/10/funny-dog-pictures-white-broken-ears-grass.jpg"><img class="aligncenter size-medium wp-image-91" title="funny-dog-pictures-white-broken-ears-grass" src="http://redwriteshere.com/wp-content/uploads/2008/10/funny-dog-pictures-white-broken-ears-grass-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p> </p>
<p>So to fix this I needed a way to *encrypt* (I use this word lightly) the url, so that Embedit can decode it and then process the url. Considering Embedit is good because its SIMPLE, I really needed an *encryption* that was stupidly simple, that anyone can implement. So I went with ASCII ;) Urls are now required to be sent to Embedit with each character turn into ASCII and separated by &#8220;-&#8221;. Here&#8217;s the code I added to my Embedit Ruby wrapper.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;">  <span style="color:#9966CC; font-weight:bold;">def</span> encrypt<span style="color:#006600; font-weight:bold;">&#40;</span>old_url<span style="color:#006600; font-weight:bold;">&#41;</span>
    new_url = <span style="color:#996600;">&quot;&quot;</span>
    old_url.<span style="color:#9900CC;">each_byte</span> <span style="color:#006600; font-weight:bold;">&#123;</span>|d| new_url <span style="color:#006600; font-weight:bold;">&lt;&lt;</span> d.<span style="color:#9900CC;">to_s</span> <span style="color:#006600; font-weight:bold;">&lt;&lt;</span> <span style="color:#996600;">'-'</span><span style="color:#006600; font-weight:bold;">&#125;</span>
    <span style="color:#0000FF; font-weight:bold;">return</span> new_url
  <span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>But I like it more as an extension to String class, but whatever floats your boat.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">class</span> <span style="color:#CC0066; font-weight:bold;">String</span>
  <span style="color:#9966CC; font-weight:bold;">def</span> ascii_encrypt
    new_url = <span style="color:#996600;">&quot;&quot;</span>
    <span style="color:#0000FF; font-weight:bold;">self</span>.<span style="color:#9900CC;">each_byte</span> <span style="color:#006600; font-weight:bold;">&#123;</span>|d| new_url <span style="color:#006600; font-weight:bold;">&lt;&lt;</span> d.<span style="color:#9900CC;">to_s</span> <span style="color:#006600; font-weight:bold;">&lt;&lt;</span> <span style="color:#996600;">'-'</span><span style="color:#006600; font-weight:bold;">&#125;</span>
    <span style="color:#0000FF; font-weight:bold;">return</span> new_url
  <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
  <span style="color:#9966CC; font-weight:bold;">def</span> ascii_decode
    new_string = <span style="color:#996600;">&quot;&quot;</span>
    <span style="color:#0000FF; font-weight:bold;">self</span>.<span style="color:#CC0066; font-weight:bold;">split</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">/-/</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">each</span> <span style="color:#006600; font-weight:bold;">&#123;</span>|d| new_string <span style="color:#006600; font-weight:bold;">&lt;&lt;</span> d.<span style="color:#9900CC;">to_i</span>.<span style="color:#9900CC;">chr</span><span style="color:#006600; font-weight:bold;">&#125;</span>
    <span style="color:#0000FF; font-weight:bold;">return</span> new_string
  <span style="color:#9966CC; font-weight:bold;">end</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>If anyone has a better solution to the whole encrypt/decrypt thing please give me a shout in the comments. Remember it needs to be SIMPLE and ACCESSIBLE to as many programmers and languages as possible.</p>
<p><a href="http://redwriteshere.com/wp-content/uploads/2008/10/facebook_pic.jpg"><img class="aligncenter size-medium wp-image-90" title="facebook_pic" src="http://redwriteshere.com/wp-content/uploads/2008/10/facebook_pic-300x112.jpg" alt="" width="300" height="112" /></a></p>
<p>Also, in the pipeline is a Embedit Facebook app. It&#8217;s my first Facebook app, but I am surprised how simple it is to get something usable up. I&#8217;ll make a post when the app goes live.</p>
<p class="addtoany_share_save_container">
    <a class="a2a_dd addtoany_share_save" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/share_save?sitename=Red%20Writes%20Here&amp;siteurl=http%3A%2F%2Fredwriteshere.com%2F&amp;linkname=Major%20Changes%20To%20Embedit%20%03%03%20Facebook%20App&amp;linkurl=http%3A%2F%2Fredwriteshere.com%2F2008%2F10%2Fmajor-changes-to-embedit-facebook-app%2F"><img src="http://redwriteshere.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Save/Bookmark"/></a>

	</p>]]></content:encoded>
			<wfw:commentRss>http://redwriteshere.com/2008/10/major-changes-to-embedit-facebook-app/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What&#8217;s Running Embedit?</title>
		<link>http://redwriteshere.com/2008/10/whats-running-embedit/</link>
		<comments>http://redwriteshere.com/2008/10/whats-running-embedit/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 23:09:55 +0000</pubDate>
		<dc:creator>reddavis</dc:creator>
		
		<category><![CDATA[Projects]]></category>

		<category><![CDATA[Embedit]]></category>

		<category><![CDATA[Green Thing]]></category>

		<category><![CDATA[merb]]></category>

		<category><![CDATA[mongrel]]></category>

		<category><![CDATA[monit]]></category>

		<category><![CDATA[nginx]]></category>

		<category><![CDATA[scaling]]></category>

		<guid isPermaLink="false">http://redwriteshere.com/?p=78</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/10/whats-running-embedit/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'What&#8217;s Running Embedit?';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
For those that don&#8217;t know, Embedit is my oEmbed on steroids. It takes a bunch of services that allow you to embed different media types (video, image, audio) and turns them all into one amazingly simple API. 
We released Green Thing to the public today and since this morning Embedit has processed around 13,000 requests. Thats [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/10/whats-running-embedit/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'What&#8217;s Running Embedit?';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<p>For those that don&#8217;t know, <a href="http://embedit.me" onclick="javascript:pageTracker._trackPageview ('/outbound/embedit.me');">Embedit</a> is my <a href="http://oembed.com/" onclick="javascript:pageTracker._trackPageview ('/outbound/oembed.com');">oEmbed</a> on steroids. It takes a bunch of <a href="http://embedit.me/services" onclick="javascript:pageTracker._trackPageview ('/outbound/embedit.me');">services</a> that allow you to embed different media types (video, image, audio) and turns them all into one amazingly simple API. </p>
<p>We released <a href="http://dothegreenthing.com" onclick="javascript:pageTracker._trackPageview ('/outbound/dothegreenthing.com');">Green Thing</a> to the public today and since this morning <a href="http://embedit.me" onclick="javascript:pageTracker._trackPageview ('/outbound/embedit.me');">Embedit</a> has processed around 13,000 requests. Thats roughly 22 requests a minute, which in all honesty isn&#8217;t that much however these do come in <a href="http://bulgaria-photos.info/wallpapers/PirinPeaks1152x864.jpg" onclick="javascript:pageTracker._trackPageview ('/outbound/bulgaria-photos.info');">peaks.</a></p>
<p>Old users have been able to use<a href="http://dothegreenthing.com" onclick="javascript:pageTracker._trackPageview ('/outbound/dothegreenthing.com');"> Green Thing</a> since Saturday, and yesterday Embedit had some growing pains. <a href="http://eightchainedourangoutangs.com/tubes/internettubes.jpg" onclick="javascript:pageTracker._trackPageview ('/outbound/eightchainedourangoutangs.com');">The tubes were getting clogged</a> and Green Thing was timing out waiting for Embedit to reply. Shit! </p>
<p><a href="http://redwriteshere.com/wp-content/uploads/2008/10/homer_simpson_scream.jpg"><img class="size-medium wp-image-80 alignnone" title="homer_simpson_scream" src="http://redwriteshere.com/wp-content/uploads/2008/10/homer_simpson_scream-240x300.jpg" alt="" width="240" height="300" /></a></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p>In all honesty I haven&#8217;t had any past experience in scaling, so what a great time to get started and I thought I&#8217;d share it here so I can get feedback on what I did, what I did wrong and I&#8217;ll ask questions on the way if anyone has an answer please leave a comment or send me a email :)</p>
<p><strong>The Old Setup</strong></p>
<p>Embedit is written in <a href="http://www.ruby-lang.org/" onclick="javascript:pageTracker._trackPageview ('/outbound/www.ruby-lang.org');">Ruby</a> with <a href="http://merbivore.org/" onclick="javascript:pageTracker._trackPageview ('/outbound/merbivore.org');">Merb</a>. It ran on one <a href="http://en.wikipedia.org/wiki/Mongrel_(web_server)" onclick="javascript:pageTracker._trackPageview ('/outbound/en.wikipedia.org');">Mongrel</a> instance and <a href="http://nginx.net/" onclick="javascript:pageTracker._trackPageview ('/outbound/nginx.net');">Nginx</a> with a <a href="http://www.mysql.com/" onclick="javascript:pageTracker._trackPageview ('/outbound/www.mysql.com');">MySql</a> DB.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;">merb <span style="color:#006600; font-weight:bold;">-</span>e production <span style="color:#006600; font-weight:bold;">-</span>d <span style="color:#006600; font-weight:bold;">-</span><span style="color:#CC0066; font-weight:bold;">p</span> <span style="color:#006666;">4001</span></pre></div></div>

<p>I would guess that the problem here was running on just one Mongrel and with many requests coming in from just one page load over at GT it didn&#8217;t like it one bit.</p>
<p><a href="http://redwriteshere.com/wp-content/uploads/2008/10/61328857sadcat.jpg"><img class="aligncenter size-medium wp-image-81" title="61328857sadcat" src="http://redwriteshere.com/wp-content/uploads/2008/10/61328857sadcat-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><strong>The New Setup</strong></p>
<p>Ok, so I want to spread the load and I also want to be able to sleep at night knowing that something is going to look after my dear Embedit while I&#8217;m dreaming about <a href="http://www.flickr.com/photos/25436991@N03/2701897127/" onclick="javascript:pageTracker._trackPageview ('/outbound/www.flickr.com');">rabbits.</a> </p>
<p>So, I went from 1 instance to 3</p>

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;">merb <span style="color:#006600; font-weight:bold;">-</span>e production <span style="color:#006600; font-weight:bold;">-</span>d <span style="color:#006600; font-weight:bold;">-</span><span style="color:#CC0066; font-weight:bold;">p</span> <span style="color:#006666;">4001</span> <span style="color:#006600; font-weight:bold;">-</span>c <span style="color:#006666;">3</span></pre></div></div>

<p>Then I changed my Nginx config to use the extra instances. <strong>This is something I&#8217;m a bit unsure of (location part)</strong></p>

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;"> 
&nbsp;
worker_processes  <span style="color:#006666;">1</span>;
&nbsp;
 
&nbsp;
events <span style="color:#006600; font-weight:bold;">&#123;</span>
&nbsp;
    worker_connections  <span style="color:#006666;">1024</span>;
&nbsp;
<span style="color:#006600; font-weight:bold;">&#125;</span>
&nbsp;
 
&nbsp;
http <span style="color:#006600; font-weight:bold;">&#123;</span>
&nbsp;
    <span style="color:#9966CC; font-weight:bold;">include</span>       mime.<span style="color:#9900CC;">types</span>;
&nbsp;
    default_type  application<span style="color:#006600; font-weight:bold;">/</span>octet<span style="color:#006600; font-weight:bold;">-</span>stream;
&nbsp;
    sendfile        on;
&nbsp;
 
&nbsp;
    keepalive_timeout  <span style="color:#006666;">65</span>;
&nbsp;
 
&nbsp;
  upstream embedit <span style="color:#006600; font-weight:bold;">&#123;</span>
&nbsp;
    server 127.0.0.1:<span style="color:#006666;">4001</span>;
&nbsp;
    server 127.0.0.1:<span style="color:#006666;">4002</span>;
&nbsp;
    server 127.0.0.1:<span style="color:#006666;">4003</span>;
&nbsp;
  <span style="color:#006600; font-weight:bold;">&#125;</span>
&nbsp;
 
&nbsp;
    server <span style="color:#006600; font-weight:bold;">&#123;</span>
&nbsp;
        listen       <span style="color:#006666;">80</span>;
&nbsp;
        server_name  208.78.103.199;
&nbsp;
 
&nbsp;
        location <span style="color:#006600; font-weight:bold;">/</span> <span style="color:#006600; font-weight:bold;">&#123;</span>
&nbsp;
            proxy_pass http:<span style="color:#006600; font-weight:bold;">//</span>127.0.0.1:<span style="color:#006666;">4001</span>;
&nbsp;
        <span style="color:#006600; font-weight:bold;">&#125;</span>
&nbsp;
 </pre></div></div>

<p>So basically adding upsteam and the ports Nginx does all the rest. I am however a bit confused about the location part, will my it make use of all instances? I&#8217;ll go do some reading now :) </p>
<p>Next part is to use something to monitor Embedit. I&#8217;ve tried God but just kept getting errors, so with the short time span I went for Monit. </p>
<p>However we are first going to create an init script for our Merb instances</p>
<p>I got this info from <a href="http://jit.nuance9.com/2008/01/monitoring-swiftiply-merb-with-monit.html" onclick="javascript:pageTracker._trackPageview ('/outbound/jit.nuance9.com');">here.</a> </p>
<p>Here is my script. You should create one for each of your instances.</p>
<p>Find the init.d folder at </p>

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;"><span style="color:#006600; font-weight:bold;">/</span>etc<span style="color:#006600; font-weight:bold;">/</span>init.<span style="color:#9900CC;">d</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;"> 
&nbsp;
<span style="color:#008000; font-style:italic;">#!/bin/bash</span>
&nbsp;
 
&nbsp;
<span style="color:#9966CC; font-weight:bold;">case</span> <span style="color:#996600;">&quot;$1&quot;</span> <span style="color:#9966CC; font-weight:bold;">in</span>
&nbsp;
 
&nbsp;
  start<span style="color:#006600; font-weight:bold;">&#41;</span>
&nbsp;
    echo <span style="color:#006600; font-weight:bold;">-</span>n <span style="color:#996600;">&quot;Starting Merb for Embedit:&quot;</span>
&nbsp;
    cd ~<span style="color:#006600; font-weight:bold;">/</span>..<span style="color:#006600; font-weight:bold;">/</span>usr<span style="color:#006600; font-weight:bold;">/</span>local<span style="color:#006600; font-weight:bold;">/</span>www<span style="color:#006600; font-weight:bold;">/</span>embedit<span style="color:#006600; font-weight:bold;">/</span>current<span style="color:#006600; font-weight:bold;">/</span>    <span style="color:#008000; font-style:italic;"># Path to the app</span>
&nbsp;
    sudo merb <span style="color:#006600; font-weight:bold;">-</span><span style="color:#CC0066; font-weight:bold;">p</span> <span style="color:#006666;">4001</span> <span style="color:#006600; font-weight:bold;">-</span>d <span style="color:#006600; font-weight:bold;">-</span>e production   <span style="color:#008000; font-style:italic;"># Change the port to whichever one you use</span>
&nbsp;
    echo
&nbsp;
    ;;
&nbsp;
 
&nbsp;
  stop<span style="color:#006600; font-weight:bold;">&#41;</span>
&nbsp;
    echo <span style="color:#006600; font-weight:bold;">-</span>n <span style="color:#996600;">&quot;Stopping Merb for App1:&quot;</span>
&nbsp;
    cd ~<span style="color:#006600; font-weight:bold;">/</span>..<span style="color:#006600; font-weight:bold;">/</span>usr<span style="color:#006600; font-weight:bold;">/</span>local<span style="color:#006600; font-weight:bold;">/</span>www<span style="color:#006600; font-weight:bold;">/</span>embedit<span style="color:#006600; font-weight:bold;">/</span>current<span style="color:#006600; font-weight:bold;">/</span>
&nbsp;
    sudo merb <span style="color:#006600; font-weight:bold;">-</span>K <span style="color:#006666;">4001</span>  <span style="color:#008000; font-style:italic;"># Again, change the port number here</span>
&nbsp;
    echo
&nbsp;
    ;;
&nbsp;
 
&nbsp;
  restart<span style="color:#006600; font-weight:bold;">&#41;</span>
&nbsp;
    $0 stop
&nbsp;
    $0 start
&nbsp;
    ;;
&nbsp;
 
&nbsp;
  <span style="color:#006600; font-weight:bold;">*</span><span style="color:#006600; font-weight:bold;">&#41;</span>
&nbsp;
  echo <span style="color:#996600;">&quot;usage: $0 [start|stop|restart]&quot;</span>
&nbsp;
esac
&nbsp;
 
&nbsp;
<span style="color:#CC0066; font-weight:bold;">exit</span> 0</pre></div></div>

<p>Ok, so now we have that, lets install Monit</p>
<p> </p>

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;">wget http:<span style="color:#006600; font-weight:bold;">//</span>www.<span style="color:#9900CC;">tildeslash</span>.<span style="color:#9900CC;">com</span><span style="color:#006600; font-weight:bold;">/</span>monit<span style="color:#006600; font-weight:bold;">/</span>dist<span style="color:#006600; font-weight:bold;">/</span>monit<span style="color:#006600; font-weight:bold;">-</span>4.10.1.<span style="color:#9900CC;">tar</span>.<span style="color:#9900CC;">gz</span>
&nbsp;
tar zxvf monit<span style="color:#006600; font-weight:bold;">-</span>x.<span style="color:#9900CC;">y</span>.<span style="color:#9900CC;">z</span>.<span style="color:#9900CC;">tar</span>.<span style="color:#9900CC;">gz</span>
&nbsp;
cd monit<span style="color:#006600; font-weight:bold;">-</span>x.<span style="color:#9900CC;">y</span>.<span style="color:#9900CC;">z</span>
&nbsp;
.<span style="color:#006600; font-weight:bold;">/</span>configure
&nbsp;
sudo make <span style="color:#006600; font-weight:bold;">&amp;</span>amp;<span style="color:#006600; font-weight:bold;">&amp;</span>amp; make install</pre></div></div>

<p>Now Monit looks for its config files in:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;">~<span style="color:#006600; font-weight:bold;">/</span>.<span style="color:#9900CC;">monitrc</span>
&nbsp;
<span style="color:#006600; font-weight:bold;">/</span>etc<span style="color:#006600; font-weight:bold;">/</span>monitrc
&nbsp;
.<span style="color:#006600; font-weight:bold;">/</span>monitrc</pre></div></div>

<p>So create yours</p>

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;">nano ~<span style="color:#006600; font-weight:bold;">/</span>.<span style="color:#9900CC;">monitrc</span></pre></div></div>

<p>You do need nano installed for that. It should open up a blank document. My Monit looks like this, it&#8217;s pretty self explanatory </p>

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;"> 
&nbsp;
set daemon <span style="color:#006666;">10</span>
&nbsp;
check process embedit4001
&nbsp;
        with pidfile <span style="color:#996600;">&quot;/~/../usr/local/www/embedit/current/log/merb.4001.pid&quot;</span>
&nbsp;
        start = <span style="color:#996600;">&quot;/etc/init.d/embedit4001 start&quot;</span>
&nbsp;
        stop = <span style="color:#996600;">&quot;/etc/init.d/embedit4001 stop&quot;</span>
&nbsp;
        <span style="color:#9966CC; font-weight:bold;">if</span> cpu <span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#006666;">80</span><span style="color:#006600; font-weight:bold;">%</span> <span style="color:#9966CC; font-weight:bold;">for</span> <span style="color:#006666;">2</span> cycles <span style="color:#9966CC; font-weight:bold;">then</span> restart
&nbsp;
        <span style="color:#9966CC; font-weight:bold;">if</span> totalmem <span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#006666;">200</span> MB <span style="color:#9966CC; font-weight:bold;">for</span> <span style="color:#006666;">2</span> cycles <span style="color:#9966CC; font-weight:bold;">then</span> restart
&nbsp;
 
&nbsp;
check process embedit4002
&nbsp;
        with pidfile <span style="color:#996600;">&quot;/~/../usr/local/www/embedit/current/log/merb.4002.pid&quot;</span>
&nbsp;
        start = <span style="color:#996600;">&quot;/etc/init.d/embedit4002 start&quot;</span>
&nbsp;
        stop = <span style="color:#996600;">&quot;/etc/init.d/embedit4002 stop&quot;</span>
&nbsp;
        <span style="color:#9966CC; font-weight:bold;">if</span> cpu <span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#006666;">80</span><span style="color:#006600; font-weight:bold;">%</span> <span style="color:#9966CC; font-weight:bold;">for</span> <span style="color:#006666;">2</span> cycles <span style="color:#9966CC; font-weight:bold;">then</span> restart
&nbsp;
        <span style="color:#9966CC; font-weight:bold;">if</span> totalmem <span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#006666;">200</span> MB <span style="color:#9966CC; font-weight:bold;">for</span> <span style="color:#006666;">2</span> cycles <span style="color:#9966CC; font-weight:bold;">then</span> restart
&nbsp;
 
&nbsp;
check process embedit4003
&nbsp;
        with pidfile <span style="color:#996600;">&quot;/~/../usr/local/www/embedit/current/log/merb.4003.pid&quot;</span>
&nbsp;
        start = <span style="color:#996600;">&quot;/etc/init.d/embedit4003 start&quot;</span>
&nbsp;
        stop = <span style="color:#996600;">&quot;/etc/init.d/embedit4003 stop&quot;</span>
&nbsp;
        <span style="color:#9966CC; font-weight:bold;">if</span> cpu <span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#006666;">80</span><span style="color:#006600; font-weight:bold;">%</span> <span style="color:#9966CC; font-weight:bold;">for</span> <span style="color:#006666;">2</span> cycles <span style="color:#9966CC; font-weight:bold;">then</span> restart
&nbsp;
        <span style="color:#9966CC; font-weight:bold;">if</span> totalmem <span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#006666;">200</span> MB <span style="color:#9966CC; font-weight:bold;">for</span> <span style="color:#006666;">2</span> cycles <span style="color:#9966CC; font-weight:bold;">then</span> restart
&nbsp;
 </pre></div></div>

<p>Basically, every 10 seconds Monit will check that each instance is still running. It will also check that if CPU usage is over 80% for 2 cycles (20 seconds) then it will restart that instance, the same goes for using over 200MB of memory. </p>
<p>Monit has a huge amount of options, this is only the tip of the iceberg.</p>
<p>There you go! That is how Embedit is running now. It hasn&#8217;t had a single hiccup yet.</p>
<p>If you have any tips please leave them in the comments.</p>
<p class="addtoany_share_save_container">
    <a class="a2a_dd addtoany_share_save" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/share_save?sitename=Red%20Writes%20Here&amp;siteurl=http%3A%2F%2Fredwriteshere.com%2F&amp;linkname=What%E2%80%99s%20Running%20Embedit%3F&amp;linkurl=http%3A%2F%2Fredwriteshere.com%2F2008%2F10%2Fwhats-running-embedit%2F"><img src="http://redwriteshere.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Save/Bookmark"/></a>

	</p>]]></content:encoded>
			<wfw:commentRss>http://redwriteshere.com/2008/10/whats-running-embedit/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Green Thing V2</title>
		<link>http://redwriteshere.com/2008/10/green-thing-v2/</link>
		<comments>http://redwriteshere.com/2008/10/green-thing-v2/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 11:48:20 +0000</pubDate>
		<dc:creator>reddavis</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[do the greenthing]]></category>

		<category><![CDATA[Green Thing]]></category>

		<category><![CDATA[v2]]></category>

		<guid isPermaLink="false">http://redwriteshere.com/?p=76</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/10/green-thing-v2/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'Green Thing V2';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
 
Phew it&#8217;s been busy week, but Green Thing V2 has now been officially launched. It&#8217;s awesome so you should go check it out!

    

	]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/10/green-thing-v2/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'Green Thing V2';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<p> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=2017206&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=50822c&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="300" src="http://vimeo.com/moogaloop.swf?clip_id=2017206&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=50822c&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Phew it&#8217;s been busy week, but <a href="http://dothegreenthing.com" onclick="javascript:pageTracker._trackPageview ('/outbound/dothegreenthing.com');">Green Thing V2</a> has now been officially launched. It&#8217;s awesome so you should go <a href="http://dothegreenthing.com" onclick="javascript:pageTracker._trackPageview ('/outbound/dothegreenthing.com');">check it out</a>!</p>
<p class="addtoany_share_save_container">
    <a class="a2a_dd addtoany_share_save" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/share_save?sitename=Red%20Writes%20Here&amp;siteurl=http%3A%2F%2Fredwriteshere.com%2F&amp;linkname=Green%20Thing%20V2&amp;linkurl=http%3A%2F%2Fredwriteshere.com%2F2008%2F10%2Fgreen-thing-v2%2F"><img src="http://redwriteshere.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Save/Bookmark"/></a>

	</p>]]></content:encoded>
			<wfw:commentRss>http://redwriteshere.com/2008/10/green-thing-v2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>UserVoice</title>
		<link>http://redwriteshere.com/2008/10/uservoice/</link>
		<comments>http://redwriteshere.com/2008/10/uservoice/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 23:10:32 +0000</pubDate>
		<dc:creator>reddavis</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://redwriteshere.com/?p=74</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/10/uservoice/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'UserVoice';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>

For a quick update on how Embedit did with GT &#8217;soft&#8217; launch; everything went perfectly smoothly apart from a little bit of downtime around midnight last night, but this was either due to Slice Host or something getting stuck in the pipes, but considering I changed nothing I&#8217;m guessing it was on their end.
From Tuesday [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/10/uservoice/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'UserVoice';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<p style="text-align: center;"><img class="aligncenter" title="Star" src="http://www.odeecompany.net/imgodee/rock-star-funny-desk-clock.jpg" alt="" width="210" height="210" /></p>
<p>For a quick update on how <a href="http://embedit.me" onclick="javascript:pageTracker._trackPageview ('/outbound/embedit.me');">Embedit</a> did with <a href="http://dothegreenthing.com" onclick="javascript:pageTracker._trackPageview ('/outbound/dothegreenthing.com');">GT</a> &#8217;soft&#8217; launch; everything went perfectly smoothly apart from a little bit of downtime around midnight last night, but this was either due to Slice Host or something getting stuck in the pipes, but considering I changed nothing I&#8217;m guessing it was on their end.</p>
<p>From Tuesday this week <a href="http://embedit.me" onclick="javascript:pageTracker._trackPageview ('/outbound/embedit.me');">Embedit</a> has already embedded over 2000 entities (I guess I could call them that) and is currently on 2865 embeds. I&#8217;ll let you all know how it goes with the big launch next <a href="http://i139.photobucket.com/albums/q315/kimandchris2/Myspace%20Graphics/Comments/Days%20Of%20The%20Week%20Comments/Monday/Monday009.jpg" onclick="javascript:pageTracker._trackPageview ('/outbound/i139.photobucket.com');">Monday</a> :)</p>
<p>I&#8217;ve also create a <a href="http://embedit.uservoice.com/" onclick="javascript:pageTracker._trackPageview ('/outbound/embedit.uservoice.com');">User Voice</a> account for Embedit so that you can all add and vote on services/features you would like to see in Embedit. Add any site you want that has an embed-able entity. I guess to say it on one sentence, I want Embedit to become a platform for embedded stuff ;) So more the better</p>
<p>Anyway, check out the User Voice <a href="http://embedit.uservoice.com/" onclick="javascript:pageTracker._trackPageview ('/outbound/embedit.uservoice.com');">Here</a></p>
<p class="addtoany_share_save_container">
    <a class="a2a_dd addtoany_share_save" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/share_save?sitename=Red%20Writes%20Here&amp;siteurl=http%3A%2F%2Fredwriteshere.com%2F&amp;linkname=UserVoice&amp;linkurl=http%3A%2F%2Fredwriteshere.com%2F2008%2F10%2Fuservoice%2F"><img src="http://redwriteshere.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Save/Bookmark"/></a>

	</p>]]></content:encoded>
			<wfw:commentRss>http://redwriteshere.com/2008/10/uservoice/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Meet Green Thing</title>
		<link>http://redwriteshere.com/2008/10/meet-green-thing/</link>
		<comments>http://redwriteshere.com/2008/10/meet-green-thing/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 18:33:41 +0000</pubDate>
		<dc:creator>reddavis</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Green Thing]]></category>

		<guid isPermaLink="false">http://redwriteshere.com/?p=70</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/10/meet-green-thing/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'Meet Green Thing';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>


    

	]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/10/meet-green-thing/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'Meet Green Thing';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=1950431&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=1950431&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object></p>
<p class="addtoany_share_save_container">
    <a class="a2a_dd addtoany_share_save" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/share_save?sitename=Red%20Writes%20Here&amp;siteurl=http%3A%2F%2Fredwriteshere.com%2F&amp;linkname=Meet%20Green%20Thing&amp;linkurl=http%3A%2F%2Fredwriteshere.com%2F2008%2F10%2Fmeet-green-thing%2F"><img src="http://redwriteshere.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Save/Bookmark"/></a>

	</p>]]></content:encoded>
			<wfw:commentRss>http://redwriteshere.com/2008/10/meet-green-thing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>College Humor Comes To Embed</title>
		<link>http://redwriteshere.com/2008/10/college-humor-comes-to-embed/</link>
		<comments>http://redwriteshere.com/2008/10/college-humor-comes-to-embed/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 18:18:09 +0000</pubDate>
		<dc:creator>reddavis</dc:creator>
		
		<category><![CDATA[Projects]]></category>

		<category><![CDATA[Embedit]]></category>

		<category><![CDATA[Green Thing]]></category>

		<category><![CDATA[has my gem built yet]]></category>

		<category><![CDATA[phython]]></category>

		<guid isPermaLink="false">http://redwriteshere.com/?p=66</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/10/college-humor-comes-to-embed/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'College Humor Comes To Embed';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
Probably not really worth a full blog post but ah well&#8230;
Embedit now supports College Humor&#8217;s videos and images. I am also creating wrapper in Python for all you snake lovers out there, I shall keep you all updated on the progress of that.
We are also releasing Green Thing to a ton of users tomorrow to [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/10/college-humor-comes-to-embed/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'College Humor Comes To Embed';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<p>Probably not really worth a full blog post but ah well&#8230;</p>
<p><a href="http://embedit.me" onclick="javascript:pageTracker._trackPageview ('/outbound/embedit.me');">Embedit</a> now supports <a href="http://www.collegehumor.com/" onclick="javascript:pageTracker._trackPageview ('/outbound/www.collegehumor.com');">College Humor&#8217;s</a> videos and images. I am also creating wrapper in Python for all you snake lovers out there, I shall keep you all updated on the progress of that.</p>
<p>We are also releasing <a href="http://dothegreenthing.com" onclick="javascript:pageTracker._trackPageview ('/outbound/dothegreenthing.com');">Green Thing</a> to a ton of users tomorrow to try it out, so I&#8217;ll probably make a post about how well/un-well <a href="http://embedit.me" onclick="javascript:pageTracker._trackPageview ('/outbound/embedit.me');">Embedit</a> held up.</p>
<p>On a side note - Have you every got bored of typing &#8220;git update &lt;gem&gt;&#8221;? Well my friend <a href="http://www.floppy.org.uk/" onclick="javascript:pageTracker._trackPageview ('/outbound/www.floppy.org.uk');">James</a> has created an app to do the hard work for you, just head on over to <a href="http://hasmygembuiltyet.org/" onclick="javascript:pageTracker._trackPageview ('/outbound/hasmygembuiltyet.org');">http://hasmygembuiltyet.org</a> to check it out.</p>
<p class="addtoany_share_save_container">
    <a class="a2a_dd addtoany_share_save" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/share_save?sitename=Red%20Writes%20Here&amp;siteurl=http%3A%2F%2Fredwriteshere.com%2F&amp;linkname=College%20Humor%20Comes%20To%20Embed&amp;linkurl=http%3A%2F%2Fredwriteshere.com%2F2008%2F10%2Fcollege-humor-comes-to-embed%2F"><img src="http://redwriteshere.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Save/Bookmark"/></a>

	</p>]]></content:encoded>
			<wfw:commentRss>http://redwriteshere.com/2008/10/college-humor-comes-to-embed/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Embedit Becomes Older!</title>
		<link>http://redwriteshere.com/2008/10/embedit-becomes-older/</link>
		<comments>http://redwriteshere.com/2008/10/embedit-becomes-older/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 01:14:06 +0000</pubDate>
		<dc:creator>reddavis</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://redwriteshere.com/?p=59</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/10/embedit-becomes-older/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'Embedit Becomes Older!';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>

Firstly a big shout-out goes to @bumi whose helped a ton with Embedit.
Embedit is now in version 0.1.1 (I made a silly mistake so had to update). We have a bunch of new services, the list of all these can be found over here. 
I have also released a gem for Embed.me which can be found over here. I [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://redwriteshere.com/2008/10/embedit-becomes-older/';
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = '';
digg_title = 'Embedit Becomes Older!';
digg_bodytext = '';
digg_media = 'news';
digg_topic = '';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<p style="text-align: center;"><a href="http://redwriteshere.com/wp-content/uploads/2008/10/party_hat02.jpg"><img class="aligncenter size-medium wp-image-64" title="party_hat02" src="http://redwriteshere.com/wp-content/uploads/2008/10/party_hat02-224x300.jpg" alt="" width="182" height="243" /></a></p>
<p>Firstly a big shout-out goes to <a href="http://github.com/bumi" onclick="javascript:pageTracker._trackPageview ('/outbound/github.com');">@bumi</a> whose helped a ton with Embedit.</p>
<p>Embedit is now in version 0.1.1 (I made a silly mistake so had to update). We have a bunch of new services, the list of all these can be found <a href="http://embedit.me/services" onclick="javascript:pageTracker._trackPageview ('/outbound/embedit.me');">over here</a>. </p>
<p>I have also released a gem for <a href="http://embedit.me" onclick="javascript:pageTracker._trackPageview ('/outbound/embedit.me');">Embed.me</a> which can be found <a href="http://github.com/reddavis/embedit_ruby/tree/master" onclick="javascript:pageTracker._trackPageview ('/outbound/github.com');">over here.</a> I am, however, having a really strange problem with &#8216;turning&#8217; on the gem facilities on Github. When I tick the ruby gem box and reload the page, the box becomes un-ticked again. I get no error messages at all, and even when I tick the box it says my setting have been saved. So anyone with an idea of what might be happening please contact me. I have emailed Github but haven&#8217;t heard back yet. I want to get it out properly as quickly as possible, so you guys can start using the API :)</p>
<p>Tomorrow I shall be moving <a href="http://dothegreenthing.com" onclick="javascript:pageTracker._trackPageview ('/outbound/dothegreenthing.com');">Green Thing</a> over to using the embedit API. So will let you know how that goes.</p>
<p>I also wrote a quick benchmark test as I was asked about the performance of the gem over the web service. You would expect the web service to be slower, for obvious reasons, but each time it showed to be much quicker, sometimes close to half the time. If anyone would like to explain these happenings, please leave a comment :)</p>
<p><span style="color: #0000ee; text-decoration: underline;"><a href="http://redwriteshere.com/wp-content/uploads/2008/10/picture-1.png"></a><a href="http://redwriteshere.com/wp-content/uploads/2008/10/picture-11.png"><img class="aligncenter size-full wp-image-61" title="picture-11" src="http://redwriteshere.com/wp-content/uploads/2008/10/picture-11.png" alt="" width="499" height="356" /></a></span></p>
<p><a href="http://redwriteshere.com/wp-content/uploads/2008/10/picture-2-22-00-56.png"><img class="aligncenter size-full wp-image-62" title="picture-2-22-00-56" src="http://redwriteshere.com/wp-content/uploads/2008/10/picture-2-22-00-56.png" alt="" width="500" height="335" /></a></p>
<p><a href="http://redwriteshere.com/wp-content/uploads/2008/10/picture-3-22-00-56.png"><img class="aligncenter size-full wp-image-63" title="picture-3-22-00-56" src="http://redwriteshere.com/wp-content/uploads/2008/10/picture-3-22-00-56.png" alt="" width="500" height="327" /></a></p>
<p><a href="http://redwriteshere.com/wp-content/uploads/2008/10/picture-1.png"></a></p>
<p class="addtoany_share_save_container">
    <a class="a2a_dd addtoany_share_save" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/share_save?sitename=Red%20Writes%20Here&amp;siteurl=http%3A%2F%2Fredwriteshere.com%2F&amp;linkname=Embedit%20Becomes%20Older%21&amp;linkurl=http%3A%2F%2Fredwriteshere.com%2F2008%2F10%2Fembedit-becomes-older%2F"><img src="http://redwriteshere.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Save/Bookmark"/></a>

	</p>]]></content:encoded>
			<wfw:commentRss>http://redwriteshere.com/2008/10/embedit-becomes-older/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.722 seconds -->
<!-- Cached page served by WP-Cache -->
