<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>SEF / SEO search for your sNews website</title>
<link>http://www.mdj.us/</link>
<description>An SEF SEO friendly search for your sNews CMS installation.</description>
<language>en</language>
<item>
<title>Matt</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/sef-seo-search-for-snews-website/#comment-1088</link>
<pubDate>Thu, 15 Apr 2010 14:43:27 +0000</pubDate>
<content:encoded><![CDATA[Thanks for sharing Tina!<br />
<br />
I formatted your code too, I really need to implement the bbcode tags and auto-formatting.]]></content:encoded>
</item>
<item>
<title>Tina</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/sef-seo-search-for-snews-website/#comment-1087</link>
<pubDate>Thu, 15 Apr 2010 14:36:01 +0000</pubDate>
<content:encoded><![CDATA[Hi Matt,<br />
I'm succesfully using your search with a German language site. It works great. Recently, I made a small modification, to enable the search query via GET method as well. I did this to so that I could get the searchplugin I made to work both in IE and firefox (post method will only work in firefox, IE is special as usual) ... Thought I'd share (hope its ok here, otherwise just delete or rewrite) ...<br />
<br />
<br />
if (isset($_POST['search_query']) or isset($_GET['s'])) {<br />
// Get the POST search query and clean it up<br />
if (isset($_POST['search_query'])) {<br />
    $squery = strip_tags(strtolower(cleanXSS($_POST['search_query'])));<br />
} elseif (isset($_GET['s'])) {<br />
    $squery = strip_tags(strtolower(cleanXSS($_GET['s'])));<br />
}<br />
<br />
Then, I made a new file called browsersearch.xml with the following content:<br />
<br />
<br />
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />
&lt;OpenSearchDescription xmlns=&quot;http://a9.com/-/spec/opensearch/1.1/&quot;&gt;<br />
  &lt;ShortName&gt;Your Site Title&lt;/ShortName&gt;<br />
  &lt;Description&gt;Your Site Description&lt;/Description&gt;<br />
  &lt;Image height=&quot;16&quot; width=&quot;16&quot; type=&quot;image/x-icon&quot;&gt;http://www.your-site.com/favicon.ico&lt;/Image&gt;<br />
  &lt;Url type=&quot;text/html&quot; method=&quot;get&quot; template=&quot;http://www.your-site.com/?s={searchTerms}&quot;/&gt;<br />
&lt;/OpenSearchDescription&gt;<br />
<br />
and finally, changed my index to include a new meta tag ...<br />
<br />
&lt;link rel=&quot;search&quot; type=&quot;application/opensearchdescription+xml&quot; href=&quot;browsersearch.xml&quot; title=&quot;Demo Site&quot; /&gt;<br />
<br />
greetz<br />
tina]]></content:encoded>
</item>
<item>
<title>Matt</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/sef-seo-search-for-snews-website/#comment-457</link>
<pubDate>Tue, 23 Jun 2009 11:11:09 +0000</pubDate>
<content:encoded><![CDATA[Toolman, see this page;<br />
&lt;a href=&quot;http://mdj.us/snews-cms/hacks-mods/fix-duplicate-meta-description-errors-in-snews-with-this-quick-hack/&quot;&gt;http://mdj.us/snews-cms/hacks-mods/fix-duplicate-meta-description-errors-in-snews-with-this-quick-hack/&lt;/a&gt;]]></content:encoded>
</item>
<item>
<title>toolman</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/sef-seo-search-for-snews-website/#comment-455</link>
<pubDate>Mon, 22 Jun 2009 08:51:22 +0000</pubDate>
<content:encoded><![CDATA[Hi.<br />
Great mod! Polish signs works fine on my site.<br />
Only title looks little funny (look at firefox tab <a href="http://f.imagehost.org/0561/searchmod.png)." rel="nofollow">http://f.imagehost.org/0561/searchmod.png).</a><br />
Will be great to display search phrases in title, description and keywords.]]></content:encoded>
</item>
<item>
<title>Matt</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/sef-seo-search-for-snews-website/#comment-354</link>
<pubDate>Thu, 30 Apr 2009 10:25:19 +0000</pubDate>
<content:encoded><![CDATA[Yeah, sorry Roie, I wish I knew, there appears to be a problem with url encoding and non Latin character sets, but to be honest, that really isn't my best area of knowledge :/]]></content:encoded>
</item>
<item>
<title>Roie</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/sef-seo-search-for-snews-website/#comment-352</link>
<pubDate>Wed, 29 Apr 2009 18:03:34 +0000</pubDate>
<content:encoded><![CDATA[Thanks for your excellent efforts, but i just can't make this work.. (Hebrew site)]]></content:encoded>
</item>
<item>
<title>Matt</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/sef-seo-search-for-snews-website/#comment-319</link>
<pubDate>Sat, 25 Apr 2009 22:28:21 +0000</pubDate>
<content:encoded><![CDATA[Damn, I'm not sure, I've tested it here on my site, I've tested it on my &quot;sandbox&quot; site, and I've tested it on Philippe's site too, all of them accept huÅ›tawki just fine.<br />
<br />
Maybe it's the web server itself with the redirect?, are you using Apache, IIS, Litespeed?]]></content:encoded>
</item>
<item>
<title>K4iTO</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/sef-seo-search-for-snews-website/#comment-317</link>
<pubDate>Sat, 25 Apr 2009 11:20:23 +0000</pubDate>
<content:encoded><![CDATA[nope it don't help me :/]]></content:encoded>
</item>
<item>
<title>K4iTO</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/sef-seo-search-for-snews-website/#comment-316</link>
<pubDate>Sat, 25 Apr 2009 08:23:30 +0000</pubDate>
<content:encoded><![CDATA[ok i'll try :D]]></content:encoded>
</item>
<item>
<title>Matt</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/sef-seo-search-for-snews-website/#comment-315</link>
<pubDate>Fri, 24 Apr 2009 21:52:47 +0000</pubDate>
<content:encoded><![CDATA[Hmmm, I'm not able to duplicate that on my site, maybe urlencode is mucking it up...<br />
<br />
Are you sure your PHP encoding is UTF-8?<br />
<br />
You can try what Philippe did recently, set the locale manually at the top of your snews.php file, that may work?<br />
<br />
setlocale(LC_ALL, 'pl_PL.utf8');]]></content:encoded>
</item>
</channel>
</rss>

