PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Eper Kalman  >  Keywords  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example script
Class: Keywords
Retrieve and suggest keywords for Web pages
Author: By
Last change:
Date: 2 years ago
Size: 344 bytes
 

Contents

Class file image Download
<?php
        error_reporting
(E_ALL);

        include
'keywords.class.php';

       
$keywords = new KeyWords();

       
$keywords->file('example.html');

       
# $keywords->readMetaKeyWords();

        # $keywords->readHtmlKeyWords();

       
$keywords->readAll();

        echo
'Keywords found :</br></br>';

       
$i = 1;

        foreach(
$keywords->get() as $word) echo $i++.". $word<br>";
?>