<html>
 
<head>
 
<title>Metatag Test Page</title>
 
<?php
 
require 'Metatags.php';
 
 
echo Metatags::cType();
 
echo Metatags::cLanguage();
 
echo Metatags::cScriptType();
 
echo Metatags::cStyleType();
 
echo Metatags::target();
 
echo Metatags::expires(strtotime('+1 week'));
 
echo Metatags::noCaching();
 
echo Metatags::robots('noindex');
 
echo Metatags::keywords(array('metatags', 'php', 'test', 'class'));
 
echo Metatags::descr('This is a test page for the class Metatags.php');
 
echo Metatags::date();
 
echo Metatags::revisit(10);
 
 
echo Metatags::name('Generator' , 'Metatags.php');
 
echo Metatags::name('Author' , 'me');
 
echo Metatags::refresh(10, "http://www.phpclasses.org");
 
?>
 
</head>
 
 
<body>
 
Metatags.php test page
 
</body>
 
 
</html>
 
 
 |