Re: Date become crazy on footer

BABA Yoshihiko <[email protected]> Tue, 17 May 2005 10:39:38 +0900
Newsgroups gmane.os.apple.fink.i18n
Message-ID <[email protected]>
 
On Tuesday, May 17, 2005, at 04:40AM, Michèle Garoche <[email protected]> wrote:

>Maybe I've missed some steps in updating news.fr.xml, but it was good  
>yesterday (I mean the footer date was May 15th 2005 updated by me on  
>French page). And today it is February 01, 2005 updated by me on  
>French page and November 14th, 2004 updated by me??? on English page.
>
>I see that there is a need to update also sancho in some  
>circumstances, which I don't know which ones. Does it apply for news?  
>And in this case how should the loggin be done?
>
>Cheers,
>Michèle
><http://micmacfr.homeunix.org>

Michèle and other doc members,

There are several issues about the dates in the footer. I think I can fix them as follows:

1. root/index.php: 
(Current) The date is the date on which index.??.php is committed.
(Fix) The date is the date of index.??.php or news/news.??.inc, whichever is later.

2. XML based PHP files:
(Crrent) The date is put from the original XML file. If XML file is edited, and PHP files are generated before the XML file is committed, the author/date copied from XML file is about the previous commit.
(Fix) PHP Files should be modified to use CVS keywords as follows:
$cvs_author = '$Author$';
$cvs_date = '$Date$';

I think these fixes will require minor changes in xslt, header.inc and footer.inc.

Thank you

--
BABA Yoshihiko
Kyoto Center for Community Collaboration
Fink Support, Translation and Documentation Team


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click