namazu-users-en
[Top] [All Lists]

[Namazu-users-en] Re: What about images/EXIF ?

2006-12-03 03:54:47
Gauthier Vandemoortele wrote:

I've installed this filter with the others in usr/share/namazu/filter/,
installed the required modules Image::Info, IO::String (making the "make
test" and all seems ok).

First of all, because image.pl is not what Namazu Project made it, 
the support is off the subject. 

But, I think the failure in the installation of Image::Info or 
IO::String. 

Do you see some explanations ?

System: linux
Namazu: 2.0.16
Perl: 5.008004
File-MMagic: 1.25
NKF: no
KAKASI: no
ChaSen: no
MeCab: no
Lang_Msg: C
Lang: C
Coding System: euc
CONFDIR: /etc/namazu
LIBDIR: /usr/share/namazu/pl
FILTERDIR: /usr/share/namazu/filter
TEMPLATEDIR: /usr/share/namazu/template
Supported media types:   (37)
Unsupported media types: (11) marked with minus (-) probably missing 
application in your $path.
  application/excel: excel.pl
...
- image/bmp: image.pl
- image/gif: image.pl
- image/jpeg: image.pl
- image/png: image.pl

The image.pl filter is invalid. 

How do it become it if the following command is executed?

$ perl -e "use Image::Info;"
$ perl -e "use IO::String;"


Here is my /etc/namazu/mknmzrc.img
...
#
# This pattern specifies file names which will be targeted.
# NOTE: It can be specified by --allow=regex option.
#       Do NOT use `$' or `^' anchors.
#       Case-insensitive.
#
  $ALLOW_FILE = ".*\\.jpg|.*\\.jpeg" .             # Jpeg files
                "|.*\\.png" .                      #
                "|.*\\.gif"                        #
;

need $DENY_FILE. The image file is included in $DENY_FILE in default 
if it doesn't set it. 

$DENY_FILE = ".*\\.tar\\.gz|core|.*\\.bak|.*~|\\..*|\x23.*";
-- 
=====================================================================
TADAMASA TERANISHI  yw3t-trns(_at_)asahi-net(_dot_)or(_dot_)jp
http://www.asahi-net.or.jp/~yw3t-trns/index.htm
Key fingerprint =  474E 4D93 8E97 11F6 662D  8A42 17F5 52F4 10E7 D14E

_______________________________________________
Namazu-users-en mailing list
Namazu-users-en(_at_)namazu(_dot_)org
http://www.namazu.org/cgi-bin/mailman/listinfo/namazu-users-en

<Prev in Thread] Current Thread [Next in Thread>