Page 2 of 2
Posted: Sat May 19, 2007 9:51 pm
Code now live
By the way, about the forums backlinking, if it isn't too much trouble for you to check that'd be great
Posted: Sat May 19, 2007 10:00 pm
I just realised that it still won't work for composer pages, because you can't feed it years that lie too far in the past... back to the drawing board.
You can leave it as it is for the moment however, since for the dates for which it is currently used it works correctly.
Posted: Sat May 19, 2007 10:03 pm
Ahh.... I was planning to tell you that but forgot :/ You can just spoof the year, and then force insert the year into the MW timestamp (the year is the first 4 digits of the timestamp). You will need to do some input validation and length checking though...
Posted: Sat May 19, 2007 10:21 pm
Actually I'll just do it right now
Posted: Sat May 19, 2007 10:50 pm
Shouldn't break, but if it does (i.e. if somehow the timestamp requests the weekday or something), prepare to see whatever it is at the Unix epoch
Posted: Sat May 19, 2007 10:56 pm
Great, thanks. (Actually I was thinking along the same lines; I was also wondering about the internal use of unix timestamps, but as far as I can tell there is no problem, since in our case they are actually never used.)
Should we work on the "add composer" interface next? We could also integrate the automatic PD tag
(if my proposed version is indeed correct). If that's OK with you, just let me know what needs to be done.
Posted: Sat May 19, 2007 11:04 pm
I've posted in the other thread about this
P.S. Now IMSLP passes W3C