<?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>Professor von Explaino's journal &#187; Code</title>
	<atom:link href="http://vonexplaino.com/journal/?feed=rss2&#038;cat=9" rel="self" type="application/rss+xml" />
	<link>http://vonexplaino.com/journal</link>
	<description>Steampunk and Web programming</description>
	<lastBuildDate>Sun, 21 Mar 2010 23:07:09 +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>Professor von Explaino: Moo cards</title>
		<link>http://vonexplaino.com/journal/?p=122</link>
		<comments>http://vonexplaino.com/journal/?p=122#comments</comments>
		<pubDate>Mon, 27 Jul 2009 00:11:26 +0000</pubDate>
		<dc:creator>Professor von Explaino</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Professor von Explaino]]></category>
		<category><![CDATA[Steampulp]]></category>

		<guid isPermaLink="false">http://vonexplaino.com/journal/?p=122</guid>
		<description><![CDATA[Professor von Explaino gets business cards!]]></description>
			<content:encoded><![CDATA[<p>I was lucky enough to notice <a href="http://www.moo.com">Moo</a> when they did their first cross-promotion with LiveJournal, where you could get 10 free mini-moo cards, delivered anywhere.  Yes, even down here to Australia.  I put up a few of the photos I really liked and the resultant cards came out very nifty; everyone I showed them to agreed (maybe more of the concept than the shots <img src='http://vonexplaino.com/journal/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ).  With the steampunk picnic coming up, I thought now would be the perfect time to get a few quick cards thrown together for the Professor; and it would mean giving some money to the guys at Moo who I think deserve it.  Problem was coming up with a business card.</p>
<p>One idea I had knocking around in my head for a while was the <a href="http://vonexplaino.com/code/maze/">Maze Generator</a> I built a while ago.  This thing takes any dimensions and spits out a one-path maze for you, using an algorithm put on the web by J Kirwin (link now defunct).  Playing with the dimensions, I finally got a maze that would fit on a moo card &#8211; but it was still just a maze.  How to make it belong to Professor von Explaino?  The solution came in my site redesign, which Retro rocket had just finished.  Incalculatable wrangling had gone into the design work for the interrobang-cog that was the Professor&#8217;s signature emblem &#8211; mucking around further with PHP and I found a way to embed the logo behind the maze with just enough alpha-ing that the maze came through and the logo was still visible.</p>
<p>Just in time for the picnic!</p>
<p><a href="http://vonexplaino.com/journal/wp-content/uploads/2009/07/Moocard.jpg" rel="lightbox[122]" title="Moocard"><img class="alignleft size-thumbnail wp-image-123" title="Moocard" src="http://vonexplaino.com/journal/wp-content/uploads/2009/07/Moocard-150x150.jpg" alt="Moocard" width="150" height="150" /></a></p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://vonexplaino.com/journal/?feed=rss2&amp;p=122</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working program driven enclosures in podcast feeds that iTunes will read.</title>
		<link>http://vonexplaino.com/journal/?p=9</link>
		<comments>http://vonexplaino.com/journal/?p=9#comments</comments>
		<pubDate>Sun, 10 Sep 2006 23:25:55 +0000</pubDate>
		<dc:creator>Professor von Explaino</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[iTunes]]></category>

		<guid isPermaLink="false">http://lapse.nerdvana.org.au/journal/?p=9</guid>
		<description><![CDATA[Problem iTunes’ podcasting application refuses enclosures that do not end in an extension that it can recognise as an understandable file format. Example: http://myhost/site/myfile.mp3 GOOD http://myhost/site/myfile.php?file=141 BAD So if you’re serving files from a database via an application, you’re out of luck no matter what headers you send. Solution Add a filename and additional question [...]]]></description>
			<content:encoded><![CDATA[<div class="entrybody">
<div class="snap_preview">
<p><strong>Problem</strong></p>
<p>iTunes’ podcasting application refuses enclosures that do not end in an extension that it can recognise as an understandable file format. Example:</p>
<ul>
<li>http://myhost/site/myfile.mp3  <strong>GOOD</strong></li>
<li>http://myhost/site/myfile.php?file=141 <strong>BAD</strong></li>
</ul>
<p>So if you’re serving files from a database via an application, you’re out of luck no matter what headers you send.</p>
<p><strong>Solution </strong></p>
<p>Add a filename and additional question mark to the end of the URI:</p>
<ul>
<li>http://myhost/site/myfile.php?file=141&amp;filename.mp3?</li>
</ul>
<p>This is made easier if your php file has the filename.mp3 as its GET parameter, as you just tack a ? on the end</p></div>
</div>
<div class="entrybody">(cross-posted from http://colinmorris.wordpress.com)</div>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://vonexplaino.com/journal/?feed=rss2&amp;p=9</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
