I was trying to do a better job of supplying a 'document icon' other than
(guessing based on extension) in a PHP search interface (uses libhtdig).

Since we have the information at the time we call the external parsers, it
would seem the only barrier is a place to put it in the documentDB...

Ideas on implementations?

Thanks.

On Wed, 26 Mar 2003, Geoff Hutchison wrote:

> >     Has there been any thought to storing the MIME-type of a document
> > in the index?  An integer would do just fine for this..  I can't seem
> > to
> > find anything in classes like DocumentRef to indicate that anyone
> > has done this before.
>
> No, it hasn't been done yet. Probably not a bad idea as it could allow
> per-search restriction of MIME types (e.g. image-only searching or PDFs
> or ... well anything).
>
> I can think of a variety of good uses for such information (MIME and/or
> DTD info).
>
> -Geoff
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> _______________________________________________
> htdig-dev mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/htdig-dev
>

Neal Richter
Knowledgebase Developer
RightNow Technologies, Inc.
Customer Service for Every Web Site
Office: 406-522-1485




-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to