<?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"
	>

<channel>
	<title>Firehed's Blog</title>
	<atom:link href="http://www.firehed.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.firehed.net</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Fri, 25 Jul 2008 18:13:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Up and running on a new host</title>
		<link>http://www.firehed.net/2008/07/25/up-and-running-on-a-new-host/</link>
		<comments>http://www.firehed.net/2008/07/25/up-and-running-on-a-new-host/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 18:13:10 +0000</pubDate>
		<dc:creator>Eric Stern</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.firehed.net/?p=204</guid>
		<description><![CDATA[Moved the site over from PowWeb to NearlyFreeSpeech.net.  I doubt you&#8217;ll notice any difference (the continued lack of posting probably won&#8217;t change much&#8230;); it may be a bit snappier as NFS doesn&#8217;t overload their databases too badly.  If any content went missing or links are broken&#8230; shoot an email to firehed {at} gmail &#60;dot&#62; com.  [...]]]></description>
			<content:encoded><![CDATA[<p>Moved the site over from PowWeb to NearlyFreeSpeech.net.  I doubt you&#8217;ll notice any difference (the continued lack of posting probably won&#8217;t change much&#8230;); it may be a bit snappier as NFS doesn&#8217;t overload their databases too badly.  If any content went missing or links are broken&#8230; shoot an email to firehed {at} gmail &lt;dot&gt; com.  The tags/categories might be a bit flaky since I also went from WP2.2x to 2.6 in the process, and post tagging was introduced in 2.5.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.firehed.net/2008/07/25/up-and-running-on-a-new-host/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Applying XSLT to XML in PHP using SimpleXML</title>
		<link>http://www.firehed.net/2008/04/09/applying-xslt-to-xml-in-php-using-simplexml/</link>
		<comments>http://www.firehed.net/2008/04/09/applying-xslt-to-xml-in-php-using-simplexml/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 19:31:16 +0000</pubDate>
		<dc:creator>Eric Stern</dc:creator>
		
		<category><![CDATA[Coding]]></category>

		<category><![CDATA[Free/Open Source]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Projects]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.firehed.net/2008/04/09/applying-xslt-to-xml-in-php-using-simplexml/</guid>
		<description><![CDATA[Since I&#8217;m now going crazy with the use of XML all over the place, I figured it&#8217;s better to work with XSLT rather than bizarre loops within PHP - because of both portability and manageability (I don&#8217;t expect to change platforms but having a relatively simple way to do so is a plus, and storing [...]]]></description>
			<content:encoded><![CDATA[<p>Since I&#8217;m now going crazy with the use of XML all over the place, I figured it&#8217;s better to work with XSLT rather than bizarre loops within PHP - because of both portability and manageability (I don&#8217;t expect to change platforms but having a relatively simple way to do so is a plus, and storing everything in an external file should also simplify things).</p>
<p>So another simple function here, as I&#8217;ve found XSLT to be rather convoluted in PHP5 and would quite like to simplify its use.  As usual, my tabbing will probably go straight to hell.</p>
<pre>function apply_xslt($simplexml, $path_to_xslt) {
    $xslt_file = new DOMDocument;
    $xslt_file-&gt;load($path_to_xslt);

    $xml = new DOMDocument;
    $xml-&gt;loadXML($simplexml-&gt;asXML());

    $transform = new XSLTProcessor();
    $transform-&gt;importStyleSheet($xslt_file);

    return $transform-&gt;transformToXML($xml);
}</pre>
<p>Now all you have to do is pass the function a SimpleXML object (see my<a href="http://www.firehed.net/2008/04/01/mysql-query-results-to-xml-in-php/" title="MySQL to XML in PHP"> post on XMLifying DB results</a>) and get on with your life.</p>
<pre>$db_results = new SQL_as_XML;</pre>
<pre>echo apply_xslt($db_results-&gt;get_list_of_content_by_author_permalink('eric-stern','1'), 'some_stylesheet.xslt');</pre>
<p>And just for reference on the SQL_as_XML class:</p>
<pre>class SQL_as_XML {

	function get_content_by_permalink($content_permalink, $page = 0) {
		$content_permalink = clean($content_permalink);//sanitize input

		if (!is_numeric($page)) {
			$page = 1; //$page also sanitized		}

		$query = "SELECT content.publish_date,
			content.last_edit_date,
			content.title,
			content.number_of_pages,
			content.permalink AS content_permalink,
			authors.display_name,
			authors.permalink AS author_permalink,
			content_pages.body
			FROM content
			JOIN authors ON content.author_id = authors.id
			JOIN content_pages ON content_pages.content_id = content.id
			WHERE content.permalink = '$content_permalink'
			AND content_pages.page_number = $page";

		return mysql_to_xml(mysql_query($query), 'response', 'content');
	}</pre>
<pre>//other functions structured similarly</pre>
<pre>}</pre>
<p>So there you go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.firehed.net/2008/04/09/applying-xslt-to-xml-in-php-using-simplexml/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MySQL Query Results to XML in PHP</title>
		<link>http://www.firehed.net/2008/04/01/mysql-query-results-to-xml-in-php/</link>
		<comments>http://www.firehed.net/2008/04/01/mysql-query-results-to-xml-in-php/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 17:05:19 +0000</pubDate>
		<dc:creator>Eric Stern</dc:creator>
		
		<category><![CDATA[Coding]]></category>

		<category><![CDATA[Free/Open Source]]></category>

		<category><![CDATA[Guides]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Projects]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.firehed.net/2008/04/01/mysql-query-results-to-xml-in-php/</guid>
		<description><![CDATA[&#8220;XML is like violence - if it&#8217;s not working, you&#8217;re not using enough&#8221; - stupid internet meme
But it&#8217;s sort of true.  PHP5&#8217;s SimpleXML extension makes it a whole lot easier to deal with, both for creating the stuff and for freaks like me that don&#8217;t want to dabble with XSLT.  In any case, I wanted [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;XML is like violence - if it&#8217;s not working, you&#8217;re not using enough&#8221; - stupid internet meme</p>
<p>But it&#8217;s sort of true.  PHP5&#8217;s SimpleXML extension makes it a whole lot easier to deal with, both for creating the stuff and for freaks like me that don&#8217;t want to dabble with XSLT.  In any case, I wanted a simple way to throw XML around, both so I can create an API fairly easily in the future and not have to screw around with DB query result objects.  I didn&#8217;t find any great approaches pre-built, so I went ahead and made my own.  So here:</p>
<pre><strike><code>function mysql_to_xml($mysql_result, $root_node_name, $child_node_name) {
 	$xml = new SimpleXMLElement('&lt; ?xml version="1.0" encoding="UTF-8"?&gt;&lt; ' . $root_node_name . '&gt;');</code></strike></pre>
<pre><strike>	while ($row = mysql_fetch_assoc($mysql_result)) {
 		$newrow = $xml-&gt;addChild($child_node_name);
 		foreach ($row as $key =&gt; $value ) {
 			$newrow-&gt;addChild($key, $value);
 		}
 	}</strike></pre>
<pre><strike>	return $xml;
 }</strike></pre>
<p>Updated&#8230; Wordpress really made a mess of the first one, and I did an even worse job fixing it.</p>
<pre>function mysql_to_xml($mysql_result, $root_node_name = 'result', $child_node_name = 'row') {
	$xml = new SimpleXMLElement('&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;' . $root_node_name . '&gt;&lt;/' . $root_node_name . '&gt;');

	while ($row = mysql_fetch_assoc($mysql_result)) {
		$newrow = $xml-&gt;addChild($child_node_name);
		foreach ($row as $key =&gt; $value ) {
			$newrow-&gt;addChild($key, $value);
		}
	}
	return $xml;
}</pre>
<p>In my SQL functions, I&#8217;m able to return an XML object quite easily:</p>
<pre><code>return mysql_to_xml(mysql_query($query), 'response', 'content');</code></pre>
<p>And to get it in the first place:</p>
<pre><code>$sql = new SQL_as_XML;</code></pre>
<pre><code> $xml = $sql-&gt;get_content_by_permalink($permalink, $page);</code></pre>
<p>(the SQL_as_XML class is a series of functions that build and run a query, then return the XML using the previous snippet)</p>
<p>Finally, if you want to output the raw XML (after perhaps finagling it into an RSS feed):</p>
<pre><code>echo $xml-&gt;asXML();</code></pre>
<p>Questions?  Ask.  Improvements?  Tell.  And yes, I already know that I really should set default values for <code>$root_node_name</code> and <code>$child_node_name</code> in the original function.  I&#8217;ll get there.</p>
<p>And yes, you&#8217;ll have to excuse the blog making a mess of the formatting.  :(</p>
]]></content:encoded>
			<wfw:commentRss>http://www.firehed.net/2008/04/01/mysql-query-results-to-xml-in-php/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Squeezing in an update</title>
		<link>http://www.firehed.net/2008/03/31/squeezing-in-an-update/</link>
		<comments>http://www.firehed.net/2008/03/31/squeezing-in-an-update/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 00:28:43 +0000</pubDate>
		<dc:creator>Eric Stern</dc:creator>
		
		<category><![CDATA[The 'Blog]]></category>

		<guid isPermaLink="false">http://www.firehed.net/2008/03/31/squeezing-in-an-update/</guid>
		<description><![CDATA[Yes, it&#8217;s been forever.  It&#8217;s inexcusable.  Well, not entirely - I figure it&#8217;s best not to waste everyone&#8217;s mental bandwidth with filler material, and I really haven&#8217;t had a whole lot to say, nor time to say it.  Work is just the day thing, and I avoid letting it spill into my time beyond that.  [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, it&#8217;s been forever.  It&#8217;s inexcusable.  Well, not entirely - I figure it&#8217;s best not to waste everyone&#8217;s mental bandwidth with filler material, and I really haven&#8217;t had a whole lot to say, nor time to say it.  Work is just the day thing, and I avoid letting it spill into my time beyond that.  The freelance gigs, on the other hand, tend to suck up a lot of spare time.  I&#8217;m killing myself with scope creep (which is my own fault, not the client&#8217;s); more importantly, I&#8217;m very quickly coming up to speed on object-oriented programming in PHP (something I should have done a long time ago) and that makes my existing code very unhappy.</p>
<p>So, that&#8217;s that.  I&#8217;ll post up little tips, tricks, and code snippets from time to time, so that you can benefit from my code-fu.  Or whatever it may be - I do more than write code.  Photography mostly, but also reading up on more freelance ideas.  <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2F4-Hour-Workweek-Escape-Live-Anywhere%2Fdp%2F0307353133%3Fie%3DUTF8%26s%3Dbooks%26qid%3D1207067849%26sr%3D8-1&amp;tag=firsblo0a-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=9325">The 4-hour Workweek</a><img src="http://www.assoc-amazon.com/e/ir?t=firsblo0a-20&amp;l=ur2&amp;o=1" style="border: medium none  ! important; margin: 0px ! important" border="0" height="1" width="1" /> has had my attention as of late (though in <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2F4-Hour-work-Week-Escape-Anywhere%2Fdp%2F0786158964%3Fie%3DUTF8%26s%3Dbooks%26qid%3D1207068324%26sr%3D1-1&amp;tag=firsblo0a-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=9325">audiobook form</a><img src="http://www.assoc-amazon.com/e/ir?t=firsblo0a-20&amp;l=ur2&amp;o=1" style="border: medium none  ! important; margin: 0px ! important" border="0" height="1" width="1" /> if you&#8217;re like me), and at least has some good concepts if nothing else.</p>
<p>Basically, from here on out, expect much more sporadic updates, and hopefully ones that are more meaningful.  I&#8217;ve got another thing I&#8217;m working on where a lot of the code I&#8217;ll open-source (if not the entire thing), so find some snippets.  I&#8217;ve been hesitantly taking the &#8220;XML is like violence - if it&#8217;s not working, then you&#8217;re not using enough&#8221; approach; thankfully, it&#8217;s actually working quite well so far.  Then photography tips, ideas, and shots.  All that good stuff.  I&#8217;ll figure it out when I get there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.firehed.net/2008/03/31/squeezing-in-an-update/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Why on earth does MSWord take over edit for .html files?</title>
		<link>http://www.firehed.net/2008/02/13/why-on-earth-does-msword-take-over-edit-for-html-files/</link>
		<comments>http://www.firehed.net/2008/02/13/why-on-earth-does-msword-take-over-edit-for-html-files/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 14:06:34 +0000</pubDate>
		<dc:creator>Eric Stern</dc:creator>
		
		<category><![CDATA[Coding]]></category>

		<category><![CDATA[Life]]></category>

		<category><![CDATA[Web]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.firehed.net/2008/02/13/why-on-earth-does-msword-take-over-edit-for-html-files/</guid>
		<description><![CDATA[Seriously!  I work at a web development company and somehow I still have Word as my default editor for HTML content. Go figure. You think that abomination that is Visual Studio 2005 would have tried to have that honor. What a way to start the day.
And, of course, this awful rainy sleet-ish weather. Ick.
]]></description>
			<content:encoded><![CDATA[<p>Seriously!  I work at a web development company and somehow I still have Word as my default editor for HTML content. Go figure. You think that abomination that is Visual Studio 2005 would have tried to have that honor. What a way to start the day.</p>
<p>And, of course, this awful rainy sleet-ish weather. Ick.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.firehed.net/2008/02/13/why-on-earth-does-msword-take-over-edit-for-html-files/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wow, that Macbook Air really is remarkably thin</title>
		<link>http://www.firehed.net/2008/02/09/wow-that-macbook-air-really-is-remarkably-thin/</link>
		<comments>http://www.firehed.net/2008/02/09/wow-that-macbook-air-really-is-remarkably-thin/#comments</comments>
		<pubDate>Sat, 09 Feb 2008 22:57:52 +0000</pubDate>
		<dc:creator>Eric Stern</dc:creator>
		
		<category><![CDATA[Apple]]></category>

		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://www.firehed.net/2008/02/09/wow-that-macbook-air-really-is-remarkably-thin/</guid>
		<description><![CDATA[Nothing more to say.  I&#8217;m at a best buy right now playing around with one.  Not the right thing for me (at that price anyways) but it&#8217;s a lot more impressive in person - big surprise.  A bit faster than I expected for a 4200RPM drive but I wasn&#8217;t exactly hitting it with my normal [...]]]></description>
			<content:encoded><![CDATA[<p>Nothing more to say.  I&#8217;m at a best buy right now playing around with one.  Not the right thing for me (at that price anyways) but it&#8217;s a lot more impressive in person - big surprise.  A bit faster than I expected for a 4200RPM drive but I wasn&#8217;t exactly hitting it with my normal slew of apps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.firehed.net/2008/02/09/wow-that-macbook-air-really-is-remarkably-thin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>So I lied about staying updated</title>
		<link>http://www.firehed.net/2008/01/21/so-i-lied-about-staying-updated/</link>
		<comments>http://www.firehed.net/2008/01/21/so-i-lied-about-staying-updated/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 04:44:01 +0000</pubDate>
		<dc:creator>Eric Stern</dc:creator>
		
		<category><![CDATA[Apple]]></category>

		<category><![CDATA[Business]]></category>

		<category><![CDATA[Coding]]></category>

		<category><![CDATA[Life]]></category>

		<category><![CDATA[Projects]]></category>

		<category><![CDATA[The 'Blog]]></category>

		<guid isPermaLink="false">http://www.firehed.net/2008/01/21/so-i-lied-about-staying-updated/</guid>
		<description><![CDATA[But not on purpose.  I&#8217;ve had several coding projects going on, as well as mentoring for the local FIRST robotics team.  A combination of spinning gadgets, CSS voodoo,  PayPal&#8217;s awfully-documented IPN system, and a bunch of PHP and MySQL that I&#8217;ve never really used before kinda threw me a curveball (and of [...]]]></description>
			<content:encoded><![CDATA[<p>But not on purpose.  I&#8217;ve had several coding projects going on, as well as mentoring for the local <a href="http://www.usfirst.org">FIRST</a> robotics team.  A combination of spinning gadgets, CSS voodoo,  PayPal&#8217;s awfully-documented IPN system, and a bunch of PHP and MySQL that I&#8217;ve never really used before kinda threw me a curveball (and of course sobbing for days after Apple&#8217;s complete failure to launch the new 12&#8243; Powerbook, which now has me browsing Craigslist).  SQL JOINs still don&#8217;t sit quite right with me, and believe it or not this is really my first time using cookies in my own code.  In any case, I&#8217;ve been keeping busy.  But I really do intend to review some gadgets and perhaps some software, ramble out something insightful, and maybe post up some code snippets.</p>
<p>So, more soon.  One project is nearly done, another is in-work only, and the space heater snagged from Woot is thawing me out from this damned winter (Al Gore continues spreading lies.  Lies, I tell you, lies!).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.firehed.net/2008/01/21/so-i-lied-about-staying-updated/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Amazon customer service - it never hurts to ask</title>
		<link>http://www.firehed.net/2008/01/07/amazon-customer-service-it-never-hurts-to-ask/</link>
		<comments>http://www.firehed.net/2008/01/07/amazon-customer-service-it-never-hurts-to-ask/#comments</comments>
		<pubDate>Mon, 07 Jan 2008 22:24:15 +0000</pubDate>
		<dc:creator>Eric Stern</dc:creator>
		
		<category><![CDATA[Hardware]]></category>

		<category><![CDATA[Life]]></category>

		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.firehed.net/2008/01/07/amazon-customer-service-it-never-hurts-to-ask/</guid>
		<description><![CDATA[I decided it was time to pick up a &#34;Bamboo Fun&#34; small Wacom tablet, you know - to unleash my inner creative beast, or something like that.  The black one was out of stock at the time, but I didn&#8217;t care for the look of the white one (any white peripherals tend to get [...]]]></description>
			<content:encoded><![CDATA[<p>I decided it was time to pick up a <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2Fgp%2Fproduct%2FB000V9NU2A&#038;tag=firsblo0a-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=9325">&#34;Bamboo Fun&#34; small Wacom tablet</a><img src="http://www.assoc-amazon.com/e/ir?t=firsblo0a-20&amp;l=ur2&amp;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />, you know - to unleash my inner creative beast, or something like that.  The black one was out of stock at the time, but I didn&#8217;t care for the look of the white one (any white peripherals tend to get stained) so went ahead and backordered the thing anyways.  &#8220;We&#8217;ll notify you via e-mail when we have an estimated delivery date for this item.&#8221;</p>
<p>Later that day:<br />
<em>We now have delivery date(s) for the order you placed on December 28 2007 13:19 PST<br />
(Order# ***-*******-*******):</p>
<p>  &#8220;Bamboo Fun (Small) Black Tablet with Pen, Mouse &#038; Graphics<br />
       Software&#8221; [Electronics]<br />
   Estimated arrival date: 01/03/2008</em><br />
<span id="more-197"></span><br />
Four days later:<br />
<em>Unfortunately, we are unable to ship the item(s) as soon as we expected and need to provide you with a new estimate of when the item(s) may be delivered:</p>
<p>  &#8220;Bamboo Fun (Small) Black Tablet with Pen, Mouse &#038; Graphics<br />
       Software&#8221; [Electronics]<br />
   Estimated arrival date: 01/07/2008 - 01/08/2008</em></p>
<p>Four <em>more</em> days later:<br />
<em>Unfortunately, we are unable to ship the item(s) as soon as we expected and need to provide you with a new estimate of when the item(s) may be delivered:</p>
<p>  &#8220;Bamboo Fun (Small) Black Tablet with Pen, Mouse &#038; Graphics<br />
       Software&#8221; [Electronics]<br />
   Estimated arrival date: 01/09/2008 - 01/10/2008</em></p>
<p>At this point, I&#8217;m approaching the &#8220;<em>WTF?</em>&#8221; stage.  So I shoot them off a quick email to find out what&#8217;s going on.  Ordered on 12/28, updated with delays a couple times, in stock elsewhere, blah blah blah, what gives?</p>
<p>Four hours later: &#8220;We thought you&#8217;d like to know that we shipped your items, and that this<br />
completes your order.&#8221;</p>
<p>Never hurts to ask, I guess.  I&#8217;ll probably post a quick review when it shows up in a couple days, just because I can.  I&#8217;ll probably also post something for my new <a href="http://www.amazon.com/gp/product/B000LB41BM?ie=UTF8&#038;tag=firsblo0a-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B000LB41BM">SpaceNavigator 3D Mouse</a><img src="http://www.assoc-amazon.com/e/ir?t=firsblo0a-20&#038;l=as2&#038;o=1&#038;a=B000LB41BM" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> too - that thing is good fun, and actually useful to boot.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.firehed.net/2008/01/07/amazon-customer-service-it-never-hurts-to-ask/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Quick tip for cross-platform iTunes users</title>
		<link>http://www.firehed.net/2008/01/01/quick-tip-for-cross-platform-itunes-users/</link>
		<comments>http://www.firehed.net/2008/01/01/quick-tip-for-cross-platform-itunes-users/#comments</comments>
		<pubDate>Wed, 02 Jan 2008 02:14:22 +0000</pubDate>
		<dc:creator>Eric Stern</dc:creator>
		
		<category><![CDATA[Apple]]></category>

		<category><![CDATA[Networking]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.firehed.net/2008/01/01/quick-tip-for-cross-platform-itunes-users/</guid>
		<description><![CDATA[In my quest to achieve local harmony between the computers in my home network, I try to centralize everything using a fileserver (come Macworld 08, I&#8217;ll likely be changing things up - how depends on what shows up then; regardless, a post for another day).  Generally speaking, the idea of having a machine sitting [...]]]></description>
			<content:encoded><![CDATA[<p>In my quest to achieve local harmony between the computers in my home network, I try to centralize everything using a fileserver (come Macworld 08, I&#8217;ll likely be changing things up - how depends on what shows up then; regardless, a post for another day).  Generally speaking, the idea of having a machine sitting somewhere that I can connect to at will and grab whatever I need works fairly well.  It avoids tons of file duplication, is reasonably fast (wired computers see speeds near that of a local drive thanks to gigabit ethernet; 802.11n wireless is generally at least fast enough to stream 1080p h.264 video), and with a bit of router voodoo, I can grab any file I need from any computer with an internet connection.<br />
<span id="more-196"></span><br />
While my Macs and PCs can by and large coexist peacefully, music via iTunes can get a bit finicky at times.  The issue arises in the fact that everything is stored in a library file, and that this file is OS-specific thanks to the different file systems.  To make a long story short, you can share the actual audio files between multiple computers, but you can&#8217;t centralize the library file too easily.</p>
<p>Enter <a href="http://albumbrowser.klarita.net/iTunesFolderWatch.html">iTunes Folder Watch</a>.  It&#8217;s a bit of a workaround solution, but as the name suggests, it watches a folder for music files and adds them into iTunes as they&#8217;re discovered.  Run that on all of your Windows machines with iTunes pointing it at your central network drive (W:Music in my case), and it will automatically keep your libraries relatively synchronized.  Unfortunately it doesn&#8217;t address playlists or a lot of iTunes-specific metadata such as play count and rating stars, but it at least eliminates the numerous issues you can come across by relying on the sharing feature within iTunes - most notably that iTunes doesn&#8217;t have to be open on the main computer for this to work.</p>
<p>So a quick tip for you to get the new year started.  Expect a lot more on higher-end home networking as the year progresses, as it&#8217;s been a point of both pain and interest for me.  Designing a good server, choosing the right software, hardware recommendations, etc.  Subscribe to the <a href="http://feeds.feedburner.com/FirehedsBlog">RSS feed</a> to keep updated!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.firehed.net/2008/01/01/quick-tip-for-cross-platform-itunes-users/feed/</wfw:commentRss>
		</item>
		<item>
		<title>If the site seems a bit buggy&#8230;</title>
		<link>http://www.firehed.net/2007/12/31/if-the-site-seems-a-bit-buggy/</link>
		<comments>http://www.firehed.net/2007/12/31/if-the-site-seems-a-bit-buggy/#comments</comments>
		<pubDate>Mon, 31 Dec 2007 08:56:00 +0000</pubDate>
		<dc:creator>Eric Stern</dc:creator>
		
		<category><![CDATA[The 'Blog]]></category>

		<guid isPermaLink="false">http://www.firehed.net/2007/12/31/if-the-site-seems-a-bit-buggy/</guid>
		<description><![CDATA[Just performed some back-end surgery to the site.  If all went well you shouldn&#8217;t notice anything, but Wordpress keeps prompting me to update my database (and best of all, it completely failed to fix the main issue I made changes for!) so if something looks completely wrong, try refreshing the page or something.
Damn computers.
]]></description>
			<content:encoded><![CDATA[<p>Just performed some back-end surgery to the site.  If all went well you shouldn&#8217;t notice anything, but Wordpress keeps prompting me to update my database (and best of all, it completely failed to fix the main issue I made changes for!) so if something looks completely wrong, try refreshing the page or something.</p>
<p>Damn computers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.firehed.net/2007/12/31/if-the-site-seems-a-bit-buggy/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
