<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/search</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 24 Jul 2008 08:12:37 GMT</pubDate>
<item>
<title>(XML) Create a Firefox Search Plugin - rwczippy</title>
<link>http://snipplr.com/view/7395/create-a-firefox-search-plugin/</link>
<description><![CDATA[ <p>example code only... save to [path.to.profile]/searchplugins/</p> ]]></description>
<pubDate>Sat, 19 Jul 2008 08:07:38 GMT</pubDate>
<guid>http://snipplr.com/view/7395/create-a-firefox-search-plugin/</guid>
</item>
<item>
<title>(PHP) Approximate / Fuzzy search base. - Cory</title>
<link>http://snipplr.com/view/7302/approximate--fuzzy-search-base/</link>
<description><![CDATA[ <p>This is a simple base for an approximate search application. You can currently use this to do search's but it, is not very sophisticated, right now anything that is as difference in characters base on the threshold will show up in the result, so with a threshold of 1 "the" would return, "he", "she", "thee", etc. But this is more made for a base for extending with your own capabilities.</p> ]]></description>
<pubDate>Tue, 15 Jul 2008 10:38:01 GMT</pubDate>
<guid>http://snipplr.com/view/7302/approximate--fuzzy-search-base/</guid>
</item>
<item>
<title>(JavaScript) in_array compact version - zb3k</title>
<link>http://snipplr.com/view/6845/inarray-compact-version/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 23 Jun 2008 05:34:11 GMT</pubDate>
<guid>http://snipplr.com/view/6845/inarray-compact-version/</guid>
</item>
<item>
<title>(Bash) grep for either of two strings - noah</title>
<link>http://snipplr.com/view/6819/grep-for-either-of-two-strings/</link>
<description><![CDATA[ <p>Here's an example of using grep to filter for links that contain the string 'jpg' or 'gif'</p> ]]></description>
<pubDate>Fri, 20 Jun 2008 15:29:33 GMT</pubDate>
<guid>http://snipplr.com/view/6819/grep-for-either-of-two-strings/</guid>
</item>
<item>
<title>(Other) Shell script to make lists of certain file types in a web site file system - johnloy</title>
<link>http://snipplr.com/view/6575/shell-script-to-make-lists-of-certain-file-types-in-a-web-site-file-system/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 04 Jun 2008 13:06:43 GMT</pubDate>
<guid>http://snipplr.com/view/6575/shell-script-to-make-lists-of-certain-file-types-in-a-web-site-file-system/</guid>
</item>
<item>
<title>(C#) Launch Google Search in default Browser - AndrewVos</title>
<link>http://snipplr.com/view/6221/launch-google-search-in-default-browser/</link>
<description><![CDATA[ <p>Properly escapes the query string, according to http://code.google.com/apis/searchappliance/documentation/46/xml_reference.html#appendix_url_escaping</p> ]]></description>
<pubDate>Wed, 14 May 2008 07:18:13 GMT</pubDate>
<guid>http://snipplr.com/view/6221/launch-google-search-in-default-browser/</guid>
</item>
<item>
<title>(Ruby) Ruby Ferret Simple Indexing And Search Example Part 2 - narkisr</title>
<link>http://snipplr.com/view/6012/ruby-ferret-simple-indexing-and-search-example-part-2/</link>
<description><![CDATA[ <p>This is an example of how to search within a Ferret index (based upon http://kasparov.skife.org/blog/src/ruby/ferret.html).</p> ]]></description>
<pubDate>Sun, 27 Apr 2008 07:25:16 GMT</pubDate>
<guid>http://snipplr.com/view/6012/ruby-ferret-simple-indexing-and-search-example-part-2/</guid>
</item>
<item>
<title>(Ruby) Ruby Ferret simple indexing and search example part 1 - narkisr</title>
<link>http://snipplr.com/view/6011/ruby-ferret-simple-indexing-and-search-example-part-1/</link>
<description><![CDATA[ <p>This is a simple example for building a search index with the Ferret library  (based upon http://kasparov.skife.org/blog/src/ruby/ferret.html).</p> ]]></description>
<pubDate>Sun, 27 Apr 2008 07:19:33 GMT</pubDate>
<guid>http://snipplr.com/view/6011/ruby-ferret-simple-indexing-and-search-example-part-1/</guid>
</item>
<item>
<title>(JavaScript) Search field content control - wfdev</title>
<link>http://snipplr.com/view/5654/search-field-content-control/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 02 Apr 2008 07:14:37 GMT</pubDate>
<guid>http://snipplr.com/view/5654/search-field-content-control/</guid>
</item>
<item>
<title>(Other) Extraction Search Pattern - webStruck_</title>
<link>http://snipplr.com/view/5469/extraction-search-pattern/</link>
<description><![CDATA[ <p>Are you looking for the RSS feed of your/someone else's DeviantArt Journal? Follow the tutorial on the link above. I used this pattern since the given pattern (above) was linking to a wrong page.

Compared to the original pattern extraction, I used:
ul class="{*}" 

instead of
div class="{*}"

This is Feed43's extraction search pattern for DeviantArt Journal.</p> ]]></description>
<pubDate>Tue, 18 Mar 2008 02:29:25 GMT</pubDate>
<guid>http://snipplr.com/view/5469/extraction-search-pattern/</guid>
</item>
<item>
<title>(PHP) Php string in string function - gbot</title>
<link>http://snipplr.com/view/5329/php-string-in-string-function/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 09 Mar 2008 01:24:02 GMT</pubDate>
<guid>http://snipplr.com/view/5329/php-string-in-string-function/</guid>
</item>
<item>
<title>(Other) PHP 正規表現を使用して文字列を検索する - daisuke103</title>
<link>http://snipplr.com/view/5032/php-/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 12 Feb 2008 23:59:18 GMT</pubDate>
<guid>http://snipplr.com/view/5032/php-/</guid>
</item>
<item>
<title>(HTML) Google Custom Search Engine from a List of Links - sgraber</title>
<link>http://snipplr.com/view/4956/google-custom-search-engine-from-a-list-of-links/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 08 Feb 2008 20:22:10 GMT</pubDate>
<guid>http://snipplr.com/view/4956/google-custom-search-engine-from-a-list-of-links/</guid>
</item>
<item>
<title>(Bash) Recursive grep - kyokutyo</title>
<link>http://snipplr.com/view/4804/recursive-grep/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 28 Jan 2008 03:56:49 GMT</pubDate>
<guid>http://snipplr.com/view/4804/recursive-grep/</guid>
</item>
<item>
<title>(Ruby) Basic Uncommented Crappy Binary Radix Trie - christos</title>
<link>http://snipplr.com/view/4745/basic-uncommented-crappy-binary-radix-trie/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 23 Jan 2008 12:48:55 GMT</pubDate>
<guid>http://snipplr.com/view/4745/basic-uncommented-crappy-binary-radix-trie/</guid>
</item>
<item>
<title>(Bash) Exclude some directories from grep - noah</title>
<link>http://snipplr.com/view/4744/exclude-some-directories-from-grep/</link>
<description><![CDATA[ <p>The following command will grep for a string in HTML files, but will skip the directories dirFoo and dirBar.  (Thanks Jeff)</p> ]]></description>
<pubDate>Wed, 23 Jan 2008 12:44:48 GMT</pubDate>
<guid>http://snipplr.com/view/4744/exclude-some-directories-from-grep/</guid>
</item>
<item>
<title>(SQL) MySQL search - j_junyent</title>
<link>http://snipplr.com/view/4544/mysql-search/</link>
<description><![CDATA[ <p>http://sentidoweb.com/2007/07/25/consejos-mysql.php</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 19:44:17 GMT</pubDate>
<guid>http://snipplr.com/view/4544/mysql-search/</guid>
</item>
<item>
<title>(ActionScript) array_search function "needle in a haystack" - discorax</title>
<link>http://snipplr.com/view/4479/arraysearch-function-needle-in-a-haystack/</link>
<description><![CDATA[ <p>I use this function in php a lot, and now I can use it in my Flash AS2 projects. Searches through an array for a string value and returns the index of that string.  Can be modified to search for other data types ie. MovieClip, Number, etc...</p> ]]></description>
<pubDate>Wed, 09 Jan 2008 16:44:17 GMT</pubDate>
<guid>http://snipplr.com/view/4479/arraysearch-function-needle-in-a-haystack/</guid>
</item>
<item>
<title>(Bash) Scrape Google from the command line - noah</title>
<link>http://snipplr.com/view/4299/scrape-google-from-the-command-line/</link>
<description><![CDATA[ <p>This code is POC only -- actually using it would violate Google's TOS, which forbids scraping.  It is published here for educational value only.

Hypothetically, the following command should return a list of the top 500 or so hits in Google for mysite.com.

The results will be prepended with digits, followed by a dot and some whitespace (Lynx adds these).</p> ]]></description>
<pubDate>Sun, 09 Dec 2007 21:16:58 GMT</pubDate>
<guid>http://snipplr.com/view/4299/scrape-google-from-the-command-line/</guid>
</item>
<item>
<title>(JavaScript) Find doubled IDs in the DOM - noah</title>
<link>http://snipplr.com/view/3303/find-doubled-ids-in-the-dom/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 14 Jul 2007 14:51:33 GMT</pubDate>
<guid>http://snipplr.com/view/3303/find-doubled-ids-in-the-dom/</guid>
</item>
</channel>
</rss>