Diff for /annozilla/www/annozilla-update-test.rdf.php between versions 1.3 and 1.6

version 1.3, 2006/07/22 15:39:17 version 1.6, 2006/07/22 15:47:01
Line 1 Line 1
 <?php  <?php
  header('Content-type: application/rdf+xml');  header('Content-type: text/xml');
// calc an offset of 1 hour  $expire = "Expires: " . gmdate("D, d M Y H:i:s", time() + 60) . " GMT";
  $offset = 3600;  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.3  
changed lines
  Added in v.1.6


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