<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 25 May 2013 15:39:41 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Sameer Borate's Blog: Porter Stemming algorithm for search]]></title>
      <guid>http://www.phpdeveloper.org/news/12423</guid>
      <link>http://www.phpdeveloper.org/news/12423</link>
      <description><![CDATA[<p>
In a recent post to his blog <i>Sameer</i> looks at <a href="http://www.codediesel.com/php/porter-stemming-in-search/">implementing a Stemming algorithm</a> to search an array of words. It uses <a href="http://tartarus.org/~martin/PorterStemmer/php.txt">this library</a> (as written by <i>Richard Heyes</i>).
</p>
<blockquote>
A stemming algorithm lets you reduce each English input word to its basic root or stem (e.g. 'walking' to 'walk') so that variations on a word ('walks', 'walked', 'walking') are considered equivalent when searching. This stems can than be used in a search query rather than the original words, which generally (but not always) results in more relevant search results.
</blockquote>
<p>
His code example uses the library to search for two different types of strings - a single word and a phrase (with stop words removed). The Stem() method is called on the word and the results are looped through to remove all matching the values in the stop words array.
</p>]]></description>
      <pubDate>Wed, 29 Apr 2009 07:57:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMac.com: IP Banning]]></title>
      <guid>http://www.phpdeveloper.org/news/4937</guid>
      <link>http://www.phpdeveloper.org/news/4937</link>
      <description><![CDATA[PHPMac.com has posted <a href="http://phpmac.com/articles.php?view=248">a quick tutorial</a> on how to "ban an IP" from your site.
<p>
<quote>
<i>
Blocking certain IP addresses from your site is actually much easier than you might think.
<p>
In fact, it is only a seven-line code inserted at the top of your page!
</i>
</quote>
<p>
<a href="http://phpmac.com/articles.php?view=248">The code</a> basically just looks in an array of IP values and checks to see if the remote user's matches any of them. If it does, it echos out an error and stops the page execution. Obviously, this is just a basic example, and could be enhanced with a databse table that would be easier to manage than just the static array.]]></description>
      <pubDate>Mon, 06 Mar 2006 07:18:29 -0600</pubDate>
    </item>
  </channel>
</rss>
