<?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>J. James Beaudoin — Web Developer, Coder, Writer, Galactic Savant, Impassioned Human and Survivor</title>
	<atom:link href="http://www.joebeaudoin.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joebeaudoin.net</link>
	<description>Questions are a burden to others; answers a prison for oneself. â€” The Prisoner</description>
	<lastBuildDate>Wed, 28 Jul 2010 05:27:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Getting P2 to Auto Update</title>
		<link>http://www.joebeaudoin.net/2010/07/getting-p2-to-auto-update/</link>
		<comments>http://www.joebeaudoin.net/2010/07/getting-p2-to-auto-update/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 05:25:29 +0000</pubDate>
		<dc:creator>joebeaudoin</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[g33k]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[auto update]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[P2]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.joebeaudoin.net/?p=381</guid>
		<description><![CDATA[On certain servers that do not run PHP 5.2 or higher, the Auto Update feature of the P2 WordPress theme—which was recently implemented by FrakMedia! Productions for internal communications between all its workers—does not work. A quick run-down: the P2 theme is for micro-blogging. It is basically micro-blogging meets Twitter meets web forums, on Red [...]]]></description>
			<content:encoded><![CDATA[<p>On certain servers that do not run PHP 5.2 or higher, the Auto Update feature of the <a href="http://p2theme.com/">P2 WordPress</a> theme—which was recently implemented by FrakMedia! Productions for internal communications between all its workers—does not work. A quick run-down: the P2 theme is for micro-blogging. It is basically micro-blogging meets Twitter meets web forums, on Red Bull.</p>
<p>Now, &#8220;auto update&#8221; means that whenever you post something it will show up automatically (using AJAX and JSON), so you do not have to refresh the browser page.</p>
<p>In internally testing this, FrakMedia!&#8217;s PR coordinator Jon recently pointed this out to me, and I set out to find the problem. And it has a solution, which is highlighted in <a href="http://wordpress.org/support/topic/338887/page/2?replies=37#post-1352861">this thread</a> on WordPress&#8217;s support site. It fixes the auto update problem when it comes to posting new threads, but it doesn&#8217;t deal with updating when <em>replies</em> to threads are posted.</p>
<p>So, you only need to fix one file. That file is <span style="background-color: #ffffff; color: #000; font-family: courier, courier new;">p2/inc/ajax.php</span> and need to be modified thusly:</p>
<p>1. At line 4, add:</p>
<p style="padding-left: 30px; font-family: courier, courier new;">require (ABSPATH . WPINC . &#8216;/class-json.php&#8217;);</p>
<pre class="brush: php; first-line: 2; highlight: [4];">
define('DOING_AJAX', true);
@header('Content-Type: text/html; charset=' . get_option('blog_charset'));
require (ABSPATH . WPINC . '/class-json.php');
</pre>
<p>2. Starting at line 207, we need to change how the JSON encode is called. Here&#8217;s the block that you&#8217;ll need to make the changes to:</p>
<pre class="brush: php; first-line: 207; highlight: [208];">
nocache_headers();
echo json_encode( array(
    'numberofnewposts' =&gt; $number_of_new_posts,
    'html' =&gt; $posts_html,
    'lastposttime' =&gt; gmdate('Y-m-d H:i:s')
) );
</pre>
<p>The following highlighted lines (lines 207 and 209) are the changes that need to be made.</p>
<p><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: 19px; white-space: normal; font-size: 13px;"> </span></p>
<pre class="brush: php; first-line: 207; highlight: [207,209];">
$json = new Services_JSON();
nocache_headers();
echo $json-&gt;encode( array(
    'numberofnewposts' =&gt; $number_of_new_posts,
    'html' =&gt; $posts_html,
    'lastposttime' =&gt; gmdate('Y-m-d H:i:s')
) );
</pre>
<p>This solves the issue with auto updating any newly started threads only, not any replies to said threads. That&#8217;s the next step.</p>
<p>3. At line 318, remove this line: <span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; line-height: 18px; font-size: 12px; white-space: pre;"> </span></p>
<pre class="brush: php; first-line: 318; highlight: [207,209];">
echo json_encode( $json_data );
</pre>
<p>And add this block of code:</p>
<pre class="brush: php; first-line: 318;">
$json = new Services_JSON();
nocache_headers();
echo $json-&gt;encode( $json_data );
</pre>
<p>Once you&#8217;ve saved the file and uploaded it to your server, or edited through your WordPress dashboard&#8217;s editor (Appearance -&gt; Editor), then this problem will be fixed. Simply refresh your browser, and start making things happen.</p>
<p><strong><em>Important Note:</em></strong><em> As with any other theme, whenever you install an update from the publisher for said theme </em><span style="text-decoration: underline;"><em>you will be overwriting any changes you made to the code</em></span><em>. So make sure that you modify the code <span style="text-decoration: underline;">again after the update</span> to reproduce the modifications noted in this article! Do keep in mind that should the files from said update be totally recoded, the above code may or may not work as intended. (The lines may not be there or may have moved to an entirely new file, for instance, and other fun stuff like that.)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.joebeaudoin.net/2010/07/getting-p2-to-auto-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How-To: Easily Create &#8220;Previous&#8221; and &#8220;Next&#8221; Links for the Organize Series Plugin</title>
		<link>http://www.joebeaudoin.net/2010/07/how-to-easily-create-previous-and-next-links-for-the-organize-series-plugin/</link>
		<comments>http://www.joebeaudoin.net/2010/07/how-to-easily-create-previous-and-next-links-for-the-organize-series-plugin/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 05:54:21 +0000</pubDate>
		<dc:creator>joebeaudoin</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[g33k]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[organize series plugin]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.joebeaudoin.net/?p=378</guid>
		<description><![CDATA[For the new website I&#8217;m developing (you can see a clearly unfinished, work-in-progress preview of it here), I am using the Organize Series plugins designed for WordPress. That plugin is designed to organize a bunch of blog posts into a series, like a series on hot women in the Marvel universe. For my purposes, I [...]]]></description>
			<content:encoded><![CDATA[<p>For the new website I&#8217;m developing (you can see a clearly unfinished, work-in-progress preview of it <a href="http://www.theproparchive.com">here</a>), I am using the <a href="http://www.unfoldingneurons.com/neurotic-plugins/organize-series-wordpress-plugin/">Organize Series</a> plugins designed for WordPress. That plugin is designed to organize a bunch of blog posts into a series, like a series on <a href="http://www.ugo.com/movies/the-women-of-marvel">hot women in the Marvel universe</a>. For my purposes, I needed to organize the lots under one specific auction, with navigation links in the sub-menu. (See <a href="http://www.theproparchive.com/data-disc-2/">this</a>.) I ran into a problem when needing to create separate links for articles within the series. Basically, I had no way to dynamically call the unique id number associated to the series, and found I&#8217;d have to hardcode it.</p>
<p>I went to Google and ran a search, discovering that <a href="http://wordpress.org/support/topic/378998">I was not alone in having this problem</a>. Further, there was no apparent solution offered.</p>
<p>So I decided that I would have to hack the code by creating two new functions: one to create a &#8220;previous&#8221; link and the other a &#8220;next&#8221; link. These new functions would tie into the function (<a href="http://unfoldingneurons.com/2008/series-options-page-series-navigation-template">called wp_series_nav</a>) that was already present to generate the links—although it did not possess the means to actually grab the dynamic series ID without a bunch of effort.</p>
<p>So I went to the source file (series-template-tags.php) and modified it to create these two functions:</p>
<ul>
<li>wp_series_nav_prev()</li>
<li>wp_series_nav_next()</li>
</ul>
<p>It&#8217;s a real quick hack, and you&#8217;ll need to add these functions <em><strong>before</strong></em> the wp_series_nav() function that&#8217;s located around line 609.</p>
<pre class="brush: php; first-line: 609;">
function wp_series_nav_prev($customtext = FALSE, $display = FALSE) {

	wp_series_nav($series_ID, $next = FALSE, $customtext, $display);

}

function wp_series_nav_next($customtext = FALSE, $display = FALSE) {

	wp_series_nav($series_ID, $next = TRUE, $customtext, $display);

}
</pre>
<p>&#8230; and that&#8217;s it! Now you&#8217;ll be able to add the new functions to your blog&#8217;s page template. Cool, eh?</p>
<p><strong><em>Important Note:</em></strong><em> As with any other plugin, whenever you install an update from the publisher for said plugin </em><span style="text-decoration: underline;"><em>you will be overwriting any changes you made to the code</em></span><em>. So make sure that you modify the code <span style="text-decoration: underline;">again after the update</span> to reproduce the modifications noted in this article! Do keep in mind that should the files from said update be totally recoded, the above code may or may not work as intended. (The lines may not be there or may have moved to an entirely new file, for instance.)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.joebeaudoin.net/2010/07/how-to-easily-create-previous-and-next-links-for-the-organize-series-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Hack for the &#8220;Login with Ajax&#8221; WordPress Plugin</title>
		<link>http://www.joebeaudoin.net/2010/07/quick-hack-for-the-login-with-ajax-wordpress-plugin/</link>
		<comments>http://www.joebeaudoin.net/2010/07/quick-hack-for-the-login-with-ajax-wordpress-plugin/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 17:41:47 +0000</pubDate>
		<dc:creator>joebeaudoin</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[g33k]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.joebeaudoin.net/?p=363</guid>
		<description><![CDATA[This is the result of having to deal with a client who had issues with the Login with Ajax plugin for WordPress. The client basically had this problem. In any event, I wanted to modify the plugin so that when an administrator or editor is logged in, they&#8217;ll be able to access their site&#8217;s WordPress [...]]]></description>
			<content:encoded><![CDATA[<p>This is the result of having to deal with a client who had issues with the <a href="http://netweblogic.com/wordpress/plugins/login-with-ajax/">Login with Ajax plugin for WordPress</a>.  The client basically had <a href="http://netweblogic.com/forums/topic/profile-link-not-working">this problem</a>.</p>
<p>In any event, I wanted to modify the plugin so that when an administrator or editor is logged in, they&#8217;ll be able to access their site&#8217;s WordPress Dashboard from the Login with Ajax widget.</p>
<p>Simple enough fix there that took all but three or so minutes to implement and test, once I figured out how the plugin worked.</p>
<p>In the widget_in.php file, you add:</p>
<pre style="padding-left: 30px;">global $user_level;</pre>
<p>As you see below:</p>
<pre class="brush: php; first-line: 17; highlight: [20];">
&lt;div id=&quot;LoginWithAjax&quot;&gt;
	&lt;?php
		global $current_user;
		global $user_level;
		global $wpmu_version;
		get_currentuserinfo();
	?&gt;
</pre>
<p>Now, that calls the variable we need to identify the user&#8217;s level (see: <a href="http://codex.wordpress.org/Function_Reference/get_currentuserinfo">WordPress Codex</a>). To put it to good use, and to print out that dashboard link, you need to make the following <span style="background-color: #ffff99;">highlighted</span> change to line 42.</p>
<pre style="padding-left: 30px;">if( !empty($wpmu_version)<span style="background-color: #ffff99;"> || $user_level &gt; 8</span> ) {</pre>
<p>So the new code block should look like this:</p>
<pre class="brush: php; first-line: 41; highlight: [42];">
		//Blog Admin
		if( !empty($wpmu_version) || $user_level &gt; 8 ) {
		?&gt;
		&lt;a href=&quot;&lt;?php bloginfo('wpurl') ?&gt;/wp-admin/&quot;&gt;&lt;?php _e(&quot;blog admin&quot;, 'loginwithajax'); ?&gt;&lt;/a&gt;
		&lt;?php
		}
</pre>
<p>And that should do it! Now you&#8217;ll have a link leading back to your dashboard, so you can blog at will!</p>
<p><strong><em>Important Note:</em></strong><em> As with any other plugin, whenever you install an update from the publisher for said plugin </em><span style="text-decoration: underline;"><em>you will be overwriting any changes you made to the code</em></span><em>. So make sure that you modify the code <span style="text-decoration: underline;">again after the update</span> to reproduce the modifications noted in this article! Do keep in mind that should the files from said update are totally recoded, the above code may or may not work as intended. (The lines may not be there or may have moved to an entirely new file, for instance.)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.joebeaudoin.net/2010/07/quick-hack-for-the-login-with-ajax-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How-To: Hack LightboxThumbs Extension for MediaWiki</title>
		<link>http://www.joebeaudoin.net/2010/05/how-to-hack-lightboxthumbs-extension-for-mediawiki/</link>
		<comments>http://www.joebeaudoin.net/2010/05/how-to-hack-lightboxthumbs-extension-for-mediawiki/#comments</comments>
		<pubDate>Fri, 14 May 2010 01:43:05 +0000</pubDate>
		<dc:creator>joebeaudoin</dc:creator>
				<category><![CDATA[Battlestar Galactica]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[g33k]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[Lightbox]]></category>
		<category><![CDATA[MediaWiki]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.joebeaudoin.net/?p=343</guid>
		<description><![CDATA[As with most everything that is released for MediaWiki or WordPress, I invariably have to modify it to suit the needs of the projects I work on. I find that nothing works quite right &#8220;out of the box.&#8221; In the interests of people who run into this same issues, I&#8217;ve decided on a new track for [...]]]></description>
			<content:encoded><![CDATA[<p>As with most everything that is released for MediaWiki or WordPress, I invariably have to modify it to suit the needs of the projects I work on. I find that nothing works quite right &#8220;out of the box.&#8221; In the interests of people who run into this same issues, I&#8217;ve decided on a new track for my website (in addition to just being a general place to vent, sorry!) where I tell you how I frakking fix things. Hopefully, this will help some hapless bloke who faces similar problems with extensions and programs that I run into as well—and who knows, I may just need <em>your</em> help someday. Scared yet?<span id="more-343"></span></p>
<p>The extension I had to hack is called <a href="http://www.mediawiki.org/wiki/Extension:LightboxThumbs" target="_blank">LightboxThumbs</a>, and it adds the &#8220;lightbox&#8221; effect to images that are thumbnailed or added to a gallery on a MediaWiki-run website. In this case, this was for <a href="http://en.battlestarwiki.org">Battlestar Wiki</a>. Typically, whenever you clicked on an image on a Wiki, it would simply lead you to another page called an &#8220;image description page,&#8221; which contains information about the image in question, in addition to the image itself. For most end-users, that sucks as they want to see a larger version of the image. Ergo, this extension satisfies that need.</p>
<p>In any event, there are two issues I ran into when running this program.</p>
<ol>
<li>Any links defined in the caption text of any image in a gallery would not parse correctly.</li>
<li>Images that have dimensions that are larger than your screen resolution (say, 1200 x 800) would not resize.</li>
</ol>
<p>So I had to whip up a few dirty hacks to address these issues. Let&#8217;s start with issue number 1—and the following assumptions:</p>
<ol>
<li>That you&#8217;ve already installed the extension <a href="http://www.mediawiki.org/wiki/Extension:LightboxThumbs" target="_blank">per the instructions on that page</a>.</li>
<li>That you&#8217;re running MediaWiki 1.15.</li>
</ol>
<h2>1. The Gallery Caption Text Issue (and the Want of Trying to Call it Something Better)</h2>
<p>If you have galleries on the articles in your wiki (like this article here on <a href="http://en.battlestarwiki.org/wiki/William_Adama" target="_blank">William Adama</a> at the Battlestar Wiki), then when you install the extension you may run into this problem.</p>
<div id="attachment_344" class="wp-caption aligncenter" style="width: 572px"><a href="http://www.joebeaudoin.net/wp-content/uploads/2010/05/Screen-shot-2010-05-13-at-8.31.48-PM.png"><img class="size-full wp-image-344" title="Screen shot 2010-05-13 at 8.31.48 PM" src="http://www.joebeaudoin.net/wp-content/uploads/2010/05/Screen-shot-2010-05-13-at-8.31.48-PM.png" alt="" width="562" height="318" /></a><p class="wp-caption-text">Well, that&#39;s not frakkin&#39; good!</p></div>
<p>Yeah, I think you see that problem. You&#8217;re not able to click on the images that have this problem—except, as you&#8217;ll see, the one on the middle is clickable—and logic does suggest that it has something to do with the links. (That&#8217;s indeed the case.)</p>
<p>So I decide to click on the center image image, and then use the &#8220;next&#8221; and &#8220;previous&#8221; arrows to navigate the gallery. Doing so, I see this in the first image of the gallery:</p>
<div id="attachment_345" class="wp-caption aligncenter" style="width: 545px"><a href="http://www.joebeaudoin.net/wp-content/uploads/2010/05/Screen-shot-2010-05-13-at-8.32.12-PM.png"><img class="size-full wp-image-345 " title="Screen shot 2010-05-13 at 8.32.12 PM" src="http://www.joebeaudoin.net/wp-content/uploads/2010/05/Screen-shot-2010-05-13-at-8.32.12-PM.png" alt="" width="535" height="447" /></a><p class="wp-caption-text">Oops, looks like our caption just abruptly ends... just as the linked text is supposed to begin!</p></div>
<p>&#8230; and, indeed, this is the case with other captions that have links!</p>
<p>So I decide to check out the source code that the browser reads. Here&#8217;s the snippet of the offending markup:</p>
<div id="attachment_346" class="wp-caption aligncenter" style="width: 624px"><a href="http://www.joebeaudoin.net/wp-content/uploads/2010/05/Screen-shot-2010-05-13-at-8.33.43-PM.png"><img class="size-large wp-image-346 " title="Screen shot 2010-05-13 at 8.33.43 PM" src="http://www.joebeaudoin.net/wp-content/uploads/2010/05/Screen-shot-2010-05-13-at-8.33.43-PM-1024x248.png" alt="" width="614" height="149" /></a><p class="wp-caption-text">The offending markup code... (Click the image to view the larger one.)</p></div>
<p>Now the way this Lightbox extension works is that it reads the &#8220;title&#8221; attribute of &lt;a&gt; tag. As you can see, the syntax is broken and it&#8217;s because of the use of the quotation mark (&#8220;) <strong><em>and</em></strong> the fact that it&#8217;s trying to insert the hyperlink code again. So we have an issue where the browser is trying to parse the tags, but fail to realize that it should stay within that &#8220;title&#8221; attribute. You see, browsers aren&#8217;t that smart, and so we have to nip this in the bud.</p>
<p>Come to find out that the code generating this syntax is located in <strong>LightboxThumbs.php</strong>, and the offending code is on line 67, as seen below:</p>
<pre class="brush: php; first-line: 60; highlight: [67];">
function efRewriteGalleryImage($matches)
{
## see comments in second $pattern in efBeforePageDisplay() for what the pieces of $matches are
global $wgOut, $lightboxThumbsDebug;
$titleObj = Title::newFromText(rawurldecode($matches[2]));
$image = wfFindFile($titleObj,false,false,true);
return $matches[1].' href=&quot;'.$image-&gt;getURL().'&quot; class=&quot;image&quot; rel=&quot;lightbox&amp;#91;gallery&amp;#93;&quot; title=&quot;'
.$matches[4]
.'&quot; '.$matches[3].$matches[4].&quot;&lt;/div&gt;&quot;
.($lightboxThumbsDebug?efDebugVar('$matches',$matches).efDebugVar('$titleObj',$titleObj).efDebugVar('$image',$image):'');
}</pre>
<p>After some research, it&#8217;s &#8220;matches[4]&#8221; that gives us the problem; the fourth array of the variable &#8220;matches&#8221; contains the caption of the image. The issue is that none of the HTML tags are stripped, nor are the offending quotation marks, so we need to fix that by adding the <a href="http://www.php.net/htmlspecialchars">htmlspecialchars</a> and <a href="http://www.php.net/strip_tags">strip_tags</a> functions (built into PHP, so we don&#8217;t need to define them) to that variable, as you see below.</p>
<pre class="brush: php; first-line: 60; highlight: [67];">
function efRewriteGalleryImage($matches)
{
## see comments in second $pattern in efBeforePageDisplay() for what the pieces of $matches are
global $wgOut, $lightboxThumbsDebug;
$titleObj = Title::newFromText(rawurldecode($matches[2]));
$image = wfFindFile($titleObj,false,false,true);
return $matches[1].' href=&quot;'.$image-&gt;getURL().'&quot; class=&quot;image&quot; rel=&quot;lightbox&amp;#91;gallery&amp;#93;&quot; title=&quot;'
.htmlspecialchars(strip_tags($matches[4]))
.'&quot; '.$matches[3].$matches[4].&quot;&lt;/div&gt;&quot;
.($lightboxThumbsDebug?efDebugVar('$matches',$matches).efDebugVar('$titleObj',$titleObj).efDebugVar('$image',$image):'');
}</pre>
<p>So that fixes that problem! It&#8217;s the easiest problem I came across, once I found the variable and fixed it accordingly.</p>
<h2>Images that Won&#8217;t Fit to Screen&#8230;</h2>
<p>This deals with resizing the dimensions of images that simply go beyond the size of your screen, forcing you to vertically and horizontally scroll to see the image. (And really, who wants that?)</p>
<p>This is the trickier one, and it took some doing. I&#8217;m vaguely satisfied with it, but it has its flaws. I know that, and now that I&#8217;ve told  you that it does, you&#8217;ll proceed at your own risk. (And I hope that someone will be able to provide solutions. Hint frakking hint.)</p>
<p>In the <strong>lightbox.js</strong> file under the <strong>lightbox/js</strong> folder, you&#8217;ll find the following starting at line 261:</p>
<pre class="brush: php; first-line: 261;">
        imgPreloader.onload = (function(){
            this.lightboxImage.src = this.imageArray[this.activeImage][0];
            this.resizeImageContainer(imgPreloader.width, imgPreloader.height);
        }).bind(this);
        imgPreloader.src = this.imageArray[this.activeImage][0];
</pre>
<p>This deals with resizing the image container, which is the div box that <strong>contains</strong> the image&#8230; not the image itself, which we&#8217;ll get to later. Basically, this fancy piece of code dynamically resizes the container depending on the size of the picture, and to do that it grabs the size of the image&#8230; Which we don&#8217;t want to do in the case of larger images, since it creates a box that is the same size as the large image; and after we resize the image itself, we want the box to fit snugly around that. Ok?</p>
<p>So we have to add these three lines of code.</p>
<pre class="brush: php; first-line: 261; highlight: [263,264,265];">
        imgPreloader.onload = (function(){
            this.lightboxImage.src = this.imageArray[this.activeImage][0];
		if (imgPreloader.width &gt; 1000) { var imgW = 1000; } else { var imgW = imgPreloader.width; } ;
		if (imgPreloader.height &gt; 600) { var imgH = 600; } else { var imgH = imgPreloader.height; } ;
	    this.resizeImageContainer(imgW, imgH);
        }).bind(this);
        imgPreloader.src = this.imageArray[this.activeImage][0];
</pre>
<p>As you can surmise, I operated on the concept that most people are sensible and use a screen resolution of 1200 x 800. Therefore, if the image is more than 1000 pixels in width, I define the container width attribute to a solid &#8220;1000.&#8221; The same goes for the height: if it&#8217;s over 600 pixels high, I force the container height to &#8220;600.&#8221; (Also, the browser screen real estate will be affected by the presence of toolbars and the all important &#8220;URL&#8221; bar, in addition to a status bar at the bottom, so the usable space available for the webpage itself is far less.) As you can see, if the image is smaller than those dimensions, I simply keep the height and width the same.</p>
<p>Now that we have that out of the way, we need to tackle the actual image itself. Fortunately, this is a simple CSS hack.</p>
<p>You&#8217;ll need to change the following lines in the <strong>lightbox.css</strong> file under <strong>lightbox/css</strong>:</p>
<pre class="brush: css; highlight: [2];">
#lightbox{ position: absolute; left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto; max-width: 1000px; max-height: 600px;}
#lightbox a img{ border: none; }
</pre>
<p>This forces any larger image to be resized at 1000px in width (should it be wider than 1000px), or 600px in width (should it be wider than that). Aspect ratios will be kept, so there should be no distortion of the image. It will not touch images that are smaller than those dimensions, which is why I used the <strong>max-width</strong> and <strong>max-height</strong> attributes.</p>
<pre class="brush: css; first-line: 19; highlight: [19];">
#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #471919; margin: 0 auto; line-height: 1.4em; overflow: auto; width: auto;}
</pre>
<p>The downsides to this method are:</p>
<ol>
<li>It doesn&#8217;t deal with images that have a large file size. It&#8217;s just going to resize the image dimensions so they fit. If this is an issue, and if you have no programming skills to speak of, then the best way would be to resize the offending images in Photoshop or a image manipulation program to reduce their file size.</li>
<li>On images that are disproportionally wider than taller, you&#8217;ll have whitespace between the image and the caption.</li>
</ol>
<p>That should do it! Any suggestions you can make to this code are more than welcome! Be seeing you!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joebeaudoin.net/2010/05/how-to-hack-lightboxthumbs-extension-for-mediawiki/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Brilliant Quote of the Day</title>
		<link>http://www.joebeaudoin.net/2010/02/a-brilliant-quote-of-the-day/</link>
		<comments>http://www.joebeaudoin.net/2010/02/a-brilliant-quote-of-the-day/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 17:10:45 +0000</pubDate>
		<dc:creator>joebeaudoin</dc:creator>
				<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Bill Watterson]]></category>
		<category><![CDATA[quotes]]></category>

		<guid isPermaLink="false">http://www.joebeaudoin.net/?p=341</guid>
		<description><![CDATA[This is repeated here more for my own future reference than anything else. On the other hand I&#8217;ll share it with the Internet anyway. Enjoy. &#8220;Creating a life that reflects your values and satisfies your soul is a rare achievement. In a culture that relentlessly promotes avarice and excess as the good life, a person [...]]]></description>
			<content:encoded><![CDATA[<p>This is repeated here more for my own future reference than anything else. On the other hand I&#8217;ll share it with the Internet anyway. Enjoy.</p>
<blockquote><p>&#8220;Creating a life that reflects your values and satisfies your soul is a rare achievement. In a culture that relentlessly promotes avarice and excess as the good life, a person happy doing his own work is usually considered an eccentric, if not a subversive. Ambition is only understood if it&#8217;s to rise to the top of some imaginary ladder of success. Someone who takes an undemanding job because it affords him the time to pursue other interests and activities is considered a flake. A person who abandons a career in order to stay home and raise children is considered not to be living up to his potential—as if a job title and salary are the sole measure of human worth. You&#8217;ll be told in a hundred ways, some subtle and some not, to keep climbing, and never be satisfied with where you are, who you are, and what you&#8217;re doing. There are a million ways to sell yourself out, and I guarantee you&#8217;ll hear about them.&#8221; — <a href="http://en.wikipedia.org/wiki/Bill_Watterson" target="_blank">Bill Watterson</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.joebeaudoin.net/2010/02/a-brilliant-quote-of-the-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Real Time&#8221; has returned&#8230; and it is mostly glorious.</title>
		<link>http://www.joebeaudoin.net/2010/02/real-time-has-returned-and-it-is-mostly-glorious/</link>
		<comments>http://www.joebeaudoin.net/2010/02/real-time-has-returned-and-it-is-mostly-glorious/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 02:29:13 +0000</pubDate>
		<dc:creator>joebeaudoin</dc:creator>
				<category><![CDATA[/tmp/rant]]></category>
		<category><![CDATA[Dubious Victories]]></category>
		<category><![CDATA[Election 2008]]></category>
		<category><![CDATA[Fuckosity]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Society]]></category>
		<category><![CDATA[Wiskey-Tango-Foxtrot?]]></category>
		<category><![CDATA[Jim Kirk]]></category>
		<category><![CDATA[Real Time with Bill Maher]]></category>
		<category><![CDATA[Repugnantcans]]></category>
		<category><![CDATA[Sarah Palin]]></category>
		<category><![CDATA[Seth MacFarlane]]></category>
		<category><![CDATA[Star Trek]]></category>
		<category><![CDATA[William Shatner]]></category>

		<guid isPermaLink="false">http://www.joebeaudoin.net/?p=337</guid>
		<description><![CDATA[I&#8217;m pleased that one of my reasons for my continued sanity—whatever remains of it in its disfigured form—has returned with new content. In this instance, I&#8217;m referring to Real Time with Bill Maher. Several wonderful things transpired during Friday&#8217;s episode that were notable. Amongst them is Seth MacFarlane&#8217;s near-perfect Shatner-esque delivery of a speech regarding [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m pleased that one of my reasons for my continued sanity—whatever remains of it in its disfigured form—has returned with new content. In this instance, I&#8217;m referring to <em>Real Time with Bill Maher</em>.</p>
<p>Several wonderful things transpired during Friday&#8217;s episode that were notable. Amongst them is Seth MacFarlane&#8217;s near-perfect Shatner-esque delivery of a speech regarding war, nearly ripped word-for-word from the original <em>Star Trek </em>episode, &#8220;A Taste of Armageddon.&#8221;</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" 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://www.youtube.com/v/qyUA-ogXZjA&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en_US&amp;feature=player_embedded&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/qyUA-ogXZjA&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en_US&amp;feature=player_embedded&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>(Thanks to TrekMovie.com for posting <a href="http://trekmovie.com/2010/02/21/watch-seth-macfarlanes-kirk-impression-from-real-time/" target="_blank">an article</a> with the YouTube embed!)</p>
<p>A second item was Seth MacFarlane&#8217;s response to Sarah Palin&#8217;s fake outrage where she pretends to be a defender for those affected by Down Syndrome. The YouTube embed is disabled, but I shall offer this link. <a href="http://www.youtube.com/watch?v=FkDH3R1PZ8U" target="_blank">Clicky, clicky.</a> (MacFarlane&#8217;s comments are segued by <em>Real Time</em>&#8216;s skit on what various celebrities have written on the palm of their hand, Palin-style.)</p>
<p>Now, I did see the <em>Family Guy</em> episode in question, and I found nothing in it that made fun of anyone with Down Syndrome—including Pailn&#8217;s son, Trig. Now, I&#8217;m not a heartless bastard, although at times I may come off as one, as I feel sorry for Trig. I feel sorry that Trig received the short straw and ended up not only with Down Syndrome, but with an idiot like Sarah Palin as a mother.</p>
<p>Trig&#8217;s just fucked—and it has nothing to do with MacFarlane or his cartoon.</p>
<p>If anything, this whole thing reminds me how fortunate I am to be surrounded by people who actually like me for who I am—in that regard, I am far better off than I was more than a year ago—and that I have my health.</p>
<p>Regardless, this fake outrage is just another attempt by the Alaskan Drama Queen to gain attention to herself and her laughable political ambitions. Sad, really. What&#8217;s even sad is that people still talk about Sarah Palin, as if she&#8217;s the new face of the Republican party.</p>
<p>So, to my fellow Americans who believe themselves Republicans, I state the following: When the late Republican president Abraham Lincoln spoke of being able to &#8220;fool some of the people all of the time, and all of the people some of the time,&#8221; Lincoln did not refer to parading around the imbecile who effectively euthanized McCain&#8217;s campaign. (Not that this is the first time that Republicans tried to kill a McCain presidential ticket&#8230; during their previous attempt, they trotted out a metal deficient who masqueraded as a Texan and Governor Bush assumed the White House.) However, being the RINOs that the present Republican Party now are, I&#8217;ll give them credit for borrowing from former Republicans. It would be embarrassing if they borrowed inspiration from Stalin and the SOP from Gulags.</p>
<p>Then there&#8217;s also this, which gave me a laugh, because it will never come to pass.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" 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://www.youtube.com/v/O1WGfBKcxok&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/O1WGfBKcxok&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Obama is a weak-willed, inexperienced pissant who, I believe, will be remembered as the Jimmy Carter of the new millennium. I want to feel sorry for Obama, since he did walk into a pile of shit not of his own making, but he&#8217;s simply either impotent or incompetent. He took the job knowing the risks, and ergo I can&#8217;t feel any empathy for him, for empathy isn&#8217;t going to fix a fucking thing. Decisive action is, even if it is unpopular.</p>
<p>A majority of Obama&#8217;s initiatives—like a public option for health care—are now pretty much dead (leading me to question if they ever really had life at all) and, sadly, the economy is only getting weaker&#8230; so Obama&#8217;s battles have already been lost before they were waged. This being the case, Obama should throw out any of his attempts to be bi-partisan and become a dick. Since Cheney is all but bragging about torturing human beings—lest we forget that, for better or for worse, these people <em>are</em> human—Obama should really piss off the Repugnantcans and string Cheney by his pubes for war crimes. Hey, they did call their actions integral parts of the &#8220;<em>war</em> on terror,&#8221; after all.  Ergo, it is a <em>war</em> crime!</p>
<p>What is the worst that can happen? Impeachment proceedings? And even impeachment, in and of itself, isn&#8217;t going to get Obama jettisoned from the presidency. So&#8230; he&#8217;s already lost everything, and he should just go down fighting, like any honorable bloke would do.</p>
<p>It&#8217;ll never happen of course, but one can always dream. Aside from hope, dreams are the only thing that a majority of Americans really have left at this point.</p>
<p>And on a slightly lighter ancillary subject, the only downfall from Friday&#8217;s <em>Real Time </em>program was this: the discussion of the Kevin Smith&#8217;s issue with Southwest Airlines by discussing the erroneous story as if it were fact. I&#8217;ve never liked Southwest Airlines anyway, as their customer service blows chunks&#8230; and Kevin Smith&#8217;s issue wasn&#8217;t with his weight, but with how he was treated and how Southwest continues to cover up their employees&#8217;s errors with <a href="http://silentbobspeaks.com/?p=394" target="_blank">piles of steamin&#8217; lies</a>.</p>
<p>So, if Bill wants to apologize for not going with all the facts, he&#8217;ll probably do it live next week.</p>
<p>At least, I dream that this is the case.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joebeaudoin.net/2010/02/real-time-has-returned-and-it-is-mostly-glorious/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Own Valentine&#8217;s Day Blog</title>
		<link>http://www.joebeaudoin.net/2010/02/my-own-valentines-day-blog/</link>
		<comments>http://www.joebeaudoin.net/2010/02/my-own-valentines-day-blog/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 03:39:26 +0000</pubDate>
		<dc:creator>joebeaudoin</dc:creator>
				<category><![CDATA[Battlestar Galactica]]></category>
		<category><![CDATA[Things That Are Awesome]]></category>
		<category><![CDATA[g33k]]></category>

		<guid isPermaLink="false">http://www.joebeaudoin.net/?p=330</guid>
		<description><![CDATA[Ah, yes, Valentine&#8217;s Day. That day. It&#8217;s a day that men dread due to the absurd amounts of social programming that tells us that the gifting of chocolates and jewelry apparently equate to the retention of romantic courtship. I&#8217;m not into that romantic pomp and circumstance social dance, and thankfully I don&#8217;t have to worry about [...]]]></description>
			<content:encoded><![CDATA[<p>Ah, yes, Valentine&#8217;s Day. <em>That</em> day. It&#8217;s a day that men dread due to the absurd amounts of social programming that tells us that the gifting of chocolates and jewelry apparently equate to the retention of romantic courtship. I&#8217;m not into that romantic pomp and circumstance social dance, and thankfully I don&#8217;t have to worry about it at the present.</p>
<p>Emancipation is a wonderful feeling, even if you&#8217;re the only one tossing and toiling in bed, all alone in the night.</p>
<p>Onto more important matters: sometime this month marks the fifth birthday of a site that helped change my life. It&#8217;s called Battlestar Wiki, and I spent the better part of an hour and a half sifting through my experiences running the site and, much to my surprise, writing what amounts to a love letter to the frakking fandom that has placed so much time, effort, and trust in a website. It is as raw as bloody steak, having come from a stream of consciousness, and can be found here:</p>
<p><a href="http://blog.battlestarwiki.org/2010/02/13/our-five-year-mission/" target="_blank">http://blog.battlestarwiki.org/2010/02/13/our-five-year-mission/</a></p>
<p>Thank you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joebeaudoin.net/2010/02/my-own-valentines-day-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Am I angry, or just furious? And should I truly care? (NSFW)</title>
		<link>http://www.joebeaudoin.net/2010/01/am-i-angry-or-just-furious-and-should-i-truly-care-nsfw/</link>
		<comments>http://www.joebeaudoin.net/2010/01/am-i-angry-or-just-furious-and-should-i-truly-care-nsfw/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 16:07:18 +0000</pubDate>
		<dc:creator>joebeaudoin</dc:creator>
				<category><![CDATA[/tmp/rant]]></category>
		<category><![CDATA[Fuckosity]]></category>
		<category><![CDATA[democrats]]></category>
		<category><![CDATA[Massachusetts]]></category>
		<category><![CDATA[Team America]]></category>
		<category><![CDATA[Ted Kennedy]]></category>
		<category><![CDATA[United States government]]></category>

		<guid isPermaLink="false">http://www.joebeaudoin.net/?p=324</guid>
		<description><![CDATA[I think Obama and the Democrats need to get an idea of how the world works&#8230; Seeing as they&#8217;re getting pwned by Republicans as of late and have no concept of actual reality, or so it seems.  On that note, I&#8217;m glad that Ted Kennedy was able to keep the seat warm for the past [...]]]></description>
			<content:encoded><![CDATA[<p>I think Obama and the Democrats need to get an idea of how the world works&#8230; Seeing as they&#8217;re getting pwned by Republicans as of late and have no concept of actual reality, or so it seems.  On that note, I&#8217;m glad that Ted Kennedy was able to keep the seat warm for the past 46 years for a Republican boy model to simply waltz in and take it. I&#8217;m sure Kennedy is rolling in his grave right now.</p>
<p>Democrats, keep up the good work, you worthless suits. It&#8217;s times like these where I really want there to be a viable third party in this country, because both parties are abominations of the political system that need to be put down like rabid dogs.</p>
<p>Anyway, Democrats and Obama need to <a href="http://www.youtube.com/watch?v=hdq577iClbU" target="_new">watch this</a>. Please. Get the fucking message and get moving. This country is in such deep shit right now that I really do see America following the footsteps of the Roman Empire.</p>
<p>What&#8217;s that saying? &#8220;Those that fail to learn from history are doomed to repeat it&#8221;?</p>
<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/hdq577iClbU&#038;hl=en_US&#038;fs=1&#038;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/hdq577iClbU&#038;hl=en_US&#038;fs=1&#038;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.joebeaudoin.net/2010/01/am-i-angry-or-just-furious-and-should-i-truly-care-nsfw/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Life Compass</title>
		<link>http://www.joebeaudoin.net/2010/01/life-compass/</link>
		<comments>http://www.joebeaudoin.net/2010/01/life-compass/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 03:12:28 +0000</pubDate>
		<dc:creator>joebeaudoin</dc:creator>
				<category><![CDATA[I'm a rock-it-man.]]></category>
		<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Society]]></category>
		<category><![CDATA[being thankful for what you have]]></category>
		<category><![CDATA[Desiderata]]></category>
		<category><![CDATA[friendship]]></category>
		<category><![CDATA[Max Ehrmann]]></category>
		<category><![CDATA[positivity]]></category>
		<category><![CDATA[well-being]]></category>

		<guid isPermaLink="false">http://www.joebeaudoin.net/?p=318</guid>
		<description><![CDATA[Sort of broke my consistency with the blogging thing. Not all right by me, but here&#8217;s a summary of what has passed: 1. Pasta Dinner Benefit I attended a spaghetti dinner last Friday for Noah McClain, a two year old boy who was diagnosed with Guillian Barre Syndrome and Cerebral Palsy. The dinner was held [...]]]></description>
			<content:encoded><![CDATA[<p>Sort of broke my consistency with the blogging thing. Not all right by me, but here&#8217;s a summary of what has passed:</p>
<p><strong>1. Pasta Dinner Benefit</strong></p>
<div id="attachment_319" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.joebeaudoin.net/wp-content/uploads/2010/01/pasta-dinner-ticket.jpg"><img class="size-medium wp-image-319" title="pasta dinner ticket" src="http://www.joebeaudoin.net/wp-content/uploads/2010/01/pasta-dinner-ticket-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Ticket to the benefit. </p></div>
<p style="text-align: center;">
<p>I attended a spaghetti dinner last Friday for Noah McClain, a two year old boy who was diagnosed with Guillian Barre Syndrome and Cerebral Palsy. The dinner was held by the American Legion post that my grandmother belongs to, and so I went to the dinner with my parents and grandmother. What makes Noah&#8217;s predicament even more harrowing is the fact that his father lost his job (and with it insurance benefits) just a few days after finding out about his son&#8217;s condition, and so the McClain family needs help paying for Noah&#8217;s medical expenses.</p>
<p>As a member of the Legion—for McClain&#8217;s father served in our military—the fine folks at the Legion organized this event. I&#8217;m not sure how much they managed to raise, but given the high turnout, I wouldn&#8217;t be surprised if they raised a good deal of money to help!</p>
<p>At the dinner, I was also pleased to interface with some members of the community. One of them was a one of my father&#8217;s present clients who praised me on the work I did on the virtual tour of their home, so that certainly made my night.</p>
<p><strong>2. Spending Time with Friends</strong></p>
<p>In the vein of spending time with friends, I&#8217;ve been participating in weekly trivia events at the local Hurricane&#8217;s Bar and Grill. That is until the owner there canceled it for affecting &#8220;season business.&#8221; Now, I&#8217;m not sure what kind of &#8220;seasonal business&#8221; two hours on a Monday night is affecting, because Monday is typically the lowest turn-out for sports bars. So&#8230; I&#8217;m not sure what we&#8217;re doing on Monday nights, other than hanging with my friends watching <em>Chuck</em>.</p>
<p>I also attended my friend Andrea&#8217;s birthday, from which I was called away from just as we were going to eat cake because my brother needed help prior to his trip up to Tallahassee. None-the-less, good times were had.</p>
<p><strong>3. Staying Positive</strong></p>
<p>I&#8217;ve been pretty positive and centered so far this month, which is great. I&#8217;m honestly getting to spend more time with myself again, which will be a good thing as once I start up school again in the next few months, I doubt I will.</p>
<p>Between that and a few reality checks, I believe that I&#8217;m on the right path.</p>
<p>Which reminds me&#8230; I have a poem attached to a wall in my room, right next to the door. Somehow, despite the fact that I walk past it on a daily basis, I haven&#8217;t gone back and read it until just recently. It&#8217;s just&#8230; been there.</p>
<p>I was given this poem by one of the adult aides at a community center where I volunteered my time at during my middle school years, and I had it laminated. It&#8217;s been with me for the past decade, and I want to share it with all of you, since I take it quite to whatever heart I have remaining.</p>
<p><a href="http://mwkworks.com/desiderata.html" target="_blank">Read it here.</a></p>
<p>Good night, and good luck.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joebeaudoin.net/2010/01/life-compass/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brian&#8217;s Novel</title>
		<link>http://www.joebeaudoin.net/2010/01/brians-novel/</link>
		<comments>http://www.joebeaudoin.net/2010/01/brians-novel/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 03:37:55 +0000</pubDate>
		<dc:creator>joebeaudoin</dc:creator>
				<category><![CDATA[Family Guy]]></category>
		<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Brian Griffin]]></category>
		<category><![CDATA[creation]]></category>
		<category><![CDATA[Stewie Griffin]]></category>
		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://www.joebeaudoin.net/?p=314</guid>
		<description><![CDATA[The following Family Guy clip resonates with me. This scares me when I think about it. Since this is Sunday and, like the Head Cheese upstairs, I should rest on the seventh day; I figure that this should be fun and less thought-provoking than my previous posts. Ergo, this clip in question. (For those of [...]]]></description>
			<content:encoded><![CDATA[<p>The following <em>Family Guy </em>clip resonates with me. This scares me when I think about it.</p>
<p>Since this is Sunday and, like the Head Cheese upstairs, I should rest on the seventh day; I figure that this should be fun and less thought-provoking than my previous posts. Ergo, this clip in question. <img src='http://www.joebeaudoin.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" 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://www.youtube.com/v/RxKFkWEhGPY&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/RxKFkWEhGPY&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>(For those of you readin&#8217; through Facebook, <a href="http://www.youtube.com/watch?v=RxKFkWEhGPY" target="_blank">click here</a> for the clip.)</p>
<p>And, no, I do not care who won at the Globes. I do not care for <em>24</em>. And I do not care for green eggs—but I do care for ham.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joebeaudoin.net/2010/01/brians-novel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
