Login   Register  
PHP Classes
elePHPant
Icontem

File: testMetatags.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Lennart Groetzbach  >  Metatags  >  testMetatags.php  
File: testMetatags.php
Role: Example script
Content type: text/plain
Description: example
Class: Metatags
Class for creating meta tags
 

Contents

Class file image Download
<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>