| 1 |
|
| 2 |
|
| 3 |
HTML::Highlight - A module to highlight words or patterns in HTML documents |
| 4 |
|
| 5 |
This module provides colour Google-style highlighting of words or |
| 6 |
patterns in HTML documents. This feature is typically used to highlight |
| 7 |
search results. Each specified pattern or word is highlighted using |
| 8 |
a different color. |
| 9 |
|
| 10 |
This module was originaly created to work together with fulltext |
| 11 |
indexing module DBIx::TextIndex, but it can be used independently. |
| 12 |
|
| 13 |
Need for a highlighter that supports wildcards and phrases and takes |
| 14 |
HTML tags into account was my motivation to create the module. |
| 15 |
|
| 16 |
|
| 17 |
INSTALLATION: |
| 18 |
|
| 19 |
perl Makefile.PL |
| 20 |
make |
| 21 |
make test |
| 22 |
|
| 23 |
(become root) |
| 24 |
|
| 25 |
make install |
| 26 |
|
| 27 |
|
| 28 |
DOCUMENTATION: |
| 29 |
|
| 30 |
perldoc HTML::Highlight |
| 31 |
|
| 32 |
|
| 33 |
LICENSE |
| 34 |
|
| 35 |
Copyright (C) 2000 Tomas Styblo ([email protected]) |
| 36 |
|
| 37 |
This module is free software; you can redistribute it and/or modify it |
| 38 |
under the terms of either: |
| 39 |
|
| 40 |
a) the GNU General Public License as published by the Free Software |
| 41 |
Foundation; either version 1, or (at your option) any later version, |
| 42 |
or |
| 43 |
|
| 44 |
b) the "Artistic License" which comes with this module. |
| 45 |
|
| 46 |
This program is distributed in the hope that it will be useful, |
| 47 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 48 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either |
| 49 |
the GNU General Public License or the Artistic License for more details. |
| 50 |
|
| 51 |
You should have received a copy of the Artistic License with this |
| 52 |
module, in the file ARTISTIC. If not, I'll be glad to provide one. |
| 53 |
|
| 54 |
You should have received a copy of the GNU General Public License |
| 55 |
along with this program; if not, write to the Free Software |
| 56 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
| 57 |
USA |
| 58 |
|