Ill look into this when I get home as well. I have a snipping script somewhere in my archives just for this.
Ill email once complete unless someone beats me to it DW ------Original Message------ From: Aaditya Bhatia Sender: [email protected] To: Ubuntu US California Subject: Re: [Ubuntu-US-CA] Karmic Countdown Sent: Oct 13, 2009 11:37 On Mon, Oct 12, 2009 at 3:22 PM, Robert Wall <[email protected]> wrote: > > On Mon, Oct 12, 2009 at 2:29 PM, Grant Bowman <[email protected]> wrote: > > The Karmic version was announced here. > > http://fridge.ubuntu.com/node/1922 > > Is there a non-Javascript image that still counts down, like the one > that the front page had for Jaunty? Following PHP script will serve the desired countdown image. It is nearly usable (untested though), and needs to be pointed at from the <img> tag upon being hosted. <?php header("Content-type: image/png"); $dayOfMonth = date("d"); header("Expires: Thu, $dayOfMonth Oct 2009 23:59:59 GMT"); $daysLeft = 29 - $dayOfMonth; $ch = curl_init("http://www.ubuntu.com/files/countdown/910/countdown-9.10-1/" + $daysLeft + ".png"); curl_exec($ch); curl_close($ch); exit(0); // do not end this (or any) php script with ?>, to avoid outputting unintended extra whitespaces at the end -- Ubuntu-us-ca mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-ca -- Ubuntu-us-ca mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-ca
