<?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>gonad.org &#187; Code</title>
	<atom:link href="http://gonad.org/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://gonad.org</link>
	<description>Hello.  I am a collector of internets.</description>
	<lastBuildDate>Sat, 04 Feb 2012 15:41:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>I&#8217;ve made a slightly useful plugin for WordPress!</title>
		<link>http://gonad.org/2005/08/15/ive-made-a-slightly-useful-plugin-for-wordpress/</link>
		<comments>http://gonad.org/2005/08/15/ive-made-a-slightly-useful-plugin-for-wordpress/#comments</comments>
		<pubDate>Tue, 16 Aug 2005 02:50:08 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Site Updates]]></category>

		<guid isPermaLink="false">http://gonad.org/?p=32</guid>
		<description><![CDATA[I get really annoyed with a long line of text with no breaks (spaces, carriage returns etc) gets all up in my koolaid&#8230; er. When long lines don&#8217;t wrap it sucks. They&#8217;ll go all nutty and flop outside of your nicely dsigned CSS containers and such. If you don&#8217;t know what I mean, you arn&#8217;t &#8230; <a class="read-excerpt" href="http://gonad.org/2005/08/15/ive-made-a-slightly-useful-plugin-for-wordpress/">Continue reading <span class="meta-nav">&#187;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I get really annoyed with a long line of text with no breaks (spaces, carriage returns etc) gets all up in my koolaid&#8230; er.  When long lines don&#8217;t wrap it sucks.  They&#8217;ll go all nutty and flop outside of your nicely dsigned CSS containers and such.  If you don&#8217;t know what I mean, you arn&#8217;t <em>quite</em> anal-retentive enough yet.  I shall demonstrate.</p>
<p><a href="http://this.is.a.really.long.url.but.it.won't.be.mangled.by.this.plugin.becuse.it's.sorta.smart.especailly.since.i.didn't.write.the.guts.of.it">This_is_an_example_of_a_really_long_and_annoying_link_text_which_would_normally_not_wrap_correctly_and_mess_something_up_but_don&#8217;t_take_my_word_for_it_god_I_love_LeVar_Burton_Mmmm</a></p>
<p>Normally, such a long link would hopefully not find its way onto your site or blog or whatever, <em>but if it did&#8230;</em>  I don&#8217;t know what might happen.  <em>Human sacrifice, dogs and cats&#8230; living together&#8230; mass hysteria!</em></p>
<p>I&#8217;ve been using methods similar to this plugin for fixing this problem for a few years, but always using some clunky regular expressions I never quite got right.  This time, however, I found a neatly written <a href="http://www.php.net">PHP</a> function called <a href="http://www.greywyvern.com/code/php/htmlwrap.php">htmlwrap()</a> v1.3 by <a href="http://www.greywyvern.com/php.php">Brian Huisman</a>.</p>
<p>So.. yep.  I wrote a solid 5 or 6 lines of code and his function does the rest.  <img src='http://gonad.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I couldn&#8217;t find any plugins like this for WordPress (which makes me think I wasn&#8217;t searching hard enough), so enjoy.</p>
<p>Break Lines v1.0 &#8211; <a href="/?dl=breaklines.zip">Download</a></p>
<div class="divider"></div>
<p>10-12-05 &#8212; Ugh, this thing has some kind of bug I haven&#8217;t taken time to figure out yet.  It seems to cause certain posts to not be displayed.  Use at your own risk for the moment! <img src='http://gonad.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://gonad.org/2005/08/15/ive-made-a-slightly-useful-plugin-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

