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

[Namazu-users-en] Re: Problems with date sorts

2007-01-12 21:58:22
Lindsay Haisley wrote:

Does date information accurately follow the form of RFC2822 by
all documents of MailMan?

Is there mail with an illegal Date: field ?

Please show the Date: field of the mail.

OK, here is an example.  I used the following query:

http://www.kca-tx.org/mailman/kca/namazu.cgi?query=Laptop&submit=Search%21&idxname=kca&max=100&result=short&sort=date%3Aearly

Here's the result:

1. win 98SE (score: 2)
    /pipermail/kca/2002-September/000192.html (4,152 bytes)
...
You can see from path names that these are out of order.  Here are the Date
fields in each of these, copy-n-pasted from the files themselves:

Sun Sep 22 14:07:51 CDT 2002 
Fri Jul 19 11:54:00 CDT 2002
Fri Aug 23 08:44:57 CDT 2002
Mon Mar  3 10:14:12 CST 2003
Tue Jan 14 17:37:11 CST 2003

To begin with, Date of pipermail was not RFC2822 form. 
However, Date of pipermail is correctly reflected in the field 'Date'.

Then, let's examine the time stamp of pipermail file next. 
For instance, please confirm the following file and confirm the date
by 'ls -alF'. 

    /pipermail/kca/2002-September/000192.html
    /pipermail/kca/2002-July/000052.html
    /pipermail/kca/2002-August/000103.html
    /pipermail/kca/2003-March/000353.html
    /pipermail/kca/2003-January/000331.html

It might be not corresponding to Date of the content of the time stamp 
and the file. 

The date sorting is a function to sort the time order of the stamp. 
There are two kinds of methods of solving this problem. 

One is a method of changing the time stamp of the file according 
to information on Date of contents of the file. 

Another one is a method of using the field sorting UTC function. 
Do you know the method of setting the field sorting UTC function?
--
=====================================================================
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>