Login   Register  
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 Oliver Leuyim Angel  >  SEO keywords suggest  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example for use this class
Class: SEO keywords suggest
Extract relevant keywords from Web pages
Author: By
Last change:
Date: 1 year ago
Size: 715 bytes
 

Contents

Class file image Download
<?php 

if(!empty($_REQUEST["url"])){

        include 
'class.keywords.php';

        
$keywords = new keywordsugest();
        
$keywords->_lang 'es';
        
$keywords->_encoding 'iso-8859-1';
        
$keywords->_catego 'telecom';
        
$keywords->_keyCount 100// is like the porcent %
        
$keywords->file($_REQUEST['url']);

        
#$keywords->readMetaKeyWords();

        #$keywords->readHtmlKeyWords();

        
$keywords->readAll();

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

        
$i 1;

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

echo 
"<form method='post'><input type='text' name='url'><input type='submit'></form>";
        

?>