PHP Classes

File: testMetatags.php

Recommend this page to a friend!
  Classes of L  >  Metatags  >  testMetatags.php  >  Download  
File: testMetatags.php
Role: Example script
Content type: text/plain
Description: example
Class: Metatags
Class for creating meta tags
Author: By
Last change:
Date: 19 years ago
Size: 749 bytes
 

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>

For more information send a message to info at phpclasses dot org.