<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>MemeRocket &#187; TextMate</title>
	<atom:link href="http://memerocket.com/category/textmate/feed/" rel="self" type="application/rss+xml" />
	<link>http://memerocket.com</link>
	<description>Bill Burcham's Launch Platform</description>
	<lastBuildDate>Tue, 08 Nov 2011 19:50:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='memerocket.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/048c0b3b1b3b5279e320104a4b5d0bb0?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>MemeRocket &#187; TextMate</title>
		<link>http://memerocket.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://memerocket.com/osd.xml" title="MemeRocket" />
	<atom:link rel='hub' href='http://memerocket.com/?pushpress=hub'/>
		<item>
		<title>Sample of TextMate HTML Rendering</title>
		<link>http://memerocket.com/2006/05/07/sample-of-textmate-html-rendering/</link>
		<comments>http://memerocket.com/2006/05/07/sample-of-textmate-html-rendering/#comments</comments>
		<pubDate>Sun, 07 May 2006 12:07:58 +0000</pubDate>
		<dc:creator>Bill Burcham</dc:creator>
				<category><![CDATA[TextMate]]></category>

		<guid isPermaLink="false">http://www.meme-rocket.com/2006/05/07/sample-of-textmate-html-rendering/</guid>
		<description><![CDATA[OK, after all my nattering on about the cool new Experimental TextMate command &#8220;Create HTML from Document/Selection&#8221; I neglected to give the punchline! Without further ado, here&#8217;s a snippet of a well known JavaScript library: Mmmm&#8230; Twilight. Go ahead and &#8230; <a href="http://memerocket.com/2006/05/07/sample-of-textmate-html-rendering/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=memerocket.com&amp;blog=5432592&amp;post=21&amp;subd=memerocket&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>OK, after all my <a title="previous post" href="/2006/05/06/textmate-renders-styled-html-now/">nattering on</a> about the cool new Experimental TextMate command &#8220;Create HTML from Document/Selection&#8221; I neglected to give the punchline!  Without further ado, here&#8217;s a snippet of a well known JavaScript library:</p>
<p> </iframe>Mmmm&#8230; Twilight. Go ahead and use command+ and command- to increase or decrease the text size in your browser.  You can&#8217;t do that with screenshot GIFs!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/memerocket.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/memerocket.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/memerocket.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/memerocket.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/memerocket.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/memerocket.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/memerocket.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/memerocket.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/memerocket.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/memerocket.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/memerocket.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/memerocket.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/memerocket.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/memerocket.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/memerocket.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/memerocket.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=memerocket.com&amp;blog=5432592&amp;post=21&amp;subd=memerocket&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://memerocket.com/2006/05/07/sample-of-textmate-html-rendering/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a88a8da103044de18418f303bf0c1507?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">bburcham</media:title>
		</media:content>
	</item>
		<item>
		<title>TextMate Renders Styled HTML Now</title>
		<link>http://memerocket.com/2006/05/06/textmate-renders-styled-html-now/</link>
		<comments>http://memerocket.com/2006/05/06/textmate-renders-styled-html-now/#comments</comments>
		<pubDate>Sat, 06 May 2006 12:30:02 +0000</pubDate>
		<dc:creator>Bill Burcham</dc:creator>
				<category><![CDATA[TextMate]]></category>

		<guid isPermaLink="false">http://www.meme-rocket.com/2006/05/06/textmate-renders-styled-html-now/</guid>
		<description><![CDATA[I use TextMate and just love it. I particularly like the syntax highlighting and formatting and the ability to pick themes. My current favorite is Twilight. The way TextMate understands various languages (e.g. HTML, CSS, Ruby) is via &#8220;bundles&#8221;. Bundles &#8230; <a href="http://memerocket.com/2006/05/06/textmate-renders-styled-html-now/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=memerocket.com&amp;blog=5432592&amp;post=20&amp;subd=memerocket&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I use <a href="http://macromates.com/">TextMate</a> and just love it.  I particularly like the syntax highlighting and formatting and the ability to pick themes.  My current favorite is Twilight.</p>
<p>The way TextMate understands various languages (e.g. HTML, CSS, Ruby) is via &#8220;bundles&#8221;.  Bundles also define extra &#8220;commands&#8221; to the editor e.g. there&#8217;s a command to run the W3C syntax validator on the current document. There are a bunch of bundles that ship with TextMate, and there are also a bunch being developed by the community.</p>
<p>Anyhoo, over on #refreshdallas IRC yesterday evening I was asking if anyone knew of a way to induce TextMate to output a styled HTML file for whatever file you were currently editing.  The idea was that if I was editing Ruby, or CSS, or HTML or whatever, and I&#8217;d chosen a particular theme, and I liked the way that looked &#8212; I&#8217;d like to be able to press a button and generate an HTML document that I could drop into my blog or into an S5 presentation.  The way I&#8217;ve been doing this lately is to capture a TIFF of the TextMate window via Grab but that&#8217;s just tedious (have to convert to GIF and then there are all the sizing limitations associated with images.)</p>
<p>While I was on the #refreshdallas IRC I was also on the ##textmate IRC asking similar questions and some <a href="http://subtlegradient.com">really</a> <a href="http://macromates.com/blog/">helpful</a> people told me about the &#8220;<a href="http://macromates.com/svn/Bundles/trunk/Bundles/Experimental.tmbundle/">Experimental</a>&#8221; bundle.  It had a command very close to what I needed called &#8220;View Document as HTML&#8221;.  That one did not use the current theme to generate the CSS (it had a hard-coded CSS embedded) and it didn&#8217;t show the HTML &#8212; it rendered to a WebKit HTML window directly.  They suggested I use that command as a starting point, so I played around w/ it a bit and made a little progress.</p>
<p>And then I watched <a href="http://www.scifi.com/firefly/episodes/season1/0102/">a movie</a> and went to sleep&#8230;</p>
<p>And when I woke up this am, ready to go do this thing, I decided to start clean and do a fresh &#8220;svn co&#8221; on the Experimental bundle before getting down to the business of writing a TextMate-theme-to-CSS transformation (XSLT) and wrapping that in a TextMate command and mashing it up with the &#8220;View Document as HTML&#8221; genetic material.  When lo I noticed in the Experimental/Commands a new entry: &#8220;Create HTML from Document / Selection&#8221;.</p>
<p>So I ran it.</p>
<p>Up popped a new editor window containing an HTML document with loads of delicious CSS and the target document rendered in the body all formatted nice w/ spans w/ class attrs.</p>
<p>I hit command-B to render that file in the browser and pow!  Up popped a Firefox window that looked very much like the original TextMate window!  The layout was great.  The colors perfect.  The font was a little off, but hey, that can be tweaked.</p>
<p>So what elf was responsible for delivering this overnight gift?  A bit of poking around on ##textmate revealed it was a certain <a href="http://bradchoate.com">Brad Choate</a> had contributed this blessed addition.  Now I&#8217;m off to plumb the sublime depths of his implementation.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/memerocket.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/memerocket.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/memerocket.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/memerocket.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/memerocket.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/memerocket.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/memerocket.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/memerocket.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/memerocket.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/memerocket.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/memerocket.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/memerocket.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/memerocket.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/memerocket.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/memerocket.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/memerocket.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=memerocket.com&amp;blog=5432592&amp;post=20&amp;subd=memerocket&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://memerocket.com/2006/05/06/textmate-renders-styled-html-now/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a88a8da103044de18418f303bf0c1507?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">bburcham</media:title>
		</media:content>
	</item>
		<item>
		<title>Tell TextMate About Your RJS Templates</title>
		<link>http://memerocket.com/2006/02/10/tell-textmate-about-your-rjs-templates/</link>
		<comments>http://memerocket.com/2006/02/10/tell-textmate-about-your-rjs-templates/#comments</comments>
		<pubDate>Fri, 10 Feb 2006 19:38:20 +0000</pubDate>
		<dc:creator>Bill Burcham</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[RJS templates]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[TextMate]]></category>

		<guid isPermaLink="false">http://www.meme-rocket.com/2006/02/10/tell-textmate-about-your-rjs-templates/</guid>
		<description><![CDATA[As explanations go, it doesn&#8217;t get much more straightforward than Cody Fauser&#8217;s excellent post on Rails RJS Templates. When you try it out though, you may notice that TextMate doesn&#8217;t know that RJS templates which by convention have an &#8220;.rjs&#8221; &#8230; <a href="http://memerocket.com/2006/02/10/tell-textmate-about-your-rjs-templates/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=memerocket.com&amp;blog=5432592&amp;post=10&amp;subd=memerocket&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="float:right;margin-left:10px;">
<p>As explanations go, it doesn&#8217;t get much more straightforward than Cody Fauser&#8217;s <a title="Cody Fauser on RJS" href="http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates">excellent post</a> on Rails RJS Templates. When you try it out though, you may notice that TextMate doesn&#8217;t know that RJS templates which by convention have an &#8220;.rjs&#8221; suffix, are really Ruby code. If you want to make TextMate aware of the &#8220;.rjs&#8221; suffix simply open the Bundle Editor window, navigate to the Ruby bundle, scroll down to the Ruby language definition (it has a Gray circular icon with an &#8220;L&#8221; on it), and add &#8216;rjs&#8217; to the list of fileTypes.</p>
<p><img class="alignright size-full wp-image-156" title="add-rjs-to-ruby-bundle1" src="http://memerocket.files.wordpress.com/2006/02/add-rjs-to-ruby-bundle1.gif?w=520" alt="add-rjs-to-ruby-bundle1"   /></p>
<p>Once you do that, TextMate will treat .rjs files like other Ruby files and you&#8217;ll get syntax highlighting and stuff.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/memerocket.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/memerocket.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/memerocket.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/memerocket.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/memerocket.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/memerocket.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/memerocket.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/memerocket.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/memerocket.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/memerocket.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/memerocket.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/memerocket.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/memerocket.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/memerocket.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/memerocket.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/memerocket.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=memerocket.com&amp;blog=5432592&amp;post=10&amp;subd=memerocket&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://memerocket.com/2006/02/10/tell-textmate-about-your-rjs-templates/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a88a8da103044de18418f303bf0c1507?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">bburcham</media:title>
		</media:content>

		<media:content url="http://memerocket.files.wordpress.com/2006/02/add-rjs-to-ruby-bundle1.gif" medium="image">
			<media:title type="html">add-rjs-to-ruby-bundle1</media:title>
		</media:content>
	</item>
	</channel>
</rss>
