<?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>A Fool's Wisdom &#187; Mark Jaquith</title>
	<atom:link href="http://foolswisdom.com/tag/mark-jaquith/feed/" rel="self" type="application/rss+xml" />
	<link>http://foolswisdom.com</link>
	<description>A fool and his blog are soon parted.</description>
	<lastBuildDate>Mon, 12 Dec 2011 22:39:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Great Artists Still Steal</title>
		<link>http://foolswisdom.com/great-artists-still-steal/</link>
		<comments>http://foolswisdom.com/great-artists-still-steal/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 04:48:42 +0000</pubDate>
		<dc:creator>Lloyd</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Consuming]]></category>
		<category><![CDATA[Free Culture]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Apple.com]]></category>
		<category><![CDATA[Chilling Effects]]></category>
		<category><![CDATA[Fairness]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Android]]></category>
		<category><![CDATA[HTC]]></category>
		<category><![CDATA[Innovating]]></category>
		<category><![CDATA[innovation]]></category>
		<category><![CDATA[Inventing]]></category>
		<category><![CDATA[Invention]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[John Gruber]]></category>
		<category><![CDATA[Lawsuit]]></category>
		<category><![CDATA[Mark Jaquith]]></category>
		<category><![CDATA[Multi-touch]]></category>
		<category><![CDATA[patent]]></category>
		<category><![CDATA[Protesting]]></category>

		<guid isPermaLink="false">http://foolswisdom.com/?p=2387</guid>
		<description><![CDATA[Young great artists still steal. Old great artists litigate? I missed the news about the Apple-HTC Patent Lawsuit (Google Android) until tonight when I found out about it on Mark Jaquith&#8217;s blog. I&#8217;m happy that these cards of Apple are finally &#8230; <a href="http://foolswisdom.com/great-artists-still-steal/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Young great artists still steal.<br />
Old great artists <em>litigate</em>?</p>
<p>I missed the news about the <strong>Apple-HTC Patent Lawsuit</strong> (<strong>Google Android</strong>) until tonight when I found out <a href="http://txfx.net/2010/03/04/john-gruber-on-the-apple-htc-patent-lawsuit/">about it on Mark Jaquith&#8217;s blog</a>.</p>
<p>I&#8217;m happy that these cards of Apple are finally on the table. I think Apple&#8217;s Multi-touch related patents have been hanging over the heads of other hardware and software developers.</p>
<p>I don&#8217;t think I&#8217;ve ever found myself agreeing with John Gruber more:</p>
<blockquote><p>&#8220;No doubt some of you are nodding your heads and see this as justification for Apple’s suit. But life isn’t fair. Great ideas make the world better. Apple can rightly expect to benefit greatly from the ideas embodied by the iPhone, but they can’t expect to reap <em>all</em> of the benefits from those ideas.</p>
<p>That’s the nature of implementing insanely great ideas. The bar has been raised, and, yes, Apple did most of the lifting. That’s how it goes.&#8221;</p>
<p><cite>John Gruber, &#8220;<a href="http://daringfireball.net/2010/03/this_apple_htc_patent_thing">Daring Fireball: This Apple-HTC Patent Thing</a>&#8220;, Wednesday, March 3rd, 2010</cite></p></blockquote>
<p>Right now people are in their venting phase. What comes next?</p>
<p>Is there an effective <strong>protest</strong> against the Apple-HTC patent lawsuit? Particularly something that Apple customers should do?</p>
<p>I can&#8217;t see enough people caring, particularly on the eve of the iPad.</p>
<p>May 5th quotes from the comments:</p>
<p><a href="http://ian.mckellar.org/">Ian</a> wrote &#8220;I think Apple customers should use one finger at a time in protest.&#8221;</p>
<p><a href="http://txfx.net/">Mark</a> wrote &#8220;Apple has to operate in the system as it exists.&#8221;</p>
<p><a href="http://terrychay.com/">Terry</a> &#8212; how can I just choose one of his tasty insights &#8212; wrote &#8220;I do think that holders of software patents should be forced to do some sort of licensing because of the chilling effect they’re having on innovation.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://foolswisdom.com/great-artists-still-steal/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>wp-content in Code is a Tell for Common WordPress Coding Mistakes</title>
		<link>http://foolswisdom.com/wp-content-in-code-common-mistakes/</link>
		<comments>http://foolswisdom.com/wp-content-in-code-common-mistakes/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 18:59:39 +0000</pubDate>
		<dc:creator>Lloyd</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Absolution Paths]]></category>
		<category><![CDATA[ABSPATH]]></category>
		<category><![CDATA[bloginfo()]]></category>
		<category><![CDATA[Duane Storey]]></category>
		<category><![CDATA[get_stylesheet_directory()]]></category>
		<category><![CDATA[get_stylesheet_directory_uri()]]></category>
		<category><![CDATA[get_stylesheet_uri()]]></category>
		<category><![CDATA[Mark Jaquith]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Plugin Development]]></category>
		<category><![CDATA[Relative Paths]]></category>
		<category><![CDATA[STYLESHEETPATH]]></category>
		<category><![CDATA[TEMPLATEPATH]]></category>
		<category><![CDATA[URLs]]></category>
		<category><![CDATA[Will Norris]]></category>
		<category><![CDATA[WordPress Plugin Checker]]></category>
		<category><![CDATA[WordPress Theme Development]]></category>
		<category><![CDATA[WordPress.com]]></category>
		<category><![CDATA[wp-content]]></category>
		<category><![CDATA[WP_CONTENT_DIR]]></category>

		<guid isPermaLink="false">http://foolswisdom.com/?p=1813</guid>
		<description><![CDATA[Regularly while reviewing themes and plugins, I&#8217;ll see URLs or paths that include &#8216;wp-content&#8217;. This is a often a hint of a WordPress coding mistake. Consider this simple example: &#60;link rel="stylesheet" href="http://example.com/wp-content/themes/default/style-ie.css" type="text/css" media="screen" /&#62; If as part of a &#8230; <a href="http://foolswisdom.com/wp-content-in-code-common-mistakes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Regularly while reviewing themes and plugins, I&#8217;ll see URLs or paths that include &#8216;wp-content&#8217;. This is a often a hint of a WordPress coding mistake.</p>
<p>Consider this simple example:<br />
<code>&lt;link rel="stylesheet" href="http://example.com/wp-content/themes/default/style-ie.css" type="text/css" media="screen" /&gt;</code></p>
<p>If as part of a migration or server change, WordPress ends up in a sub-directory this will break.</p>
<p>For file system based access, if I see <code>ABSPATH . '/wp-content/</code> &#8230; things are likely OK, though if <code><a href="http://codex.wordpress.org/Editing_wp-config.php#Moving_wp-content">WP_CONTENT_DIR</a></code> or similar are changed, this will also break.</p>
<p>I&#8217;m tempted to use the constant <code>STYLESHEETPATH</code> or is it <code>TEMPLATEPATH</code>? But, those are static variables initialized early in the WordPress run.</p>
<p>I&#8217;ve been meaning to write this article for a while. Serendipitously, when I went to write a first draft of it, <a href="http://markjaquith.com/">Mark Jaquith</a>&#8216;s had just published &#8220;<a href="http://markjaquith.wordpress.com/2009/05/04/force-css-changes-to-go-live-immediately/">Force CSS changes to “go live” immediately</a>&#8220;.</p>
<p>In the comments, <a href="http://op111.net/">demetris</a> <a href="http://markjaquith.wordpress.com/2009/05/04/force-css-changes-to-go-live-immediately/#comment-92283">suggests</a> using STYLESHEETPATH, but <a href="http://willnorris.com/">Will Norris</a> quickly <a href="http://markjaquith.wordpress.com/2009/05/04/force-css-changes-to-go-live-immediately/#comment-92284">points out</a> &#8220;sure, but you still have the same problem of bypassing any plugins that may be using the ’stylesheet_directory’ hook to pull the stylesheet from some place else entirely.&#8221;</p>
<p>Mark&#8217;s solution beautiful illustrates how to get the the URL location of the theme&#8217;s files and also directly the URL for the main stylesheet style.css:</p>
<p><code>&lt;link rel="stylesheet" href="&lt;?php <strong>bloginfo('stylesheet_url')</strong>; echo '?' . filemtime( <strong>get_stylesheet_directory()</strong> . '/style.css'); ?&gt;" type="text/css" media="screen, projection" /&gt;</code></p>
<p>What Will describes is exactly what WordPress.com depends on. We have a similar, but much more complex solution to deal with the CSS in the content delivery network (CDN) going stale on updates, and also some web browser&#8217;s with their funky caches not keeping up. Our solution is both for WordPress&#8217;s front end and dashboard (also dealing with the various ways CSS can be called or @imported).</p>
<p>I do have one niggle about Mark&#8217;s solution, and it&#8217;s the same with most WordPress code out there, the use of <code>bloginfo()</code>. Strings within strings within strings within strings give me headache, so to ease readability and make it more verbose replace:</p>
<p><code>bloginfo('stylesheet_url');</code> with<code><br />
echo get_stylesheet_uri();</code></p>
<p><code>bloginfo('stylesheet_directory');</code> with<br />
<code>echo get_stylesheet_directory_uri();</code></p>
<p>If you look up in the <a href="http://codex.wordpress.org/">codex</a> <code>get_stylesheet_directory()</code> you&#8217;ll see that would be the file system path, which is confusing given the behavior of <code>bloginfo('stylesheet_directory');</code> returning the URL. This presents another reason why I favor the consistency of always using the specific getter function calls. Also, when I&#8217;m using <code>bloginfo()</code> calls, I have a tendency to get in a mind set where I think I&#8217;m directly retrieving the option in the database (accessing directly the info shown in <code>wp-admin/options.php</code>). By using the specific getter function, I remember that there are hooks (actions, filters) that might be triggered.</p>
<p>Some of the other areas, I see <code>wp-content</code> is in CSS style sheets themselves. <strong>Relative paths</strong> are almost always the correct solution.</p>
<p>Far more painful for me are the plugins that assume where plugins are, because this can take quite a bit of debugging to unwind the assumptions.</p>
<p>That is a topic for me to postulate on another day. Will has written the very relevant &#8220;<a href="http://willnorris.com/2009/06/wordpress-plugin-pet-peeve-2-direct-calls-to-plugin-files">WordPress Plugin Pet Peeve #2: Direct Calls to Plugin Files</a>&#8220;. <a href="http://www.duanestorey.com/">Duane Storey</a> has taken a crack at a &#8220;<a href="http://www.duanestorey.com/blog/2009/wordpress-plugin-checker/">WordPress Plugin Checker</a>&#8220;  for these and other common problems (which I&#8217;m certain he would enjoy feedback on).</p>
]]></content:encoded>
			<wfw:commentRss>http://foolswisdom.com/wp-content-in-code-common-mistakes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Movable Type 200% Open Source!</title>
		<link>http://foolswisdom.com/movable-type-200-open-source/</link>
		<comments>http://foolswisdom.com/movable-type-200-open-source/#comments</comments>
		<pubDate>Fri, 18 Jan 2008 19:26:06 +0000</pubDate>
		<dc:creator>Lloyd</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Anil Dash]]></category>
		<category><![CDATA[Byrne Reese]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[Mark Jaquith]]></category>
		<category><![CDATA[Movable Type]]></category>
		<category><![CDATA[movable type 4]]></category>
		<category><![CDATA[mtos]]></category>
		<category><![CDATA[Six Apart]]></category>
		<category><![CDATA[Tom Keating]]></category>
		<category><![CDATA[Zeremy Zawodny]]></category>

		<guid isPermaLink="false">http://foolswisdom.com/?p=646</guid>
		<description><![CDATA[Where 100% and fully are not quite the definitions I&#8217;m used to. Yes, Movable Type Open Source should be celebrated! It is awesome that it already includes everything that was released as Movable Type 4.0 and more. As I understand &#8230; <a href="http://foolswisdom.com/movable-type-200-open-source/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Where <a href="http://blog.tmcnet.com/blog/tom-keating/movabletype/movable-type-goes-100-open-source.asp">100%</a> and <a href="http://jeremy.zawodny.com/blog/archives/009808.html">fully</a> are not quite the definitions I&#8217;m used to.</p>
<p>Yes, <a href="http://www.movabletype.org/opensource/">Movable Type Open Source</a> should be celebrated! It is awesome that it already includes everything that was released as Movable Type 4.0 and more. As I understand it there should soon be a stable release. But I am confused by the conversations I read and concerned by the phrases used to describe this &#8220;version&#8221;.</p>
<p><span id="more-646"></span></p>
<p>People ask all the time what is the difference between WordPress.org and WordPress.com. Or they are confused for good reason why they can&#8217;t do something they heard about on one or other. But this is a confusion that is <a href="http://faq.wordpress.com/2006/05/07/wordpresscom-vs-wordpressorg/">easily cleared</a>:</p>
<ul>
<li><a href="http://wordpress.org/">WordPress.org</a> is open source blogging software that is freely available to download. The software must be downloaded and installed.</li>
<li><a href="http://wordpress.com/">WordPress.com</a> is a web site that hosts blogs free of charge.</li>
</ul>
<p>After explaining that, people nod their head in understanding, &#8220;OK, I get it now&#8221;.</p>
<p>I suspect there is little head nodding when it comes to Movable Type branding and open source, although you might think otherwise based on the phrases in these quotes (<b>emphasis</b> mine):</p>
<ul>
<li>Six Apart Vice President of Evangelism Anil Dash, &#8220;<a href="http://www.movabletype.org/2007/12/movable_type_open_source.html">As of today, and forever forward, <b>Movable Type is open source</b>.</a>&#8220;</li>
<li>Tom Keating, &#8220;<a href="http://blog.tmcnet.com/blog/tom-keating/movabletype/movable-type-goes-100-open-source.asp">Movable Type has gone <b>100% open source</b></a>&#8220;</li>
<li>Jeremy Zawodny, &#8220;<a href="http://jeremy.zawodny.com/blog/archives/009808.html">As a long-time user of Movable Type, I&#8217;m glad to see it going <b>fully Open Source</b> now.</a>&#8220;</li>
<li>Mark Jaquith, <a href="http://markjaquith.wordpress.com/2007/12/13/movable-type-now-available-in-gpl-version/">Movable Type is now <b>Free for any purpose</b>, under the same license used for WordPress</a>&#8220;</li>
</ul>
<p>Based on those quotes, I would think that Movable Type is as open source as <a href="http://diveintomark.org/archives/2007/12/13/mtos">[insert funny though vulgar comparison]</a>.</p>
<p>Unfortunately, that isn&#8217;t the case. There is a Movable Type that isn&#8217;t open source. The product Movable Type by itself is reserved for their commercial product , and it sounds like there will be lots of effort to redifferentiate the proprietary product.</p>
<p>Will proprietary Movable Type complete with Movable Type open source? Assuming MT is re-embraced by open source participants, on Six Aparts current path, I think it is inevitable.</p>
<p>No,  <a href="http://craphound.com/">Cory</a> I think the jury is still out on whether Six Apart is &#8220;<a href="http://www.boingboing.net/2007/12/12/movable-type-now-und.html">adopted a [open source] license: because they want to promote freedom&#8221;</a>, and that it is ok with me and should be with most everyone else. Movable Type Product Manager Byrne Reese suggests <a href="http://markjaquith.wordpress.com/2007/09/15/what-a-gpld-movable-type-means-for-wordpress/#comment-68491">they did it for distribution</a>. Freedom is a spectrum and different freedoms are important to different people, and Six Apart has always demonstrated being awesome in supporting many freedoms!</p>
<p>Saturday, Jan 26th Update: a surprisingly timely release of a <a href="http://www.sixapart.com/pipermail/mtos-dev/2008-January/000375.html">stable version of MTOS</a> after my post and this discussion, and updates to the web site, it seems that Byrne and the Six Apart team agree with me at least on some level. Though I don&#8217;t like my open source in flavors, I feel comfortable declairing Movable Type only 120% open source now.</p>
<p>Sat, Feb 9th Update: <a href="http://foolswisdom.com/movable-type-200-open-source/#comment-107628">see comment 29 below</a> with some quotes from Six Apart professionals expressing their confusion about Movable Type open source flavor.</p>
]]></content:encoded>
			<wfw:commentRss>http://foolswisdom.com/movable-type-200-open-source/feed/</wfw:commentRss>
		<slash:comments>37</slash:comments>
		</item>
	</channel>
</rss>

