last updated 9/13/01
To index PDF files, you will need to
Another option would be Prescript, from http://www.nzdl.org/cgi-bin/gw?a=page&p=Prescript
(Both require ghostscript 4.01 or greater)
*.pdf /path/to/processpdf.sh < *.PDF /path/to/processpdf.sh < *.pdf.gz /path/to/processpdf.sh -z < *.PDF.gz /path/to/processpdf.sh -z <
to the .glimpse_filters file in your archive directory.
NOTE: processpdf.sh assumes
pstotext is in your path - if not you will need to edit the script accordingly.
NOTE2: when saving processpdf.sh from the link above, you should delete the .txt extension. It is just there so you can view the script conveniently from netscape.
The reason we use processpdf.sh, is because .glimpse_filters works on STDIN, but pstotext requires random access for PDF files.
/bin/cat /home/WWW/proj/test/.wg_toindex | /usr/local/bin/glimpseindex -n -H /home/WWW /proj/test -o -t -h -X -U -f -C -F -z > /dev/null /bin/cat /home/WWW/proj/test/.wg_toindex | /usr/local/bin/glimpseindex -n -H /home/WWW /proj/test -o -t -h -X -U -f -C -F -z