Feed Dates Are Not Accurate

Discussion about the board itself, forums organization and site bugs.
Post Reply
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Feed Dates Are Not Accurate

Post 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
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20120420 Firefox/13.0a2 SeaMonkey/2.10a2
DJ-Leith
Senior Member
Posts: 149
Joined: Thu Aug 04, 2011 4:23 pm

Re: Feed Dates Are Not Accurate

Post 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
Mozilla/5.0 (Windows NT 6.0; rv:11.0) Gecko/20100101 Firefox/11.0
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3365
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: Feed Dates Are Not Accurate

Post 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.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20100101 Firefox/11.0
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Feed Dates Are Not Accurate

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0
DJ-Leith
Senior Member
Posts: 149
Joined: Thu Aug 04, 2011 4:23 pm

Re: Feed Dates Are Not Accurate

Post 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
Mozilla/5.0 (Windows NT 6.0; rv:11.0) Gecko/20100101 Firefox/11.0
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3365
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: Feed Dates Are Not Accurate

Post 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.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.152 Safari/535.19 Comodo_Dragon/18.1.2.0
Post Reply