=== BugMaN1 is now known as BugMaN [15:23] hello [20:39] hi guys :D anyone around thats familiar with the implementation of ubuntu.com's drupal theme? [20:41] I'm trying to detect updates to any one of these pages, in an efficient way(other than full download would be prefered)... but one seem to have last-modified header [20:41] "http://www.ubuntu.com/taxonomy/term/2/0","http://www.ubuntu.com/usn", "http://www.ubuntu.com/taxonomy/term/2/0/feed" [20:42] I'm told that reply headers are simply implemented via listing in a $headers variable in the template file, and am wondering if last-modified is infact implemented, and is just getting zapped by the cache-proxy, or if there is some other method I could be using to detect changes to these pages [21:10] hey mpt [21:10] hi rxMokka [21:11] would you happen to be familiar with ubuntu.com's implementation of the drupal theme? [21:12] the http reply headers are my specific interest [21:36] rxMokka, not at all [21:36] sorry [21:36] newz2000 is the expert on that [21:36] hi [21:37] rxMokka: what is it you need to know? [21:41] newz2000: I'm wanting to know if last-modified header is enabled in drupal, and getting filtered out by the cache-proxy [21:41] or if its not enabled, and could be [21:42] I'm working on an outomated monitoring script for USNs, and would rather not download the entire USN feed to see if its been changed... if there's a possibility to just pull the http reply headers and check a last-modified [21:42] we have a squid proxies in between drupal and you. We've made some custom modifications in order to make drupal play nice with squid. [21:42] ah, I see [21:42] the Age header seems like it could get out of sync too easily to depend on [21:43] and judging by wikipedia description, Date's not quite what I'm looking for either [21:43] but I could be way wrong on date [21:43] rxMokka: not currently but if you want to file a launchpad bug against ubuntu-website product I'll investigate it when we migrate to Drupal 6 [21:43] newz2000: no chance its as easy as adding ', last-modified' to the tpl.php's $headers variable? [21:44] sorry, but it's not [21:44] bummer [21:44] a lot on the page can change besides the node content [21:45] newz2000: it'd still work for me even if last-modified changed to reflect non-node changes... since I would beable to just look at the http://www.ubuntu.com/taxonomy/term/2/0/feed page, with no content except for node content [21:46] but I can see how it could confuse the clients of other users looking at main-site pages :/ [21:47] but then again, with no last-modified currently in use, isn't everyone's client requesting a full fresh copy every time anyway? [21:47] * newz2000 checks [21:48] correct, there is no support for if-modified-since / conditional get with the system the way it's currently configured [21:49] I have written code for this type of thing for another CMS and can attest that there are a lot of variables and it is not trivial to implement. [21:49] ah ok [21:49] well thanks newz2000 [21:50] always happy to try and help [21:50] I'll put in a bug request, and make due with some slightly pulls in the mean time [21:50] as an alternative you can subscribe to the security announcement list [21:50] *some slightly larger [21:50] the security team triggers the emails the same time they update the rss feed [21:50] so you could subscribe a unique address and use incoming mails to that as a trigger to pull the rss [21:51] oh cool, they did not mention that an email was auto-triggered by the USN publication [21:51] well, that's the way it used to be. They have an automation system that does something like this. [21:51] I may not have a complete understanding of the process but it's something like that [21:52] looks like they use the same drupal template to generate the email formats as well [21:52] I'll checkout their tool on launchpad and verify its operation, nice pointer thanks!