<?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>Monday By Noon &#187; Sphider</title>
	<atom:link href="http://mondaybynoon.com/tag/sphider/feed/" rel="self" type="application/rss+xml" />
	<link>http://mondaybynoon.com</link>
	<description>A resource for Web designers and developers to read about and discuss their craft.</description>
	<lastBuildDate>Wed, 08 Feb 2012 13:49:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>&#8226; Improving WordPress&#8217; Search with Sphider</title>
		<link>http://mondaybynoon.com/feeder/?FeederAction=clicked&#038;feed=Posts+%28RSS2%29&#038;seed=http%3A%2F%2Fmondaybynoon.com%2F20091214%2Fimproving-wordpress-search-with-sphider%2F&#038;seed_title=%26%238226%3B+Improving+WordPress%26%238217%3B+Search+with+Sphider</link>
		<comments>http://mondaybynoon.com/20091214/improving-wordpress-search-with-sphider/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 14:23:49 +0000</pubDate>
		<dc:creator>Jonathan Christopher</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[full text]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[Sphider]]></category>

		<guid isPermaLink="false">http://mondaybynoon.com/?p=660</guid>
		<description><![CDATA[Sphider is an open source search engine you can use to really improve your WordPress search results.<br /><p><a href='http://rss.buysellads.com/click.php?z=1269068&k=2ee344414ac81fbb0f9de6ab08e9831e&a=660&c=124641270' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269068&k=2ee344414ac81fbb0f9de6ab08e9831e&a=660&c=124641270' border='0' alt='' /></a></p><p><a href='http://buysellads.com/buy/sitedetails/pubkey/2ee344414ac81fbb0f9de6ab08e9831e/zone/1269068' target='_blank'>Advertise here with BSA</a></p>]]></description>
			<content:encoded><![CDATA[<p>One of the only things that caused me to struggle when working with WordPress is the search feature. As a result, lots of people have taken the time to try to improve the functionality overall, but the issue I&#8217;ve got is a bit more rooted. Don&#8217;t get me wrong, I&#8217;m not trying to knock WordPress at all, but I&#8217;ve realized that in the past few months I&#8217;ve done nothing but sing it praises when in fact there&#8217;s always two sides to a story.</p>
<h2>The fundamental issue</h2>
<p>The underlying issue I&#8217;ve got with the WordPress search is it being database powered. In the time of of Widgets, dynamic content, and comments, a database powered search system is going to limit your results.</p>
<p>Plugin authors have done a lot to improve the situation by releasing improvements such as <a href="http://wordpress.org/extend/plugins/search-everything/">Search Everything</a> and <a href="http://wordpress.org/extend/plugins/search-unleashed/">Search Unleashed</a>. Both plugins offer a really great improvement to the stock WordPress search functionality by including important things like Pages, comments, and more. They give you a bit more fine-grained control over what shows up on a results page.</p>
<p>Unfortunately, though, the plugins don&#8217;t cover every base. Even though you can include categories and tags in the search algorithm, there will always be a bit more on the table in the form of dynamic content and widgets. Wouldn&#8217;t it be great if you could implement an <strong>on-page search system in WordPress?</strong></p>
<h3>Enter Sphider</h3>
<p>Some time ago when working within a legacy content management system, I had to deal with a much more dire situation when it come to searching. The best I could do was link to Google and force the <code>site:</code> flag to limit the search to the client website. <em>Awful</em>.</p>
<p>I know how to program, but writing a search engine from the ground up isn&#8217;t very high on my &#8220;Want to do&#8221; list. Luckily, the open source world again saved the day. I stumbled upon <a href="http://www.sphider.eu/">Sphider</a> one day and I must admit, I was super impressed from the get-go.</p>
<p><a href="http://www.sphider.eu/">Sphider</a> is defined as:</p>
<blockquote cite="http://www.sphider.eu/"><p>Sphider is a lightweight web spider and search engine written in PHP, using MySQL as its back end database. It is a great tool for adding search functionality to your web site or building your custom search engine. Sphider is small, easy to set up and modify, and is used in thousands of websites across the world.</p>
</blockquote>
<p><strong>Perfect.</strong> After a two-minute installation I was up and running. I added the client site to the index, spidered the site, and was generating really awesome results in about 10 minutes overall.</p>
<h3>Sphider and WordPress</h3>
<p>It wasn&#8217;t until a few weeks ago when I found <a href="http://wordpress.org/extend/plugins/sphider/">Sphider for WordPress</a> &#8211; <strong><em>eureka!</em></strong> The plugin integrates Sphider to the best of its ability into the WordPress admin all the while making life a bit easier by piggybacking on WordPress&#8217; database (removing the need for the quick setup). That really helps when moving a site from your development or staging server to production.</p>
<p>I can&#8217;t leave out a quick bit I discovered while poking around the Sphider forums and Sphider for WordPress page; the founding author is none other than <a href="http://www.scottkclark.com/">Scott Kingsley Clark</a> who is also responsible for <a href="http://pods.uproot.us">Pods</a>, my <strong>favorite</strong> WordPress plugin of all time.</p>
<h3>Sure, a couple drawbacks</h3>
<p>As with everything, there are drawbacks to implementing a system like Sphider. The benefit to WordPress&#8217; search functionality being database-powered is its ability to be &#8220;live&#8221; &#8212; as content is updated, so are search results. With Sphider it&#8217;s a bit of a different story.</p>
<p>To update Sphider&#8217;s index, you&#8217;ll need to set up a <code>cron</code> job to periodically re-index your website. I typically set up a job to run every few hours on highly dynamic websites, or let it go to once a day on less busy projects. At worst, a search query may be outdated by a few hours which really isn&#8217;t a deal breaker when you consider how much more targeted the results are.</p>
<h3>A great solution, a great service</h3>
<p>While the WordPress default search isn&#8217;t the sharpest tool in the shed, it can be greatly improved with a plugin or two. If you&#8217;re looking to really raise the bar, I&#8217;ve found <a href="http://www.sphider.eu/">Sphider</a> to be a completely capable solution, even though there are a couple minor drawbacks.</p>
<p>It&#8217;s a great service to offer your client if their website is content-heavy as well. Improving the available search functionality will help them by helping their website visitors to find the content in question that much faster.</p>
<p>What are your thoughts on the default WordPress search functionality? Should Automattic work to include something like Sphider in WordPress core? Should it be left up to plugins? Is it worth looking into when people are more likely originating from a search engine anyway? What do you think?</p>
<br /><p><a href='http://rss.buysellads.com/click.php?z=1269068&k=2ee344414ac81fbb0f9de6ab08e9831e&a=660&c=1896930134' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269068&k=2ee344414ac81fbb0f9de6ab08e9831e&a=660&c=1896930134' border='0' alt='' /></a></p><p><a href='http://buysellads.com/buy/sitedetails/pubkey/2ee344414ac81fbb0f9de6ab08e9831e/zone/1269068' target='_blank'>Advertise here with BSA</a></p>]]></content:encoded>
			<wfw:commentRss>http://mondaybynoon.com/20091214/improving-wordpress-search-with-sphider/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Database Caching 1/48 queries in 0.055 seconds using apc
Object Caching 466/518 objects using apc

Served from: www.mondaybynoon.com @ 2012-02-11 08:52:14 -->
