<?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>Huddled Masses &#187; Textile</title>
	<atom:link href="http://huddledmasses.org/tag/textile/feed/" rel="self" type="application/rss+xml" />
	<link>http://huddledmasses.org</link>
	<description>You can do more than breathe for free...</description>
	<lastBuildDate>Sat, 28 Jan 2012 21:37:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<cloud domain='huddledmasses.org' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>TextileWrapper 2.0 and GeSHiWrapper 1.4</title>
		<link>http://huddledmasses.org/textilewrapper-20-and-geshiwrapper-14/</link>
		<comments>http://huddledmasses.org/textilewrapper-20-and-geshiwrapper-14/#comments</comments>
		<pubDate>Wed, 16 Aug 2006 15:01:40 +0000</pubDate>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[GeSHi]]></category>
		<category><![CDATA[Textile]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.huddledmasses.org/jaykul/textilewrapper-20-and-geshiwrapper-14/</guid>
		<description><![CDATA[EDIT I&#8217;m inserting an extra paragraph Just to test if the textile stuff is misbehaving Because I had an error report. I&#8217;m releasing a new version of the WordPress Textile 2 plugin, as well as my own plugin for doing syntax highlighting with GeSHi. But I feel like I need to explain what&#8217;s going on, [...]]]></description>
			<content:encoded><![CDATA[	<p><strong>EDIT</strong> I&#8217;m inserting an extra paragraph<br />
Just to test if the textile stuff is misbehaving<br />
Because I had an error report.</p>

	<p>I&#8217;m releasing a new version of the WordPress Textile 2 plugin, as well as my own plugin for doing syntax highlighting with GeSHi.  But I feel like I need to explain what&#8217;s going on, rather than just posting the downloads.</p>

	<p>There are two big changes to the Textile 2 plugin. I&#8217;ve changed the way I&#8217;m distributing the plugin: instead of a single file, there are two, which must go <strong>together</strong> into a folder in your WordPress plugins directory. To simplify that I&#8217;ve packaged them as a <a href="/wp-content/plugins/TextileWrapper.7z" title="9Kb">.7z</a> <a href="/wp-content/plugins/TextileWrapper.tgz" title="9Kb">.tgz</a> <a href="/wp-content/plugins/TextileWrapper.zip" title="10Kb">.zip</a> which you can just unpack in the plugins folder.  The reason for this change is that this allows me to distribute the <em>unmodified</em> classTextile.php from <a href="http://textism.com/?wp">Dean Allen&#8217;s</a> <a href="http://svn.textpattern.com/releases/4.0.3/source/textpattern/lib/classTextile.php">last textpattern release</a>, and allows <em>you</em> the option of just replacing that file with <a href="http://svn.textpattern.com/development/4.0/textpattern/lib/classTextile.php">the latest from the svn repository</a> in the future.</p>

	<p>I&#8217;ve changed the name to &#8220;TextileWrapper&#8221; to be more in line with what&#8217;s really going on. I want to make perfectly clear that I <em>am not</em> editing Textile at all this time.  Any bugs with the way Textile work are Textile&#8217;s bugs, and should be filed via the <a href="http://www.textism.com/tools/textile/">Textile Homepage</a>.  Any bugs with the way it integrates into WordPress should be filed here.  As far as the version number &#8230; Dean Allen has left Textile as &#8220;2.0 Beta&#8221; for a very long time, despite the fact that he&#8217;s on version 4.3 of <a href="http://www.textpattern.com">Textpattern</a> (which has been using Textile since the beggining).  The internal revision number for the file has been divorced from actual revisions to Textile, because <a href="http://subversion.tigris.org/">Subversion</a> revision&#8217;s the whole project, so there&#8217;s nothing to go on there, either. At any rate, based on all that, I&#8217;ve decided to just call this version 2.8 as it&#8217;s really the next version of my &#8220;Textile 2&#8221; plugin, even though I&#8217;ve renamed it &#8230;  and it really should work with any version of Textile since the first 2.0 Beta.</p>

	<p>I finally came to my senses with this release and realized that the problem with code blocks is really not a Textile problem, but rather, a problem of the various syntax highlighters I&#8217;ve been using.</p>

	<p><span id="more-326"></span>After playing around with some regular expressions, I&#8217;m releasing my GeSHiWrapper plugin as well. It&#8217;s exactly the same concept as TextileWrapper: a simple wrapper around an untouched <a href="http://qbnz.com/highlighter/">GeSHi &#8211; Generic Syntax Highlighter</a> which should allow you to upgrade GeSHi without waiting for me to release new wrappers. As with Textile, I&#8217;ve packaged the whole thing with the current GeSHi: <a href="/wp-content/plugins/GeSHiWrapper.7z" title="213Kb">.7z</a> <a href="/wp-content/plugins/GeSHiWrapper.tgz" title="306Kb">.tgz</a> <a href="/wp-content/plugins/GeSHiWrapper.zip" title="384Kb">.zip</a> which you can just unpack in the plugins folder.</p>

	<p>The GeSHi wrapper is a little more complicated than the TextileWrapper, because it&#8217;s intended purpose is to do code highlighting in a way that works with the various markup plugins (Textile, Markdown, etc) without any problems. To accomplish this, it runs two functions: one before, and one after the actual markup plugin runs (this assumes that you have the priority of the markup plugin set between 2 and 9 &#8212; it&#8217;s usually 6).  The basic idea is that before the markup plugin runs it <strong>extracts</strong> the code blocks, and afterwards, it syntax-highlights them and puts them back.  There are two catches.</p>

	<p>The first problem is a GeSHi problem: it throws out the &#8220;code&#8221; blocks and replaces them with &#8220;div&#8220;s.  This means you can&#8217;t use it to syntax highlight code in-line in a paragraph, because it will invalidate your markup &#8230; but it doesn&#8217;t track that.  What it <strong>does</strong> do, is only replace code blocks with a &#8220;lang&#8221; or &#8220;language&#8221; attribute (which tells it which language the code is in &#8212; that is: php or csharp, not english).  To get GeSHi wrapper to work, you should put your <code>code</code> tags in their own paragraph (GeSHiWrapper will rip off an extra set of <code>p</code> tags), and you must specify the *lang*uage for the source code.  If you use Textile&#8217;s markup to add code tags that <strong>will not</strong> be highlighted, since GeSHi looks for code before Textile runs. </p>

	<p>The second problem is a style problem: since GeSHi puts it&#8217;s code in a <code>&#60;div class=&#34;code lang&#34;&#62;</code> block, you need to make sure you style that div appropriately (particularly note the problem of long source-code lines like regular expressions which may not have spaces, and thus, won&#8217;t wrap properly in Firefox).  Personally, I style the .code class with overflow: auto; to get scrollbars.</p>

	<p>The only GeSHi option that&#8217;s currently exposed in the wrapper (apart from the code language) is line numbering.  If you want line numbering on, you should specify an attribute &#8220;line&#8221; with a numerical value for the number of the first line (note that the first line of code is on the same line as the <code>code</code> tag).  This allows you to quote from the middle of a file and still use the line numbers logically like so: <code>&#60;code lang=&#34;csharp&#34; line=&#34;104&#34;&#62;</code></p>

	<p>Eventuall I&#8217;ll release a new version of this wrapper with a config page for some of the options &#8230; particularly the choice of <code>div</code> or <code>pre</code> and of using  stylesheets and class names instead of embedded styles, but I have a lot of other work to get done first, so if you&#8217;re interested in syntax highlighting that won&#8217;t break with your Markup plugin, don&#8217;t wait for that.</p>

	<p>P.S.:  To show that it&#8217;s all working, I messed around with my <a href="http://www.huddledmasses.org/jaykul/test-post-please-look-away/">most recent test post</a> and added a bunch of highlighted code and a few of the usual Textile torture tests.</p>

	<p>Technorati Tags: <a href="http://technorati.com/tag/WordPress" rel="tag">WordPress</a>, <a href="http://technorati.com/tag/Plugins" rel="tag">Plugins</a>, <a href="http://technorati.com/tag/Textile" rel="tag">Textile</a>, <a href="http://technorati.com/tag/GeSHi" rel="tag">GeSHi</a>, <a href="http://technorati.com/tag/SyntaxHighlight" rel="tag">SyntaxHighlight</a>, <a href="http://technorati.com/tag/Code" rel="tag">Code</a>, <a href="http://technorati.com/tag/Web" rel="tag">Web</a>, <a href="http://technorati.com/tag/Blogging" rel="tag">Blogging</a>, <a href="http://technorati.com/tag/Markup" rel="tag">Markup</a></p>]]></content:encoded>
			<wfw:commentRss>http://huddledmasses.org/textilewrapper-20-and-geshiwrapper-14/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Test Post. Please look away ;-)</title>
		<link>http://huddledmasses.org/test-post-please-look-away/</link>
		<comments>http://huddledmasses.org/test-post-please-look-away/#comments</comments>
		<pubDate>Tue, 25 Jul 2006 14:55:56 +0000</pubDate>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Textile]]></category>

		<guid isPermaLink="false">http://HuddledMasses.org/jaykul/test-post-please-look-away/</guid>
		<description><![CDATA[This post is just a test post, with some code, some Textile torture, and some embedded images so I can test some things. Please feel free to ignore it completely, unless you just want to see how well my blog handles torture. Here&#8217;s some HTML code: &#60;p&#62;The extra tools &#38;amp; stuff needed to build xnu [...]]]></description>
			<content:encoded><![CDATA[	<p>This post is just a test post, with some code, some Textile torture, and some embedded images so I can test some things.  Please feel free to ignore it completely, unless you just want to see how well my blog handles torture.</p>

	<p>Here&#8217;s some <span class="caps">HTML</span> code:</p>

	<div class="html4strict code html4strict" style="font-family:monospace;"><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span>The extra tools <span style="color: #ddbb00;">&amp;amp;</span> stuff needed to build xnu for Intel have been posted at <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.macosforge.org/files/kernel-tools-8J2135.root.tar.gz&quot;</span>&gt;</span>/files/kernel-tools-8J2135.root.tar.gz<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span>. &nbsp;These include relpath and seg_hack and will install in /usr/local/bin/. &nbsp;The <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://kernel.macosforge.org/intel-build-instructions.html&quot;</span>&gt;</span>build instructions<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> have also been updated. &nbsp;Enjoy!<br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span><br />
<span style="color: #ddbb00;">&amp;lt;</span>div style=&quot;color:red;&quot;<span style="color: #ddbb00;">&amp;gt;</span>This is red text when rendered<span style="color: #ddbb00;">&amp;lt;</span>/div<span style="color: #ddbb00;">&amp;gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span>But <span style="color: #ddbb00;">&amp;lt;</span>span style=&quot;color:blue;&quot;<span style="color: #ddbb00;">&amp;gt;</span>this is blue text when rendered<span style="color: #ddbb00;">&amp;lt;</span>/span<span style="color: #ddbb00;">&amp;gt;</span>, not red.<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span><br />
&nbsp;</div>

	<p>And here&#8217;s a little <span class="caps">PHP</span> code:</p>

	<div class="php code php" style="font-family:monospace;"><ol start="0"><li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">&lt;?php</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">/*</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">Plugin Name: GeshiWrapper</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">Version: 1.0</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">Plugin URI: http://www.huddledmasses.org/category/development/wordpress/textile/</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">Description: Code highlighting using &lt;a href=&quot;http://qbnz.com/highlighter/index.php&quot;&gt;GeSHI&lt;/a&gt; which works with TextileWrapper</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">Author: Joel Bennett</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">Author URI: http://www.huddledmasses.org</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">*/</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">require_once</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;geshi.php&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">function</span> GeshiWrapperPreTextile<span style="color: #009900;">&#40;</span><span style="color: #000088;">$text</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <a href="http://www.php.net/global"><span style="color: #990000;">global</span></a> <span style="color: #000088;">$geshiCodes</span><span style="color: #339933;">,</span> <span style="color: #000088;">$geshiUniqueId</span><span style="color: #339933;">;</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #000088;">$geshiUniqueId</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/uniqid"><span style="color: #990000;">uniqid</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <a href="http://www.php.net/preg_match_all"><span style="color: #990000;">preg_match_all</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#&lt;code (?:(?:(?:lang|language)=[\'<span style="color: #000099; font-weight: bold;">\&quot;</span>](?P&lt;lang&gt;[a-zA-Z0-9_-]+)[\'<span style="color: #000099; font-weight: bold;">\&quot;</span>])|(?:(?:start|line|startline)=[\'<span style="color: #000099; font-weight: bold;">\&quot;</span>](?P&lt;line&gt;[0-9]+)[\'<span style="color: #000099; font-weight: bold;">\&quot;</span>])|(?:\W+))?[^&gt;]*&gt;(?P&lt;code&gt;.*?)&lt;\/code&gt;#s&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$text</span><span style="color: #339933;">,</span> <span style="color: #000088;">$geshiCodes</span><span style="color: #339933;">,</span> PREG_SET_ORDER <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$geshiCodes</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$code</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$text</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/str_replace"><span style="color: #990000;">str_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$code</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$geshiUniqueId</span><span style="color: #339933;">.</span><span style="color: #000088;">$i</span><span style="color: #339933;">++,</span> <span style="color: #000088;">$text</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #009900;">&#125;</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$text</span><span style="color: #339933;">;</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">?&gt;</span></div></li>
<li style="font-weight: normal; vertical-align:top;font-size: .9em;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
</ol></div>

	<p>And there is some non-highlighted code. In-line: <code>print( &#34;this is not highlighted&#34; );</code>, and the first part of the Hammurabbi Code in block form:</p>

	<p><code>
1.
   If any one ensnare another, putting a ban upon him, but he can not prove it, then he that ensnared him shall be put to death.
2. 
   If any one bring an accusation against a man, and the accused go to the river and leap into the river, if he sink in the river his accuser shall take possession of his house. But if the river prove that the accused is not guilty, and he escape unhurt, then he who had brought the accusation shall be put to death, while he who leaped into the river shall take possession of the house that had belonged to his accuser. 
</code></p>

	<h3>That&#8217;s really a <em>bit</em> silly.</h3>

	<p>But hey, the whole point here is to just see what works and what doesn&#8217;t.  Here&#8217;s more sample Textile:</p>

	<h4 style="color:green;">This is a green title</h4>

	<h5>This is a less important title</h5>

	<p style="color:red;">This is some red text.  Yeah.  Just because I can.  Actually, <span style="color:blue;" class="highlight">you probably don&#8217;t care</span>, but it&#8217;s cool that I can <span class="highdark">highlight text</span> using colors <em>or</em> styles.</p>

	<blockquote lang="en">
		<p lang="en">This is a block quote. It&#8217;s in english. It&#8217;s more boring than Dean&#8217;s.</p>
	</blockquote>

	<p>We should really have a list or two:</p>

	<ol style="color:blue;">
		<li>This one is colored blue</li>
		<li>Two</li>
	</ol>
	<ol>
		<li>Three</li>
	</ol>

	<p>We can have multi-level lists: </p>

	<p>	<ol>
		<li>but unlike markdown
	<ol>
		<li>we can&#8217;t</li>
		<li>have long paragraphs</li>
	</ol></li>
	<ol>
		<li>in our lists</li>
		<li>Or can we?
		<li><p>This might look like one.  But it probably isn&#8217;t, really.  What <span class="fontlight">on earth</span> do I mean by that? Well, basically, you can embed <span class="caps">HTML</span> code, so as long as you don&#8217;t mind doing that, you can put your own paragraph breaks in wherever you like.</p><p>Of course, it looks a lot better if you put them in logical places, and it really screws things up if you forget to close them.</p></li>
		<li>The problem is, you end up putting <span class="caps">HTML</span> in, which is ugly.</li>
	</ol></li>
	</ol>
	<ol>
		<li>But have you ever really done that?</li>
	</ol></li></p>

	<p>We can have mixed lists:</p>

	<p>	<ul>
		<li>Point one
		<li>Point two
	<ol>
		<li>Step 1</li>
		<li>Step 2</li>
	</ol></li>
	<ol>
		<li>Step 3</li>
		<li>Point three
	<ul>
		<li>Sub point 1</li>
	</ul></li>
	</ol></li>
	</ul>
	<ul>
		<li>Sub point 2</li>
	</ul></li></p>

	<p>On the topic of inserting plain html, how about we insert an <a href="/" title="watch out">old-fashioned hypertext link</a>? Thankfully, Textile&#8217;s clever enough not to muck about with the quote marks in the tags!</p>

	<p><a href="http://www.textism.com" title="An optional title, that is">This is a link with a title!</a></p>

	<table style="border:1px solid black;">
		<tr>
			<th>this</th>
			<th>is</th>
			<th>a</th>
			<th>header</th>
		</tr>
		<tr style="background:gray;text-align:left;">
			<td colspan="2">this is</td>
			<td style="background:red;width:200px;">a</td>
			<td style="vertical-align:top;height:200px;text-align:justify;">row</td>
		</tr>
		<tr>
			<td>this</td>
			<td style="padding:10px;text-align:justify;">is</td>
			<td style="vertical-align:top;">another</td>
			<td class="bob" id="bob">row</td>
		</tr>
	</table>

	<p>A stolen image: </p>

	<p><a href="http://www.textism.com/"><img src="http://www.textism.com/common/textist.gif" title="optional alt text" alt="optional alt text" width="400" height="99" /></a></p>

	<p>With a link back, so it&#8217;s ok  <img src='http://huddledmasses.org/wordpress/wp-includes/' alt=';-)' class='wp-smiley' />  (ooh, look,  <img src='http://huddledmasses.org/wordpress/wp-includes/' alt='[announce]' class='wp-smiley' />   <img src='http://huddledmasses.org/wordpress/wp-includes/' alt='[new]' class='wp-smiley' />  my <a href="/wp-content/plugins/smilingmasses/">smilies</a> work)  <img src='http://huddledmasses.org/wordpress/wp-includes/' alt='[groupwoot]' class='wp-smiley' />  <img src='http://huddledmasses.org/wordpress/wp-includes/' alt='[music]' class='wp-smiley' /> .  That&#8217;s so fun  <img src='http://huddledmasses.org/wordpress/wp-includes/' alt=':D' class='wp-smiley' />   <img src='http://huddledmasses.org/wordpress/wp-includes/' alt='[irule]' class='wp-smiley' />  ...  <img src='http://huddledmasses.org/wordpress/wp-includes/' alt='[rolleyes]' class='wp-smiley' />   <img src='http://huddledmasses.org/wordpress/wp-includes/' alt='[yawn]' class='wp-smiley' />  someday I&#8217;m going to package all of those up into a plugin for distribution  <img src='http://huddledmasses.org/wordpress/wp-includes/' alt='[sorry]' class='wp-smiley' /> .</p>

	<p>Some more text of dubious character. Here is a noisome string of <span class="caps">CAPITAL</span> letters. Here is something we want to <em>emphasize</em>. <br />
That was a linebreak. And something to indicate <strong>strength</strong>. Of course I could still use <em>my own <span class="caps">HTML</span> tags</em> if I <strong>felt</strong> like it.</p>

	<h3>Coding</h3>

	<p>This <code>is some code, &#34;isn&#39;t it&#34;</code>. Check out those quote marks! Now for some preformatted text:</p>

<pre>
<code>
	$text = str_replace(&#34;&#60;p&#62;%::%&#60;/p&#62;&#34;,&#34;&#34;,$text);
	$text = str_replace(&#34;%::%&#60;/p&#62;&#34;,&#34;&#34;,$text);
	$text = str_replace(&#34;%::%&#34;,&#34;&#34;,$text);
</code>
</pre>

	<p>Well, that&#8217;s enough of that.</p>

]]></content:encoded>
			<wfw:commentRss>http://huddledmasses.org/test-post-please-look-away/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Textile Plugin 2.6 released</title>
		<link>http://huddledmasses.org/textile-plugin-26-released/</link>
		<comments>http://huddledmasses.org/textile-plugin-26-released/#comments</comments>
		<pubDate>Tue, 04 Oct 2005 01:12:47 +0000</pubDate>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
				<category><![CDATA[Huddled]]></category>
		<category><![CDATA[Huddled Masses]]></category>
		<category><![CDATA[Textile]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.huddledmasses.org/?p=239</guid>
		<description><![CDATA[Note: A newer version is available. Please see the category page for the latest. Another release of Textile by Dean Allen in his blogging tool TextPattern 4.0 has prompted me to make another release of my pluing based on his work. This release is so much better than the last couple, that I really want [...]]]></description>
			<content:encoded><![CDATA[	<p> <img src='http://huddledmasses.org/wordpress/wp-includes/' alt='[announce]' class='wp-smiley' />  <strong>Note</strong>: A <a href="http://www.huddledmasses.org/jaykul/textilewrapper-20-and-geshiwrapper-14/">newer version</a> is available. Please see the <a href="http://www.huddledmasses.org/category/development/wordpress/textile/">category page</a> for the latest.</p>

	<p>Another release of Textile by Dean Allen in his blogging tool <a href="http://textpattern.com">TextPattern 4.0</a> has prompted me to make another release of my pluing based on his work.  This release is so much better than the last couple, that I really want to just call it Textile 3.  I won&#8217;t though, because that would confuse everyone, including me.</p>

	<p>At any rate, this release improves block handling, and the &#8216;notextile&#8217; tag (or double equals) actually works as advertised ( *check out* this "textile":1 code that was _not_  converted! ).  Actually, that example brings us to another new feature: You can move the URLs out of your code, (even for images) and refer to them by number. </p>

	<p>This release is also a <strong>lot</strong> better about not screwing up when you insert html into your posts, so <b>this, for instance</b> was done with a pair of &lt;b&gt; tags instead of textile markup. That means that comments don&#8217;t get messed up, and there should be any problem, for instance, with the adwords plugin. </p>

	<p>There are two versions: <a href="http://www.huddledmasses.org/wp-content/plugins/source.php?file=textile2.6.php">Textile 2.6</a> and <a href="http://www.huddledmasses.org/wp-content/plugins/source.php?file=textile2.6b.php">Textile 2.6 for beautifiers</a>  ... the &#8220;for beautifiers&#8221; version is what I&#8217;m using, it removes Textile&#8217;s clean-up of &lt;code&gt; sections, so that I can use <a href="http://dev.wp-plugins.org/wiki/GeshiSyntaxColorer">GeshiSyntaxColorer</a> &#8230;</p>

	<p>Just for a cool example of the neat stuff: <span id="more-239"></span></p>

	<h5>The following textile code:</h5>

	<p>"Check out this page":1 for a nice place to test your Textile skills.</p>

	<p>The image below shows a photo from "my flickr page":2</p>

	<p>!4!:3</p>

	<p>[1&#93;http://textism.com/tools/textile/index.html<br />
[2&#93;http://flickr.com/photos/jaykul/l<br />
[3&#93;http://flickr.com/photos/jaykul/48483236/<br />
[4&#93;http://static.flickr.com/28/48483236_f9d5d11b99_m.jpg</p>

	<h5>Would reproduce like this:</h5>

	<p><a href="http://www.textism.com/tools/textile/index.html">Check out this page</a> for a nice place to test your Textile skills.</p>

	<p>The image below shows a photo from <a href="http://flickr.com/photos/jaykul/l">my flickr page</a></p>

	<p><a href="http://flickr.com/photos/jaykul/48483236/"><img src="http://static.flickr.com/28/48483236_f9d5d11b99_m.jpg" title="" alt="" /></a></p>



]]></content:encoded>
			<wfw:commentRss>http://huddledmasses.org/textile-plugin-26-released/feed/</wfw:commentRss>
		<slash:comments>53</slash:comments>
		</item>
		<item>
		<title>Comment Spam</title>
		<link>http://huddledmasses.org/comment-spam/</link>
		<comments>http://huddledmasses.org/comment-spam/#comments</comments>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
				<category><![CDATA[Huddled]]></category>
		<category><![CDATA[Huddled Masses]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[Textile]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">//?p=</guid>
		<description><![CDATA[spammers are despicable.  comment spammers are even more despicable]]></description>
			<content:encoded><![CDATA[	<p> <img src='http://huddledmasses.org/wordpress/wp-includes/' alt='[nospam]' class='wp-smiley' />  Spammers are despicable.   Comment spammers are even more despicable.  <img src='http://huddledmasses.org/wordpress/wp-includes/' alt='[diespam]' class='wp-smiley' /> </p>

	<p>OK, so &#8230; I got my second actual comment spam today &#8230;  and it was much more of a pain than I had anticipated (of course, that&#8217;s mostly because I put together this post complaining about it instead of simply deleting the posts). </p>

	<p>The worst part is, the domains are all registered through domainsbyproxy dot com, which I think is just fitting, considering the anonymous coward didn&#8217;t even provide a legitimate email address.  </p>

	<p>Anyway , do not, under any circumstances, shop at any of these despicable dealers:</p>

	<p><span id="more-57"></span></p>

	<ul>
		<li><strong>Do <span class="caps">NOT</span> go to</strong> musical-instruments online dot com  &#8212; if you&#8217;re looking for information on &#8212; tune a bass guitar or acoustic bass guitar or for a headset microphone</li>
		<li><strong>Do <span class="caps">NOT</span> go to</strong> golf equip online dot com  &#8212; if you&#8217;re looking for information on &#8212; golf ball monogrammer or left handed golf clubs or golf club exchange</li>
		<li><strong>Do <span class="caps">NOT</span> go to</strong> background checks-online dot com  &#8212; if you&#8217;re looking for information on &#8212; public criminal record check or criminal court records or hamilton county court record (why?)</li>
		<li><strong>Do <span class="caps">NOT</span> go to</strong> loose weight effectively dot com  &#8212; if you&#8217;re looking for information on &#8212; weight loss calculator or herb weight loss</li>
		<li><strong>Do <span class="caps">NOT</span> go to</strong> flat screen tvs online dot net  &#8212; if you&#8217;re looking for information on &#8212; lcd monitors or plasma tv buying guide or lcd flat screen</li>
		<li><strong>Do <span class="caps">NOT</span> go to</strong> teleconference call services dot com  &#8212; if you&#8217;re looking for information on &#8212; cheap conference calling</li>
		<li><strong>Do <span class="caps">NOT</span> go to</strong> new-car priceguides dot com  &#8212; if you&#8217;re looking for information on &#8212; 2004 lincoln navigators or audi a4&#8217;s</li>
		<li><strong>Do <span class="caps">NOT</span> go to</strong> buy new cars-online dot com  &#8212; if you&#8217;re looking for information on &#8212; corvette for sale or a car dealer</li>
		<li><strong>Do <span class="caps">NOT</span> go to</strong> new car-quotes dot com  &#8212; if you&#8217;re looking for information on &#8212; wrangler or a land rover</li>
		<li><strong>Do <span class="caps">NOT</span> go to</strong> persian rugs online dot net  &#8212; if you&#8217;re looking for information on &#8212; a hamadan</li>
		<li><strong>Do <span class="caps">NOT</span> go to</strong> texas loan information dot com  &#8212; if you&#8217;re looking for information on &#8212; texas home equity</li>
		<li><strong>Do <span class="caps">NOT</span> go to</strong> wholesale-pricing dot com  &#8212; if you&#8217;re looking for information on &#8212; all clad</li>
	</ul>
	<ul>
		<li><strong>Do <span class="caps">NOT</span> go to</strong> area rugs online dot net  &#8212; if you&#8217;re looking for information on &#8212; cheap area rugs</li>
	</ul>

	<p>Oh, and in case you can&#8217;t figure it out, I ran myself a little search-and-replace and removed the links, and removed the original &#8220;advertisment&#8221; text before I posted it &#8230;  I actually put the keywords and url text on this page in hopes of completely messing with their heads.</p>

	<p>I&#8217;m going to have to change my settings &#8230; I actually had it set up before that you couldn&#8217;t use html at all in comments (although <a href="http://www.textism.com/tools/textile/">textile</a> processing is always available[ <img src='http://huddledmasses.org/wordpress/wp-includes/' alt=':-)' class='wp-smiley' /> ]), but <em>when I upgraded to the latest <a href="http://www.wordpress.org">WordPress</a> over the weekend, it turned back on the ability for people to put html into the comments,</em> and I figured I wouldn&#8217;t worry about it because nobody had ever tried anything.  Boy was I wrong.  </p>

	<p>Well, it would serve them right if this warning page actually showed up when people went tooking for these things, but mostly I&#8217;m just venting. Phaugh!</p>]]></content:encoded>
			<wfw:commentRss>http://huddledmasses.org/comment-spam/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Beautiful, now for some CSS magic.</title>
		<link>http://huddledmasses.org/beautiful-now-for-some-css-magic/</link>
		<comments>http://huddledmasses.org/beautiful-now-for-some-css-magic/#comments</comments>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
				<category><![CDATA[Huddled]]></category>
		<category><![CDATA[Huddled Masses]]></category>
		<category><![CDATA[Textile]]></category>

		<guid isPermaLink="false">//?p=</guid>
		<description><![CDATA[I finally got all the kinks worked out of Beautifier and Textile (I think)...]]></description>
			<content:encoded><![CDATA[	<p>Well, I think [ <img src='http://huddledmasses.org/wordpress/wp-includes/' alt=';-)' class='wp-smiley' /> ] I finally got all the kinks worked out of the combination of Textile + Beautifier + WordPress&#8217;s character replacement&#8230; I had to fix a regular expression or two in WordPress (they were actually wrong, it wasn&#8217;t just me, tweaking), and re-order a few lines of Textile code, and then force Textile (at mouse-point) to leave the stuff inside &lt;&nbsp;code&gt; blocks alone. And then, force Textile to leave the stuff inside &lt;&nbsp;code&gt; blocks alone <em>again</em>.  <img src='http://huddledmasses.org/wordpress/wp-includes/' alt=';)' class='wp-smiley' /> </p>

	<p>The bad news is, I&#8217;m not sure I can keep track of the changes I made to b2functions.php so I can make them again after my next upgrade [ <img src='http://huddledmasses.org/wordpress/wp-includes/' alt=':-/' class='wp-smiley' /> ]</p>

	<p>So now the problems is, since I&#8217;ve got it working, I feel like I need to show it off by posting some code here, but the only code I can think of at the moment is the code for Textile &#8230; (I&#8217;m not allowed to post the code (yet?) to my solution for my <a href="http://www.cs.rit.edu/~cs4/Projects/GamePlaying/writeup.html">school project</a>).</p>

	<p>So, here&#8217;s the mungy line I had to add to the bottom of Textile&#8217;s untextile($text) method:</p>

	<div class="php code php" style="font-family:monospace;"><br />
<span style="color: #b1b100;">return</span> <span style="color: #009900;">&#40;</span> <a href="http://www.php.net/function_exists"><span style="color: #990000;">function_exists</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'mb_decode_numericentity'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp;? &nbsp;decode_high<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$text</span> <span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp;<span style="color: #339933;">:</span> &nbsp;<span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#40;</span> <a href="http://www.php.net/function_exists"><span style="color: #990000;">function_exists</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'html_entity_decode'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; ? &nbsp;<a href="http://www.php.net/html_entity_decode"><span style="color: #990000;">html_entity_decode</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$text</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #339933;">:</span> &nbsp;<a href="http://www.php.net/strtr"><span style="color: #990000;">strtr</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$text</span><span style="color: #339933;">,</span> <a href="http://www.php.net/array_flip"><span style="color: #990000;">array_flip</span></a><span style="color: #009900;">&#40;</span> <a href="http://www.php.net/get_html_translation_table"><span style="color: #990000;">get_html_translation_table</span></a><span style="color: #009900;">&#40;</span> HTML_ENTITIES <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp;</div>

	<p>It&#8217;s pretty horrid, but it should work on versions of <span class="caps">PHP</span> back to PHP3 with varying degrees of success.  That is, it works fine, even on old <span class="caps">PHP</span>, but it works a lot better if you have 4.3 or newer, and even better if you have multi-byte strings enabled. [ <img src='http://huddledmasses.org/wordpress/wp-includes/' alt=':-P' class='wp-smiley' /> ]</p>]]></content:encoded>
			<wfw:commentRss>http://huddledmasses.org/beautiful-now-for-some-css-magic/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Am I beautified?</title>
		<link>http://huddledmasses.org/am-i-beautified/</link>
		<comments>http://huddledmasses.org/am-i-beautified/#comments</comments>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
				<category><![CDATA[Textile]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">//?p=</guid>
		<description><![CDATA[I'm working on adding beautifier.org's tool to WordPress.  This is a test post.]]></description>
			<content:encoded><![CDATA[	<p>Well, in my continuing quest to have everything done for me by others, I have decided that I must have <a href="http://www.beautifier.org/">beautiful code</a> and that it should happen even with textile turned on, the way it does on Moveable Type.  I&#8217;m not sure whether I&#8217;ve accomplished that yet, but the only way to really find out is to post some code here [ <img src='http://huddledmasses.org/wordpress/wp-includes/' alt=':-)' class='wp-smiley' /> ]</p>

	<p><strong>Edit</strong>  Actually, the worst part of this whole thing has been figuring out when WordPress adds all those horrid &lt;br&gt; tags to my post!  That&#8217;s just wrong! (especially inside my < code > blocks).<br />
<span id="more-8"></span></p>

	<p><strong>Edit</strong> Ok, well, the <a href="http://www.textism.com/tools/textile/">php version of textile that I have</a> isn&#8217;t nearly as clever as the <a href="http://bradchoate.com/tools/textile/">perl version Brad Choate whipped up</a> &#8230; so I&#8217;m not sure what I should do.  I mean, I liked some of the features from Brad&#8217;s, but I thought that he and <a href="http://www.textism.com">Dean</a> were working together on it, so I really thought more of the features would work across the board.  At any rate, I got beautifier working, but I have to teach textile (and WordPress&#8217;s own formatting function) not to mess with stuff inside &lt; pre &gt; or &lt; code &gt; tags.</p>

	<p><strong>Edit</strong>  Sorted!  I figured it out.  By upgrading to <a href="http://www.textism.com/tools/textile/beta2.html">Textile 2 beta</a> you can get rid of most of these problems [ <img src='http://huddledmasses.org/wordpress/wp-includes/' alt=':-D' class='wp-smiley' /> ].  I should explain that there&#8217;s a trick to that:  If you choose to upgrade to Textile 2 in WordPress, you&#8217;ll need to rename the single-letter global variables in Textile.php, because the WordPress guys have the <em>same bad habit</em> of using variables who&#8217;s names mean nothing.  I recommend something more descriptive, but you can just <a href="http://www.huddledmasses.org/wp-include/source.php?file=textile.php">copy mine</a> As a side note, if we were using PHP5, this wouldn&#8217;t be a problem, we&#8217;d just throw that stuff in a namespace to keep it unique.  [ <img src='http://huddledmasses.org/wordpress/wp-includes/' alt=':)' class='wp-smiley' /> ]</p>

	<p>The last thing you have to do is dump all the WordPress formatting stuff by editing the bottom of your b2vars.php file to look like this:<br />
<div class="php code php" style="font-family:monospace;"><br />
&nbsp; &nbsp;<span style="color: #666666; font-style: italic;">// so we can use Textile 2 without duplicating effort, </span><br />
&nbsp; &nbsp;<span style="color: #666666; font-style: italic;">// Comment out all three lines </span><br />
&nbsp; &nbsp;<span style="color: #666666; font-style: italic;">// add_filter('all', 'wptexturize');</span><br />
&nbsp; &nbsp;<span style="color: #666666; font-style: italic;">// add_filter('the_content', 'wpautop');</span><br />
&nbsp; &nbsp;<span style="color: #666666; font-style: italic;">// add_filter('comment_text', 'wpautop');</span><br />
&nbsp; &nbsp;<span style="color: #666666; font-style: italic;">//</span><br />
&nbsp; &nbsp;<span style="color: #666666; font-style: italic;">// The following is for Beautifier support</span><br />
&nbsp; &nbsp;<span style="color: #666666; font-style: italic;">// It has to come before Textile!!</span><br />
&nbsp; &nbsp;<span style="color: #b1b100;">include_once</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'beautifier.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'the_content'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'beautifier'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #666666; font-style: italic;">// </span><br />
&nbsp; &nbsp;<span style="color: #666666; font-style: italic;">// The following is for Textile support</span><br />
&nbsp; &nbsp;<span style="color: #b1b100;">include_once</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'textile.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'the_content'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'textile'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'comment_text'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'textile'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// yeah, I want this on my comments too.</span><br />
&nbsp;</div>

	<p>Yeah, so there!  Of course, you&#8217;re going to want my <a href="http://www.huddledmasses.org/wp-include/source.php?file=beautifier.php">beautifier.php script</a> which you can put in your wp-includes folder, and then dump all the files you <a href="http://www.beautifier.org/downloads.php">get from beautifier.org</a> into a directory called &#8220;beautifier&#8221; (or whatever you like, just make sure you edit beautifier.php to tell it where to go).
</p>]]></content:encoded>
			<wfw:commentRss>http://huddledmasses.org/am-i-beautified/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

