<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Module: Search Spelling</title>
        <description> This module queries Google&amp;#039;s search engine for each search request to implement a &amp;quot;Did you mean ...?&amp;quot; function for the Phorum search pages. This will suggest alternative spellings for words that are possibly misspelled in the search query.

To be able to query the Google web site, PHP must be configured to allow opening of URLs for file reading commands. This means that the php.ini option &amp;quot;allow_url_fopen&amp;quot; must be set to 1. If this option is disabled, then this module will not work.


Changelog:
----------

2016-08-31 v1.0.3 by Oliver Riesen-Mallmann &amp;lt;oliver@riesen.org&amp;gt;

    - Made XHTML 1.0 Transitional compliant.

2011-01-09 v1.0.2

    - Fixed the module to work with the latest Google pages.

    - Switched to using the HTTP GET Phorum API code for better compatibility.

    - Added new German language files. Thanks to Oliver Riesen!

2007-10-22 v1.0.1

    - Fixed a small bug which sneaked into the v1.0.0 code right before
      releasing it. This bug killed the search arguments in the
      search_action hook, causing the regular search to fail.

2007-10-17 v1.0.0

    - Initial release

</description>
        <link>https://www.phorum.org/support/read.php?62,124900,124900#msg-124900</link>
        <lastBuildDate>Fri, 04 Sep 2026 18:53:27 -0500</lastBuildDate>
        <generator>Phorum 6.0.4</generator>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,124900,160805#msg-160805</guid>
            <title>Re: Module: Search Spelling</title>
            <link>https://www.phorum.org/support/read.php?62,124900,160805#msg-160805</link>
            <description><![CDATA[ New version:<br />
<br />
<pre class="bbcode">
2016-08-31 v1.0.3 by Oliver Riesen-Mallmann &lt;oliver@riesen.org&gt;
    - Made XHTML 1.0 Transitional compliant.
</pre>]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 31 Aug 2016 08:51:36 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,124900,144709#msg-144709</guid>
            <title>Re: Module: Search Spelling</title>
            <link>https://www.phorum.org/support/read.php?62,124900,144709#msg-144709</link>
            <description><![CDATA[ Hi Maurice,<br />
<br />
current version 1.0.1 doesn&#039;t work any longer. Goggle changed his markup and delivers now in utf-8.<br />
<br />
I did the following changes to get it work:<br />
<br />
settings.php (just an additional space in search pattern):<br />
<br />
[code=&quot;php&quot;]19c19<br />
&lt;     if (preg_match_all(&#039;/&lt;option value=\&quot;lang_(\w+)\&quot;&gt;([^&lt;&gt;]+)/&#039;, $page, $m)) {<br />
---<br />
&gt;     if (preg_match_all(&#039;/&lt;option value=\&quot;lang_(\w+)\&quot; &gt;([^&lt;&gt;]+)/&#039;, $page, $m)) {<br />
[/code]<br />
<br />
search_spelling.php:<br />
<pre class="bbcode">
22c22
&lt;     $page = file_get_contents($url);
---
&gt;     $page = <b>utf8_encode(</b>file_get_contents($url)<b>)</b>;
27c27
&lt;     if (preg_match(&#039;/: *&lt;\/font&gt;&lt;a href=[^&gt;]+&amp;spell=1[^&gt;]*&gt;(.+?)&lt;\/a&gt;/i&#039;, $page, $m)) {
---
&gt;     if (preg_match(&#039;/: *&lt;\/<b>span</b>&gt;&lt;a href=[^&gt;]+&amp;<b>amp;</b>spell=1[^&gt;]*&gt;(.+?)&lt;\/a&gt;/i&#039;, $page, $m)) {</pre>
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 31 May 2010 08:09:34 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,124900,124900#msg-124900</guid>
            <title>Module: Search Spelling</title>
            <link>https://www.phorum.org/support/read.php?62,124900,124900#msg-124900</link>
            <description><![CDATA[ This module queries Google&#039;s search engine for each search request to implement a &quot;Did you mean ...?&quot; function for the Phorum search pages. This will suggest alternative spellings for words that are possibly misspelled in the search query.<br />
<br />
To be able to query the Google web site, PHP must be configured to allow opening of URLs for file reading commands. This means that the php.ini option &quot;allow_url_fopen&quot; must be set to 1. If this option is disabled, then this module will not work.<br />
<br />
<pre class="bbcode">
Changelog:
----------

2016-08-31 v1.0.3 by Oliver Riesen-Mallmann &lt;oliver@riesen.org&gt;

    - Made XHTML 1.0 Transitional compliant.

2011-01-09 v1.0.2

    - Fixed the module to work with the latest Google pages.

    - Switched to using the HTTP GET Phorum API code for better compatibility.

    - Added new German language files. Thanks to Oliver Riesen!

2007-10-22 v1.0.1

    - Fixed a small bug which sneaked into the v1.0.0 code right before
      releasing it. This bug killed the search arguments in the
      search_action hook, causing the regular search to fail.

2007-10-17 v1.0.0

    - Initial release

</pre>]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 22 Oct 2007 07:05:44 -0500</pubDate>
        </item>
    </channel>
</rss>
