* Pranav K Tiwari <[EMAIL PROTECTED]> writes:
> Steve Youngs <[EMAIL PROTECTED]> writes:
>> * Pranav K Tiwari <[EMAIL PROTECTED]> 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.
But if you can find them, there's really no point in associating a
"type" to them.
$ find <nnmldir> -type f -regex '^.*[0-9]+$' | \
xargs some_app_needing_mail_files_as_input
> 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).
Yes they do. For example:
<http://homepage.mac.com/pauljlucas/software/swish/>
> 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.
Maybe you should say what it is exactly that you want to do with your
nnml files.
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| Te audire no possum. |
| Musa sapientum fixa est in aure. |
|----------------------------------<[EMAIL PROTECTED]>---|
_______________________________________________
Info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english