<?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>MaisonBisson.com &#187; update</title>
	<atom:link href="http://maisonbisson.com/blog/post/tag/update/feed/" rel="self" type="application/rss+xml" />
	<link>http://maisonbisson.com</link>
	<description>A bunch of stuff I would have emailed you about.</description>
	<lastBuildDate>Mon, 23 Nov 2009 16:21:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fiddling With Open Source Software for Libraries Theme</title>
		<link>http://maisonbisson.com/blog/post/13012/fiddling-with-oss4lib-theme/</link>
		<comments>http://maisonbisson.com/blog/post/13012/fiddling-with-oss4lib-theme/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 21:03:59 +0000</pubDate>
		<dc:creator>Casey</dc:creator>
				<category><![CDATA[Dispatches]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[open source software for libraries]]></category>
		<category><![CDATA[oss4lib]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://maisonbisson.com/?p=13012</guid>
		<description><![CDATA[

I generally liked CommentPress, but when the Institute for the Future of the Book website went down recently, it started throwing errors in the dashboard. So I decided to re-do the Open Source Software For Libraries website using Derek Powazek&#8217;s DePo Masthead.
I think it&#8217;s a beautifully readable theme, and I only had to make a [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="maisonbisson-13012"><!-- &nbsp; --></abbr>
<p><a title="oss4lib interior page by misterbisson, on Flickr" href="http://www.flickr.com/photos/maisonbisson/3040492522/"><img src="http://farm4.static.flickr.com/3006/3040492522_c81092dd4d.jpg" alt="oss4lib interior page" width="500" height="291" /></a></p>
<p>I <a title="» CommentPress Comments MaisonBisson.com" href="http://maisonbisson.com/blog/post/12312/commentpress-comments/">generally liked CommentPress</a>, but when the <a title="Institute for the Future of the Book" href="http://www.futureofthebook.org/">Institute for the Future of the Book</a> website went down recently, it started throwing errors in the dashboard. So I decided to re-do the <a title="Open Source Software For Libraries" href="http://maisonbisson.com/oss4lib/">Open Source Software For Libraries</a> website using <a href="http://powazek.com/posts/1182">Derek Powazek&#8217;s DePo Masthead</a>.</p>
<p>I think it&#8217;s a beautifully readable theme, and I only had to make a few modifications. I&#8217;ve ostensibly lost CommentPress&#8217; paragraph-level commenting features, but I discovered those may have been broken all along (that was what started me thinking about replacing the theme). I still have lots of work to do on the site, like inserting the footnotes, illustrations, and the final chapter (Ryan Eby&#8217;s guide to open source software for the server-side of your library).</p>
]]></content:encoded>
			<wfw:commentRss>http://maisonbisson.com/blog/post/13012/fiddling-with-oss4lib-theme/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>More bsuite Hacking</title>
		<link>http://maisonbisson.com/blog/post/11248/more-bsuite-hacking/</link>
		<comments>http://maisonbisson.com/blog/post/11248/more-bsuite-hacking/#comments</comments>
		<pubDate>Wed, 05 Apr 2006 16:41:13 +0000</pubDate>
		<dc:creator>Casey Bisson</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[bstat]]></category>
		<category><![CDATA[bsuite]]></category>
		<category><![CDATA[Chow Kah Soon]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[KahSoon.com]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://maisonbisson.com/blog/post/11248/</guid>
		<description><![CDATA[
Update: bugfix release b2v6 available.
Some conversations with Chow Kah Soon, who&#8217;s site is  full of diversions from work , finally convinced encouraged me to solve some small problems that were giving him big trouble. Chow Kah Soon is in the lucky, but rare, position of having over 20,000 unique daily visitors to his site, [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="maisonbisson-11248"><!-- &nbsp; --></abbr>
<p><strong>Update:</strong> <a href="http://maisonbisson.com/blog/post/11390/">bugfix release b2v6 available</a>.</p>
<p>Some conversations with Chow Kah Soon, who&#8217;s site is <a href="http://www.kahsoon.com/" title="Addicting Games Funny Junk Video Clips - Kahsoon.com"> full of diversions from work </a>, finally <strike>convinced</strike> encouraged me to solve some small problems that were giving him big trouble. Chow Kah Soon is in the lucky, but rare, position of having over 20,000 unique daily visitors to his site, so he&#8217;s sort of my designated stress-tester.</p>
<p>After looking at the logs he shared with me, the table structure, and the queries in bsuite, it was pretty clear that I needed to make some changes to the indexes.</p>
<p>Optimizing the indexes was easy, but how can I make bsuite update those indexes on existing installs? That&#8217;s where <a href="http://codex.wordpress.org/Creating_Tables_with_Plugins">these docs</a> explaining WordPress&#8217; rather unique <a href="http://codex.wordpress.org/Creating_Tables_with_Plugins#Creating_and_Updating_the_Table">dbDelta</a> function come in:</p>
<blockquote><p>Instead of using a normal $wpdb query to make our table, there is a special function in WordPress that we&#8217;ll use that can create a table if it isn&#8217;t there, or change the structure if it doesn&#8217;t match the current table. This will come in very handy if we ever need to make changes to the MySQL structure in the future.</p></blockquote>
<p>The function&#8217;s a little finicky, and it took me a couple minutes to realize that it was tripping up on the backtick quotes (`) I had wrapped around my table and field names. But with that out of the way, it solves the big problem of how to easily add indexes to existing tables. What it doesn&#8217;t solve, sadly, is how to delete existing indexes that aren&#8217;t in the new table definition.</p>
<p>With the dbDelta function implemented, I also finally got around to implementing an auto-install hook that creates or re-configs the tables upon plugin activation. Here&#8217;s the <a href="http://codex.wordpress.org/Creating_Tables_with_Plugins#Calling_the_function">example from the docs</a>:</p>
<blockquote><p><code>add_action('activate_pluginurl','jal_install');</code></p></blockquote>
<p>But I had to Google for <a href="http://wordpress.org/support/topic/65500">this support forum post</a> to <a href="http://timvw.madoka.be/?p=535">understand</a> what the “pluginurl” should be.</p>
<blockquote><p>&#8230;you simply have to use the path of your plugin relative to /wp-content/plugins. Eg: you have a plugin in /wp-content/plugins/wp-spamfilter/wp-spamfilter.php then you have to call add_action as following:</p>
<p><code>add_action(‘activate_wp-spamfilter/wp-spamfilter.php’, ’somefunction’);</code></p></blockquote>
<p>Yes, all of these updates will be released soon. I promise.</p>
<p><tags>bstat, bsuite, Chow Kah Soon, documentation, KahSoon.com, mysql, optimization, update, wordpress</tags></p>
]]></content:encoded>
			<wfw:commentRss>http://maisonbisson.com/blog/post/11248/more-bsuite-hacking/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>