info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nnml article filenames


From: Pranav K. Tiwari
Subject: Re: nnml article filenames
Date: Mon, 31 Oct 2005 10:59:15 +0530
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (windows-nt)

Steve Youngs <steve@youngs.au.com> writes:

> * Pranav K Tiwari <jpranav@cisco.com> writes:
>
>   > To allow desktop search programs go through nnml articles, I would
>   > like to give an extension like .xyz, and tell these programs to
>   > treat these files like email.
>
> I think this is the wrong approach.  Instead of modifying the
> filenames to suit the search program, find a way to make the search
> program work properly.
>
> It's really not that difficult, see...
>
>    $ find <nnmldir> -type f -regex '^.*[0-9]+$'
>

The question is not about 'finding' these files, but about associating a
'type' with the file. Most indexing programs (google/yahoo/microsoft
desktop search engines, X1) rely on file extensions to determine the
filetype, and then index the contens of the file accordingly. It'll be
good if they could deal with files with no extensions, but they don't
(afaik).

So - with that in mind, the easiest way would be to change the way gnus
nnml stores files, or write another backend that allows changing
filenames.

-p


reply via email to

[Prev in Thread] Current Thread [Next in Thread]