The uploaded file
CGI-Application-Search-1.00.tar.gz
has entered CPAN as
file: $CPAN/authors/id/W/WO/WONKO/CGI-Application-Search-1.00.tar.gz
size: 52509 bytes
md5: 273d2198220ae897de7e39720e05c700
NAME
CGI::Application::Search - Base class for CGI::App Swish-e site engines
SYNOPSIS
package My::Search;
use base 'CGI::Application::Search';
sub cgiapp_init {
my $self = shift;
$self->param(
'SWISHE_INDEX' => 'my-swishe.index',
'TEMPLATE' => 'search_results.tmpl',
);
}
#let the user turn context highlighting off
sub cgiapp_prerun {
my $self = shift;
$self->param('HIGHLIGHT' => 0)
if($self->query->param('highlight_off'));
}
1;
DESCRIPTION
A CGI::Application based control module that uses Swish-e API in perl
(<http://swish-e.org>) to to perform searches on a swish-e index of
documents.
Features
* Sub-Classable. Unlike the Perl examples that come with swish-e, this
is not a script, and can be customized without modifiying the original
so that several sites may share the same underlying code.
* Uses CGI::Application::Plugin::AnyTemplate to allow flexibility in
template engine choice (HTML::Template, Template-Toolkit or Petal).
* Built-in templates to use out of box or as examples for your own
templates
* HiLighted search results
* HiLighted pages linked from search results
* AJAX results sent to page without need of a page reload
* AJAX powered 'auto-suggest' to give the user list of choices available
for search
--
Michael Peters
Developer
Plus Three, LP
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]