Page 1 of 1

Feed Dates Are Not Accurate

Posted: Fri Apr 20, 2012 1:55 pm
by therube
Feed Dates Are Not (necessarily) Accurate

The dates shown, if intended to be the date of the release (or #dev) are not accurate.
Wish they were.

http://noscript.net/feed?t=a
http://flashgot.net/feed?t=a

Re: Feed Dates Are Not Accurate

Posted: Fri Apr 20, 2012 7:26 pm
by DJ-Leith
I noticed the dates, for older releases, were not accurate.
At the time (09 March 2012) I did not think it was too important.

Following the Server Migration (on 07 April 2012) the feed
dates for releases BEFORE 07 April 2012 are now all "07 April 2012 00:01".

I documented this (by editing an old post) as I did not think it was too important.

http://forums.informaction.com/viewtopi ... eed#p35070

If it can be fixed easily then I would not object.
In the mean time, the dates at AMO are definitive.
DJ-Leith

Re: Feed Dates Are Not Accurate

Posted: Fri Apr 20, 2012 10:14 pm
by GµårÐïåñ
Last modified and creation dates can change if the files are re-written. So this is probably what happened after the migration. Hence why they are all reset. To the best of my knowledge, he doesn't actually manually code the dates for them, so that would have remained unchanged but using actual file meta-data, it has probably been wiped out with the move, not a big deal really. The older releases are more for archival purposes anyway and if you actually opened the XPI the files inside would tell you WHEN they were created, as those won't be affected.

Re: Feed Dates Are Not Accurate

Posted: Sat Apr 21, 2012 6:56 am
by Giorgio Maone
GµårÐïåñ was almost right, the creation time got flattened to the date of the migration, while the last modification time is still OK.
Therefore I changed the feed generation script to use mtime instead of ctime, and should be fine now.

Re: Feed Dates Are Not Accurate

Posted: Sat Apr 21, 2012 3:09 pm
by DJ-Leith
Thanks Giorgio,

I'm glad it was possible and not too time consuming on your part.
I have edited the other thread - to document that all is well. :D

Next is an illustration of my favourite feed:
the Recent all builds from noscript.net http://noscript.net/feed?c=200&t=a

Code: Select all

NoScript 2.1.2rc1
26 June 2011 17:00

x Fixed startup error in Nightly due to the merge of event target
  interfaces in bug 658714 (thanks Hydraxr for reporting)


NoScript 2.1.1.2

26 June 2011 14:12
x Fixed conflict with Firebug console
x Removed legacy code in content policy and ClearClick


NoScript 2.1.1.2rc9
25 June 2011 07:53

x Fixed surrogates causing duplicate history entries for some sites on
  Firefox 5
x Work around for bug 666371 breaking popunder surrogate and legitimate
  popups on some sites


NoScript 2.1.1.2rc8
23 June 2011 19:05

x Work-around for Mac OS X filepicker in Firefox 5 preventing exported
  configuration files from being reimported


NoScript 2.1.1.2rc7
22 June 2011 19:30

x Work-around for Nightly bug breaking the "View image" command
x Improved Google Analytics surrogate
DJ-Leith

Re: Feed Dates Are Not Accurate

Posted: Tue Apr 24, 2012 7:35 am
by GµårÐïåñ
Giorgio Maone wrote:GµårÐïåñ was almost right, the creation time got flattened to the date of the migration, while the last modification time is still OK.
Therefore I changed the feed generation script to use mtime instead of ctime, and should be fine now.
Or that :lol: I guess when you going blind without seeing the actual system, you have to make certain assumptions. At least I was in the neighborhood, thanks for tweaking the feed script to access the right mod dates. I am sure it will make people happy. I assumed the files got rewritten and so there went the mod dates but glad to know they were still intact and only the access/creation dates got toast.