CGI::Application::Search::Tutorial

CGI::Application::Search::Tutorial is a how do we use this thing? tutorial.
Download

CGI::Application::Search::Tutorial Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Michael Peters
  • Publisher web site:
  • http://search.cpan.org/~wonko/CGI-Application-Dispatch-2.12/lib/CGI/Application/Dispatch.pm

CGI::Application::Search::Tutorial Tags


CGI::Application::Search::Tutorial Description

CGI::Application::Search::Tutorial is a how do we use this thing? tutorial. CGI::Application::Search::Tutorial is a how do we use this thing? tutorial.Need information on how to setup Swish-e for use with CGI::Application::Search?Need more information on using the AJAX capabilities of CGI::Application::Search?Then you've come to the right placeBRIEF SWISH-E TUTORIALYou can skip this section if you're a Swish-e veteran. Otherwise, read on for a step-by-step guide to adding a search interface to your site using CGI::Application::Search.Step 1: Install Swish-eThe first thing you need to do is install Swish-e. First, download it from the swish-e site: http://swish-e.orgThen unpack it, cd into the directory, build and install: tar zxf swish-e-2.4.3.tar.gz cd swish-e-2.4.3 ./configure make make installYou'll also need to build the Perl module, SWISH::API, which this module uses: cd perl perl Makefile.PL make make installStep 2: Setup a Config FileThe first step to setting up a swish-e search engine is writing a config file. Swish-e supports a smorgasborg of configuration options but just a few will get you started. # index all HTML files in /path/to/index IndexDir /path/to/index IndexOnly .html .htm IndexContents HTML2 .html .htm # C::A::Search needs a description, use the first 1,500 characters # of the body StoreDescription HTML2 1500 # remove doc-root path so links will work on the results page ReplaceRules remove /path/to/indexPut the above in a file called swish-e.conf.NOTE: The above is a very simple swish-e.conf file. To bask in the power and flexibility that is swish-e, please see the official documentation. Requirements: · Perl


CGI::Application::Search::Tutorial Related Software