Diff for /annozilla/www/annozilla-update-test.rdf.php between versions 1.4 and 1.5

version 1.4, 2006/07/22 15:40:23 version 1.5, 2006/07/22 15:44:02
Line 1 Line 1
 <?php  <?php
  header('Content-type: application/rdf+xml');  header('Content-type: text/xml');
// calc an offset of 1 minute  $expire = "Expires: " . gmdate("D, d M Y H:i:s", time() + 3600) . " GMT";
  $offset = 60;  header($expire);
// calc the string in GMT not localtime and add the offset 
  $expire = "Expires: " . gmdate("D, d M Y H:i:s", time() + $offset) . " GMT"; 
//output the HTTP header 
  Header($expire); 
 ?><?xml version="1.0"?>  ?><?xml version="1.0"?>
 <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"  <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:em="http://www.mozilla.org/2004/em-rdf#">      xmlns:em="http://www.mozilla.org/2004/em-rdf#">

Removed from v.1.4  
changed lines
  Added in v.1.5


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>