<?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>Nerdaphernalia</title>
	<atom:link href="http://striderweb.com/nerdaphernalia/feed/" rel="self" type="application/rss+xml" />
	<link>http://striderweb.com/nerdaphernalia</link>
	<description>"It's All Geek To Me"</description>
	<lastBuildDate>Sun, 24 Jan 2010 23:11:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Add New Headers to WordPress Plugins or Themes</title>
		<link>http://striderweb.com/nerdaphernalia/2009/11/add-new-headers-to-wordpress-plugins-or-themes/</link>
		<comments>http://striderweb.com/nerdaphernalia/2009/11/add-new-headers-to-wordpress-plugins-or-themes/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 22:25:11 +0000</pubDate>
		<dc:creator>Stephen R</dc:creator>
				<category><![CDATA[Codecraft]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://striderweb.com/nerdaphernalia/?p=266</guid>
		<description><![CDATA[I&#8217;ve had a few patches committed to WordPress core in the last few versions, and have sadly neglected to do writeups about them so that others could take advantage of the new features.  I hope to remedy that in the next few posts.  First off, WordPress 2.9 has a new feature that allows [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had a few patches committed to WordPress core in the last few versions, and have sadly neglected to do writeups about them so that others could take advantage of the new features.  I hope to remedy that in the next few posts.  First off, WordPress 2.9 has a new feature that allows you to add to the list of headers that are checked when you run either <code>get_plugin_data()</code> or <code>get_theme_data()</code>.</p>
<p>For example:  Let&#8217;s say you want to make a plugin that works with other plugins.  For other plugins to be compatible with it, however, they need to provide some new piece of information, and you want to do this with a custom header.  So we&#8217;re going declare a new plugin header.  Let&#8217;s call it&#8230; oh&#8230;. &#8220;Demo Header&#8221;.  Here&#8217;s the code; just drop this in a plugin and activate:</p>
<pre><code>function plugin_header_demo( $extra_headers ) {
	$extra_headers[] = 'Demo Header';
	return $extra_headers;
}
add_filter( 'extra_plugin_headers', 'plugin_header_demo' );</code></pre>
<p>Pretty simple, eh?  What we&#8217;ve just done is added &#8220;Demo Header&#8221; to the list of headers that WordPress will check for when <code>get_plugin_data()</code> is run.   Now, along with Name, Version, Author, and so forth, a value for Demo Header is returned as well.</p>
<p>Note that this is only for cases where you want <em>any</em> plugin checked for this header.  This changes the <code>get_plugin_data()</code> function and takes effect every time that function is run, on any plugin.</p>
<p>Want to do it for themes?  The code is almost identical:</p>
<pre><code>function theme_header_demo( $extra_headers ) {
	$extra_headers[] = 'Demo Header';
	return $extra_headers;
}
add_filter( 'extra_theme_headers', 'theme_header_demo' );</code></pre>
<p>Note that this does not allow you to alter the pre-existing headers in any way.  You can&#8217;t, for example, remove the &#8220;Name&#8221; header.</p>
<p>Personally, I intend to use this for a third-party update check plugin, which will also be incorporated into <a href="http://code.google.com/p/strider-core/">Strider Core</a>.  For that use, I&#8217;ll add an &#8220;Update URL&#8221; header (or similar).</p>
<p>Next up:  How to define your own custom <code>get_XXX_data()</code> function that works like the ones for plugins or themes.</p>
<hr />
© <a href="http://striderweb.com/">Stephen Rider</a> 2009
<p>This article was originally published at <a href="http://striderweb.com/nerdaphernalia">Nerdaphernalia</a>.  <a href="http://planetwordpress.planetozh.com/" rel="nofollow">Planet WordPress</a> is authorized to reproduce WordPress-related entries.  <em>If you're reading this at any other web site, the site owner is stealing copyrighted work.  Please visit the original page:</em></p>

<small><a href="http://striderweb.com/nerdaphernalia/2009/11/add-new-headers-to-wordpress-plugins-or-themes/">Permalink to Add New Headers to WordPress Plugins or Themes</a></small>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://striderweb.com/nerdaphernalia/2009/11/add-new-headers-to-wordpress-plugins-or-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hackbook finale</title>
		<link>http://striderweb.com/nerdaphernalia/2009/10/hackbook-finale/</link>
		<comments>http://striderweb.com/nerdaphernalia/2009/10/hackbook-finale/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 04:54:24 +0000</pubDate>
		<dc:creator>Stephen R</dc:creator>
				<category><![CDATA['Nuff  said]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[hacks]]></category>

		<guid isPermaLink="false">http://striderweb.com/nerdaphernalia/2009/10/hackbook-finale/</guid>
		<description><![CDATA[In between trick-or-treaters I spent today finishing up the repairs to my new/old laptop.  The first optical drive I ordered was DOA, so I had to order a new one.  Did the swap today.  Took a little testing and such, but I now have a fully operational system, (which is nice).
In the [...]]]></description>
			<content:encoded><![CDATA[<p>In between trick-or-treaters I spent today finishing up the repairs to my new/old laptop.  The first optical drive I ordered was DOA, so I had to order a new one.  Did the swap today.  Took a little testing and such, but I now have a fully operational system, (which is nice).</p>
<p>In the end, a little work and willingness to crack the sucker open got me a $1,100 laptop for about $500.  Sometimes its nice to be a geek. <img src='http://striderweb.com/nerdaphernalia/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<hr />
© <a href="http://striderweb.com/">Stephen Rider</a> 2009
<p>This article was originally published at <a href="http://striderweb.com/nerdaphernalia">Nerdaphernalia</a>.  <a href="http://planetwordpress.planetozh.com/" rel="nofollow">Planet WordPress</a> is authorized to reproduce WordPress-related entries.  <em>If you're reading this at any other web site, the site owner is stealing copyrighted work.  Please visit the original page:</em></p>

<small><a href="http://striderweb.com/nerdaphernalia/2009/10/hackbook-finale/">Permalink to Hackbook finale</a></small>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://striderweb.com/nerdaphernalia/2009/10/hackbook-finale/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hackbook</title>
		<link>http://striderweb.com/nerdaphernalia/2009/09/hackbook/</link>
		<comments>http://striderweb.com/nerdaphernalia/2009/09/hackbook/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 22:45:37 +0000</pubDate>
		<dc:creator>Stephen R</dc:creator>
				<category><![CDATA[On the Front Lines]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[laptops]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[repair]]></category>
		<category><![CDATA[upgrades]]></category>

		<guid isPermaLink="false">http://striderweb.com/nerdaphernalia/2009/09/hackbook/</guid>
		<description><![CDATA[My laptop has been a bit long in the tooth for a while now.  It&#8217;s a 12&#8243; Mac Powerbook G4 circa 2003.  It actually runs OS 10.5 pretty well, which is impressive considering it originally came with OS 9 (that&#8217;s &#8212; count &#8216;em &#8212; 6 operating systems ago).  The most noticeable issue [...]]]></description>
			<content:encoded><![CDATA[<p>My laptop has been a bit long in the tooth for a while now.  It&#8217;s a 12&#8243; Mac Powerbook G4 circa 2003.  It actually runs OS 10.5 pretty well, which is impressive considering it originally came with OS 9 (that&#8217;s &#8212; count &#8216;em &#8212; 6 operating systems ago).  The most noticeable issue is that it struggles to play video such as YouTube, and if I&#8217;m working with a particularly large file (150+ MB) it struggles to handle it.</p>
<p>So I needed a new one, but didn&#8217;t want to drop a grand on it.  What to do?  Well, I found a fixer-upper on eBay for just over $400.  Impressively, it&#8217;s last year&#8217;s model Macbook with maxed out RAM and a good size hard drive.  The down side is that it lacks an optical drive, and the keyboard is <span lang="es">en Espa&ntilde;ol</a>.</p>
<p>Got the computer in the mail Tuesday.  Thanks to &#8220;Target Disk Mode&#8221; via Firewire, I was able to wipe the drive and install the OS without an optical drive.  Had a small hiccough transferring my old data from my Time Machine backup, in that I had forgotten that my backup doesn&#8217;t include my applications.  Re-doing the transfer from my bootable backup drive fixed that nicely.</p>
<p>So &#8212; I&#8217;ll be putting about another $100 into the computer, as I got an English keyboard assembly for $30, and an optical drive for about $75 (both on eBay).  I even found an online auction for the *brackets* for the optical drive, which is handy since the computer I bought had the drive completely removed (&#8220;it was making a funny noise&#8221; I&#8217;m told).</p>
<p>So now I get to do surgery. Cool! <img src='http://striderweb.com/nerdaphernalia/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   I replaced the hard drive in the Powerbook a couple years back, so I have a bit of experience with cracking open laptops.  Should be an interesting exercise, involving steady hands and very, very small screwdrivers.</p>
<hr />
© <a href="http://striderweb.com/">Stephen Rider</a> 2009
<p>This article was originally published at <a href="http://striderweb.com/nerdaphernalia">Nerdaphernalia</a>.  <a href="http://planetwordpress.planetozh.com/" rel="nofollow">Planet WordPress</a> is authorized to reproduce WordPress-related entries.  <em>If you're reading this at any other web site, the site owner is stealing copyrighted work.  Please visit the original page:</em></p>

<small><a href="http://striderweb.com/nerdaphernalia/2009/09/hackbook/">Permalink to Hackbook</a></small>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://striderweb.com/nerdaphernalia/2009/09/hackbook/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Every Halloween costume you ev&#8230;</title>
		<link>http://striderweb.com/nerdaphernalia/2009/08/every-halloween-costume-you-ev/</link>
		<comments>http://striderweb.com/nerdaphernalia/2009/08/every-halloween-costume-you-ev/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 13:31:48 +0000</pubDate>
		<dc:creator>Stephen R</dc:creator>
				<category><![CDATA['Nuff  said]]></category>
		<category><![CDATA[tweets]]></category>

		<guid isPermaLink="false">http://striderweb.com/nerdaphernalia/2009/08/every-halloween-costume-you-ev/</guid>
		<description><![CDATA[Every Halloween costume you ever had was a failure compared to this: http://bit.ly/hLfbY (via @TheBloggess)

© Stephen Rider 2009
This article was originally published at Nerdaphernalia.  Planet WordPress is authorized to reproduce WordPress-related entries.  If you're reading this at any other web site, the site owner is stealing copyrighted work.  Please visit the original [...]]]></description>
			<content:encoded><![CDATA[<p>Every Halloween costume you ever had was a failure compared to this: <a href="http://bit.ly/hLfbY" rel="nofollow">http://bit.ly/hLfbY</a> (via @<a href="http://twitter.com/TheBloggess">TheBloggess</a>)</p>
<hr />
© <a href="http://striderweb.com/">Stephen Rider</a> 2009
<p>This article was originally published at <a href="http://striderweb.com/nerdaphernalia">Nerdaphernalia</a>.  <a href="http://planetwordpress.planetozh.com/" rel="nofollow">Planet WordPress</a> is authorized to reproduce WordPress-related entries.  <em>If you're reading this at any other web site, the site owner is stealing copyrighted work.  Please visit the original page:</em></p>

<small><a href="http://striderweb.com/nerdaphernalia/2009/08/every-halloween-costume-you-ev/">Permalink to Every Halloween costume you ev&#8230;</a></small>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://striderweb.com/nerdaphernalia/2009/08/every-halloween-costume-you-ev/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtual Multiblog 2.6.1</title>
		<link>http://striderweb.com/nerdaphernalia/2009/07/virtual-multiblog-2-6-1/</link>
		<comments>http://striderweb.com/nerdaphernalia/2009/07/virtual-multiblog-2-6-1/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 04:38:35 +0000</pubDate>
		<dc:creator>Stephen R</dc:creator>
				<category><![CDATA[Webcraft]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[updates]]></category>
		<category><![CDATA[Virtual Multiblog]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://striderweb.com/nerdaphernalia/2009/07/virtual-multiblog-2-6-1/</guid>
		<description><![CDATA[Just released Virtual Multiblog v2.6.1. The primary new feature in the 2.6 line is auto-plugins.
That is, you can specify plugins that are automatically activated for all (or just some) blogs.
Check it out! 

© Stephen Rider 2009
This article was originally published at Nerdaphernalia.  Planet WordPress is authorized to reproduce WordPress-related entries.  If you're reading [...]]]></description>
			<content:encoded><![CDATA[<p>Just released Virtual Multiblog v2.6.1. The primary new feature in the 2.6 line is auto-plugins.</p>
<p>That is, you can specify plugins that are automatically activated for all (or just some) blogs.</p>
<p><a href="/nerdaphernalia/features/virtual-multiblog/">Check it out!</a> </p>
<hr />
© <a href="http://striderweb.com/">Stephen Rider</a> 2009
<p>This article was originally published at <a href="http://striderweb.com/nerdaphernalia">Nerdaphernalia</a>.  <a href="http://planetwordpress.planetozh.com/" rel="nofollow">Planet WordPress</a> is authorized to reproduce WordPress-related entries.  <em>If you're reading this at any other web site, the site owner is stealing copyrighted work.  Please visit the original page:</em></p>

<small><a href="http://striderweb.com/nerdaphernalia/2009/07/virtual-multiblog-2-6-1/">Permalink to Virtual Multiblog 2.6.1</a></small>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://striderweb.com/nerdaphernalia/2009/07/virtual-multiblog-2-6-1/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Mac OS 9 lives!</title>
		<link>http://striderweb.com/nerdaphernalia/2009/07/mac-os-9-lives/</link>
		<comments>http://striderweb.com/nerdaphernalia/2009/07/mac-os-9-lives/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 14:56:44 +0000</pubDate>
		<dc:creator>Stephen R</dc:creator>
				<category><![CDATA['Nuff  said]]></category>
		<category><![CDATA[tweets]]></category>

		<guid isPermaLink="false">http://striderweb.com/nerdaphernalia/2009/07/mac-os-9-lives-and-it-has-a/</guid>
		<description><![CDATA[Mac OS 9 lives!  And it has a browser:  http://classilla.org/

© Stephen Rider 2009
This article was originally published at Nerdaphernalia.  Planet WordPress is authorized to reproduce WordPress-related entries.  If you're reading this at any other web site, the site owner is stealing copyrighted work.  Please visit the original page:

Permalink to Mac [...]]]></description>
			<content:encoded><![CDATA[<p>Mac OS 9 lives!  And it has a browser:  <a href="http://classilla.org/" rel="nofollow">http://classilla.org/</a></p>
<hr />
© <a href="http://striderweb.com/">Stephen Rider</a> 2009
<p>This article was originally published at <a href="http://striderweb.com/nerdaphernalia">Nerdaphernalia</a>.  <a href="http://planetwordpress.planetozh.com/" rel="nofollow">Planet WordPress</a> is authorized to reproduce WordPress-related entries.  <em>If you're reading this at any other web site, the site owner is stealing copyrighted work.  Please visit the original page:</em></p>

<small><a href="http://striderweb.com/nerdaphernalia/2009/07/mac-os-9-lives/">Permalink to Mac OS 9 lives!</a></small>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://striderweb.com/nerdaphernalia/2009/07/mac-os-9-lives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An ode to long URLs</title>
		<link>http://striderweb.com/nerdaphernalia/2009/06/an-ode-to-long-urls/</link>
		<comments>http://striderweb.com/nerdaphernalia/2009/06/an-ode-to-long-urls/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 13:10:20 +0000</pubDate>
		<dc:creator>Stephen R</dc:creator>
				<category><![CDATA['Nuff  said]]></category>
		<category><![CDATA[tweets]]></category>

		<guid isPermaLink="false">http://striderweb.com/nerdaphernalia/2009/06/an-ode-to-long-urls-and-a-su/</guid>
		<description><![CDATA[An ode to long URLs &#8211; and a suggestion or two: http://bit.ly/syESq

© Stephen Rider 2009
This article was originally published at Nerdaphernalia.  Planet WordPress is authorized to reproduce WordPress-related entries.  If you're reading this at any other web site, the site owner is stealing copyrighted work.  Please visit the original page:

Permalink to An [...]]]></description>
			<content:encoded><![CDATA[<p>An ode to long URLs &#8211; and a suggestion or two: <a href="http://bit.ly/syESq" rel="nofollow">http://bit.ly/syESq</a></p>
<hr />
© <a href="http://striderweb.com/">Stephen Rider</a> 2009
<p>This article was originally published at <a href="http://striderweb.com/nerdaphernalia">Nerdaphernalia</a>.  <a href="http://planetwordpress.planetozh.com/" rel="nofollow">Planet WordPress</a> is authorized to reproduce WordPress-related entries.  <em>If you're reading this at any other web site, the site owner is stealing copyrighted work.  Please visit the original page:</em></p>

<small><a href="http://striderweb.com/nerdaphernalia/2009/06/an-ode-to-long-urls/">Permalink to An ode to long URLs</a></small>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://striderweb.com/nerdaphernalia/2009/06/an-ode-to-long-urls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10,000 words advocating &#8220;sub p&#8230;</title>
		<link>http://striderweb.com/nerdaphernalia/2009/06/10000-words-advocating-sub-p/</link>
		<comments>http://striderweb.com/nerdaphernalia/2009/06/10000-words-advocating-sub-p/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 03:18:30 +0000</pubDate>
		<dc:creator>Stephen R</dc:creator>
				<category><![CDATA['Nuff  said]]></category>
		<category><![CDATA[tweets]]></category>

		<guid isPermaLink="false">http://striderweb.com/nerdaphernalia/2009/06/10000-words-advocating-sub-p/</guid>
		<description><![CDATA[10,000 words advocating &#8220;sub plugins&#8221; for WordPress, only to discover I&#8217;ve just reinvented something called &#8220;Interfaces&#8221; http://bit.ly/2rdWQ

© Stephen Rider 2009
This article was originally published at Nerdaphernalia.  Planet WordPress is authorized to reproduce WordPress-related entries.  If you're reading this at any other web site, the site owner is stealing copyrighted work.  Please visit [...]]]></description>
			<content:encoded><![CDATA[<p>10,000 words advocating &#8220;sub plugins&#8221; for WordPress, only to discover I&#8217;ve just reinvented something called &#8220;Interfaces&#8221; <a href="http://bit.ly/2rdWQ" rel="nofollow">http://bit.ly/2rdWQ</a></p>
<hr />
© <a href="http://striderweb.com/">Stephen Rider</a> 2009
<p>This article was originally published at <a href="http://striderweb.com/nerdaphernalia">Nerdaphernalia</a>.  <a href="http://planetwordpress.planetozh.com/" rel="nofollow">Planet WordPress</a> is authorized to reproduce WordPress-related entries.  <em>If you're reading this at any other web site, the site owner is stealing copyrighted work.  Please visit the original page:</em></p>

<small><a href="http://striderweb.com/nerdaphernalia/2009/06/10000-words-advocating-sub-p/">Permalink to 10,000 words advocating &#8220;sub p&#8230;</a></small>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://striderweb.com/nerdaphernalia/2009/06/10000-words-advocating-sub-p/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
