Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

[ NEW PLUGIN ] SpellChecker v1

Quote Reply
[ NEW PLUGIN ] SpellChecker v1
SpellChecker

This plugin is a great tool to add to your site. Based on search queries people make on your site, it recommends alternative suggestions. For example, if someone types in "computr" or "compuor", it would recommend "computer". Its amazing how many people make typos - and then wonder why they don't get any results to their query. It only requires a few lines of code to be added in to your templates, and can be used in both search.html, as well as search_results.html.

Also part of the following "packages";

  1. LinksSQL ULTRA Package
  2. LinksSQL ULTRA Package PRO


PRICE: $75 [ details ]

Plugin Description

This plugin is a great tool to add to your site. Based on search queries people make on your site, it recommends alternative suggestions. For example, if someone types in "computr" or "compuor", it would recommend "computer". Its amazing how many people make typos - and then wonder why they don't get any results to their query. It only requires a few lines of code to be added in to your templates, and can be used in both search.html, as well as search_results.html.

Plugin Requirements

  1. Gossamer Links 3.0.4+
  2. Lingua::Ispell Perl module [ instructions provided on installing this ]
  3. ispell - http://fmg-www.cs.ucla.edu/geoff/ispell.html [ instructions provided on installing this ]
  4. LINUX / UNIX server (won't work on NT, and old versions of MacOS)


Features

  1. Will provide spelling suggestions, linked to the re-made search.cgi query. For example, someone searches for "computr" it would have something like:
    computr - Suggestions- computer
  2. Provides up to 5 suggestions per word.
  3. Case insensitive.
  4. Easy to setup (only a few lines of template code to add in)
  5. Template based, so you can give the appearance your own look and feel


Sample Screen Shots

You can view screenshots here: http://www.ultranerds.com/...n/SpellChecker_L212/

If you have any questions, please don't hesitate to ask.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!

Last edited by:

Andy: Oct 30, 2008, 6:19 AM
Quote Reply
Re: [Andy] [ NEW PLUGIN ] SpellChecker v1 In reply to
Hi Andy,
nice idea :-)

I don't have the Lingua::Ispell Perl module and ispell on my server.
Is there a way to install it in a folder on my webspace like I did it before with the google pagerank plugin?

Thanks
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [ NEW PLUGIN ] SpellChecker v1 In reply to
Hi,

Unfortunately not. You could possibly get away with doing the Lingua::Ispell Perl module in a local folder - but the ISpell program actually needs to be installed as root - and as I remember, your host wasn't very helpful at this the last time :(

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [ NEW PLUGIN ] SpellChecker v1 In reply to
Andy wrote:
and as I remember, your host wasn't very helpful at this the last time :(

You are right, my host fears every new pearl module. I think he fears not the module, but the work to install it Wink
I will ask my host again...

Thanks
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [ NEW PLUGIN ] SpellChecker v1 In reply to
haha =)

Well, this one is a piece of cake. A friend of mine installed it on their server with just these instructions I gave them (as root, in SSH or Telnet):

Quote:
perl -MCPAN -e 'install Lingua::Ispell'
wget http://www.lasr.cs.ucla.edu/geoff/tars/ispell-3.3.02.tar.gz
gzip -d ispell-3.3.02.tar.gz
tar -xof ispell-3.3.02.tar
cd ispell-3.3.02
cp local.h.linux local.h
make all
make install

If he can't run them, then he shouldn't have a server Pirate

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [ NEW PLUGIN ] SpellChecker v1 In reply to
Hi Andy,
my host installed the module Angelic
Where can I get the SpellChecker.pm ?

Thanks
Matthias


Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [ NEW PLUGIN ] SpellChecker v1 In reply to
H,

Wahoo <G>

You can download it from the Members Area on our site Smile

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [ NEW PLUGIN ] SpellChecker v1 In reply to
Oh no I asked my host to install the module and not the programm.
It's the programm that must be intalled on root. I'm I right?
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [ NEW PLUGIN ] SpellChecker v1 In reply to
Matthias70 wrote:
Oh no I asked my host to install the module and not the programm.
It's the programm that must be intalled on root. I'm I right?
Matthias
Hi,

Yup, sure does.

May be worth trying anyway - could already be installed by some random fluke <G>

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [ NEW PLUGIN ] SpellChecker v1 In reply to
At the moment I get the following error
Code:
Unable to load plugin: SpellChecker (Can't locate Lingua/Ispell.pm in @INC (@INC contains: /www/htdocs/v030672/cgi-bin/unterricht/admin /usr/lib/perl5/5.8.8/i586-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at /www/htdocs/v030672/cgi-bin/unterricht/admin/Plugins/SpellChecker.pm line 20.
BEGIN failed--compilation aborted at /www/htdocs/v030672/cgi-bin/unterricht/admin/Plugins/SpellChecker.pm line 20.
Compilation failed in require at admin.cgi line 205.
) at admin.cgi line 207.

So I think the Ispell programm is not installed.
I'm asking my host again ;-)

Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [ NEW PLUGIN ] SpellChecker v1 In reply to
Hi,

Sounds like he didn't install the module at all :/ (you shouldn't be getting that error if the module is installed, even is ispell isn't installed :/)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [ NEW PLUGIN ] SpellChecker v1 In reply to
Andy wrote:
Sounds like he didn't install the module at all :/ (you shouldn't be getting that error if the module is installed, even is ispell isn't installed :/)
Cheers

Hi Andy,
you are right :-(
My host just answered "We can not install the modul in case of system admininstration"
What ever that means???
My host is cheap so I shouldn't be too angry...

Anyway thanks for your help Andy
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [ NEW PLUGIN ] SpellChecker v1 In reply to
Hi,

Ah well, you can't win them all :(

Quote:
My host is cheap so I shouldn't be too angry...

You get what you pay for ;)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [ NEW PLUGIN ] SpellChecker v1 In reply to
Actually I would say they are behaving responsibly. Any host that installs whatever they are asked to is NOT a good host and not vice versa.
Quote Reply
Re: [Andy] [ NEW PLUGIN ] SpellChecker v1 In reply to
Hi,

Version 1.1 is now available from the Members Area of our site. This is just a small bug fix, which was causing problems when someone entered certain charachters (the regexp wasn't being terminated, so gave a fatal error). Anyone using this plugin, please be sure to update - so you/your users don't come across this issue Smile

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [ NEW PLUGIN ] SpellChecker v1 In reply to
Hi Andy

Ispell module is installed per host and just checked it..
The plug in installed fine but nothing shows up on results page..

Any ideas?
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] [ NEW PLUGIN ] SpellChecker v1 In reply to
Hi,

Did you add the codes into search.html and search_results.html, as per the Readme? Smile (always worth asking the simple questions first ;))

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [ NEW PLUGIN ] SpellChecker v1 In reply to
Yes I did.
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] [ NEW PLUGIN ] SpellChecker v1 In reply to
Please send over details, and I'll take a peek (preferaby via email :))

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!