SiSU -->
TOC linked  toc  Full Text  scroll  PDF portrait   pdf  PDF landscape   pdf  ODF/ODT  odt    A-Z  Document Manifest  @
<< previous TOC next >>
< ^ >

SiSU

Manual

Ralph Amissah

copy @ SiSU

SiSU - Manual,
Ralph Amissah

 

  1

 

  2

 

  392

 

28. Hyperestraier

  1069

See the documentation for hyperestraier:

  1070

<http://hyperestraier.sourceforge.net/>

  1071

/usr/share/doc/hyperestraier/index.html

  1072

man estcmd

  1073

on sisu_hyperestraier:

  1074

man sisu_hyperestraier

  1075

/usr/share/doc/sisu/sisu_markup/sisu_hyperestraier/index.html

  1076

NOTE: the examples that follow assume that sisu output is placed in the directory /home/ralph/sisu_www

  1077

(A) to generate the index within the webserver directory to be indexed:

  1078

estcmd gather -sd [index name] [directory path to index]

  1079

the following are examples that will need to be tailored according to your needs:

  1080

cd /home/ralph/sisu_www

  1081

estcmd gather -sd casket /home/ralph/sisu_www

  1082

you may use the 'find' command together with 'egrep' to limit indexing to particular document collection directories within the web server directory:

  1083

find /home/ralph/sisu_www -type f | egrep '/home/ralph/sisu_www/sisu/.+?.html$' |estcmd gather -sd casket -

  1084

Check which directories in the webserver/output directory (~/sisu_www or elsewhere depending on configuration) you wish to include in the search index.

  1085

As sisu duplicates output in multiple file formats, it it is probably preferable to limit the estraier index to html output, and as it may also be desirable to exclude files 'plain.txt', 'toc.html' and 'concordance.html', as these duplicate information held in other html output e.g.

  1086

find /home/ralph/sisu_www -type f | egrep '/sisu_www/(sisu|bookmarks)/.+?.html$' | egrep -v '(doc|concordance).html$' |estcmd gather -sd casket -

  1087

from your current document preparation/markup directory, you would construct a rune along the following lines:

  1088

find /home/ralph/sisu_www -type f | egrep '/home/ralph/sisu_www/([specify first directory for inclusion]|[specify second directory for inclusion]|[another directory for inclusion? ...])/.+?.html$' | egrep -v '(doc|concordance).html$' |estcmd gather -sd /home/ralph/sisu_www/casket -

  1089

(B) to set up the search form

  1090

(i) copy estseek.cgi to your cgi directory and set file permissions to 755:

  1091

sudo cp -vi /usr/lib/estraier/estseek.cgi /usr/lib/cgi-bin

  1092

sudo chmod -v 755 /usr/lib/cgi-bin/estseek.cgi

  1093

sudo cp -v /usr/share/hyperestraier/estseek.* /usr/lib/cgi-bin

  1094

[see estraier documentation for paths]

  1095

(ii) edit estseek.conf, with attention to the lines starting 'indexname:' and 'replace:':

  1096

indexname: /home/ralph/sisu_www/casket

  1097

replace: ^file:///home/ralph/sisu_www{!}

  1098

replace: /index.html?${{!}}/

  1099

(C) to test using webrick, start webrick:

  1100

sisu -W

  1101

and try open the url: <http://localhost:8081/cgi-bin/estseek.cgi>

  1102

^

 
SiSU -->
TOC linked  toc  Full Text  scroll  PDF portrait   pdf  PDF landscape   pdf  ODF/ODT  odt    A-Z  Document Manifest  @
<< previous TOC next >>
< ^ >

SiSU

Output generated by SiSU 0.59.0 2007-09-23 (2007w38/0)
SiSU Copyright © Ralph Amissah 1997, current 2007. All Rights Reserved.
SiSU is software for document structuring, publishing and search,
www.jus.uio.no/sisu and www.sisudoc.org
w3 since October 3 1993 ralph@amissah.com

SiSU using:
Standard SiSU markup syntax,
Standard SiSU meta-markup syntax, and the
Standard SiSU object citation numbering and system, (object/text positioning system)
Copyright © Ralph Amissah 1997, current 2007. All Rights Reserved.

GPLv3

SiSU is released under GPLv3 or later, <http://www.gnu.org/licenses/gpl.html>

SiSU, developed using Ruby on Debian/Gnu/Linux software infrastructure, with the usual GPL (or OSS) suspects.
Better - "performance, reliability, scalability, security & total cost of ownership" [not to mention flexibility & choice] use of and adherence to open standards (where practical and fair) and it is software libre.
Get With the Future Way Better!



idx txt


SiSU manual


SiSU