Automatic Word Linking Like 'Wikipedia'

ashwinsinha

New Member
Messages
278
Reaction score
0
Points
0
Is there any way i can add a javascript or something to my website's pages so that certain words on every page regarded or regardless of the case automatically hyperlink to another web page as directed in the javascript or in any other document.
For Example,
I add the script in the head section of each page,
HTML:
<head>
<script src="autolink.js"> </script>
</head>

In the javascript it is specified,
HTML:
ubisoft = http://www.ubi.com/

Therefore, all the words in my HTML document named as ubisoft are automatically hyper linked to the page.

It's pretty easy to work around a functional script using VBscript or javascript except for adding the link part to it.
So if anyone could actually get around with something or help me with a pre-available script for free or so or if would give me a link, i'd be greatful !

Remember, It is not impossible, it's there in the wikis that use xml.
If you find a feature like this for wordpress or a wordpress plugin, it'll be further pleasure like an ice-cream with a topping !

Thanking You,
- Ashwin Sinha
 

xmakina

New Member
Messages
264
Reaction score
0
Points
0
If it's an option, using PHP would be much better. Use the replace function against the words and it'll replace the first instance of a word.
 
Top