Note:
=====
The output of the automatic keyword generator will used as an input to this class thus its inclusion on this class files.
TO DO:
======
1. Create a list of keyword and corresponding link.
$keyword_array = array(
"security" => "http://myscripts.itsp.info",
"state" => "http://myscripts.itsp.info",
"technology" => "http://myscripts.itsp.info",
"passport" => "http://myscripts.itsp.info",
"department" => "http://myscripts.itsp.info",
"passports" => "http://myscripts.itsp.info",
"radio" => "http://myscripts.itsp.info",
"bruce" => "http://myscripts.itsp.info"
);
This list could be an output from a database query.
Example1 shows this method.
2. Create a file for list of keyword and corresponding link. The file
"linkedKeywords.php" shows how to do this. A php file is used for better security.
Example2 shows this method.
3. Autolink class includes an "id" and "class" for easy formatting of linked keywords.
4. Replacement type:
CASE INSENSITIVE: $type = "i";
*This type of replacement is on example 1.
CASE SENSITIVE: $type = NULL
*This type of replacement is on example 2.
*This is the recommended replacement type to prevent proper words being replaced with
lower case letters.
|