Oh !

My mistake, the hint to add in the indexer.conf to ask udm-gw to deal with this 
program.
I also left the AddType lines. Use AddType Regex if udmsearch 3.1.

Sorry

AddType text/plain              \.pl$ \.js$ \.txt$ \.h$ \.c$ \.pm$ \.e$
AddType text/html               \.asp$ \.cfm$ \.cgi$ \.pl$
AddType text/html               \.html$ \.htm$
AddType text/html               \.shtml$ \.shtm$
AddType text/html               \.php3$ \.php$ \.php4$ \.phtml$ \.phtm$
AddType application/unknown     .*

### Mime types: applications
Mime application/octet-stream   text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime application/postscript     text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime application/dec-dx         text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime application/dca-rft        text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime application/rtf            text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime application/wordperfect5.1 text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime application/pdf            text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime application/zip            text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime application/msword         text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime application/sgml           text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime application/xml            text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime application/http           text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime application/x-tex          text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime application/x-latex        text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime application/x-texinfo      text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime application/x-bcpio        text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime application/x-cpio         text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime application/x-shar         text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime application/x-tar          text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime application/x-dvi          text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"

Mime application/unknown        text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"

### Mime types: documents
# Setting up text/plain & text/html makes indexer DoS
# Mime text/plain       text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
# Mime text/html        text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"

Mime text/richtext              text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
#Mime text/enriched             text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime text/tab-separated-values  text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime text/sgml                  text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime text/x-server-parsed-html  text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime text/css                   text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime text/xml                   text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime text/rtf                   text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime text/mixed                 text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"
Mime text/form-data             text/plain      "/udmsearch/bin/udm-gw -r -l 
/tmp/udm-gw-logs.err -s $1"



At 21:09 06/01/2001 +0100, Laurent LEVIER wrote:
>Cheers,
>
>To be able to index most of file formats, you need to have each parser. But as suffix 
>has never been the file format proof, I created for Unix (Windows?) systems this 
>parsing gateway.
>
>It is not yet finished, but works pretty well for now.
>
>This udm-gw PERL program can also be used for any indexing tool using stdout.
>
>udm-gw is able to deal with HTML, ASCII, DOC, RTF, XLS, PDF, PS, HPGL file formats.
>
>This even if they are present in 1 level archive of the following formats:
>tar, cpio, zip/winzip, arj, rar, lha, zoo, ace, gzip or compress.
>
>tar & cpio files can be gzip (.gz) or compress'd (.Z).
>
>Important: this script has been developped under Linux and is using mostly the magic 
>command and its output. Take care of this if you are on another platform.
>
>All the used programs (xpdf, catdoc, ...) are the best I met for these conversions. 
>If you find some others better, please tell me.
>Finally, notice that I planned to add other format once parsers tested (latex, ...).
>
>Ok, enough speeches ! udm-gw attached as file.
>
>Enjoy!
>
>
>
>
>
>
>Laurent LEVIER
>IT Systems & Networks, Unix System Engineer
>Security Specialist
>
>Argosnet Security Server : http://www.Argosnet.com
>"Le Veilleur Technologique", "The Technology Watcher"

Laurent LEVIER
IT Systems & Networks, Unix System Engineer
Security Specialist

Argosnet Security Server : http://www.Argosnet.com
"Le Veilleur Technologique", "The Technology Watcher"

______________
If you want to unsubscribe send "unsubscribe udmsearch"
to [EMAIL PROTECTED]

Reply via email to