get_gexf_xml( $data ); if (!$xml) _fail(); header('Content-Type: text/xml;'); header('Expires: '.gmdate("D, d M Y H:i:s", time()+max($conf['cachetime'], 3600)).' GMT'); header('Cache-Control: public, proxy-revalidate, no-transform, max-age='.max($conf['cachetime'], 3600)); header('Pragma: public'); http_conditionalRequest($time); echo $xml; function _fail() { header("HTTP/1.0 404 Not Found"); header('Content-Type: text/xml'); exit; } ?>