Tom's Newbie Booster

Magic Words Script
Magically Replaces Certain Words With A Link

Freeware
Version 1.0



Description

This is a script which will make certain words in a webpage become a link. Let's say you were making a page and every time you typed 'foot fetish', you wanted that to link to a foot fetish sponsor. This script does that automatically for you. It's going to be better to look at an example:

http://www.tomsnewbiebooster.com/resources/magic-words/example-page.php

Here, you'll see that certain words within the text have become links. But I did not manually add code to make those words links. It was done dynamically by the script when you just visited that page.

Here's the actual body of that page:

Hello there! This is a webpage! And if I write Tom's Newbie Booster, then it should become a link...

<BR><BR>

OK, that seemed to work. Now how about if I type some more text, and then I happen to type Google. I wonder if that will also become a link? Yep, looks like that works too...

<BR><BR>

So that means that any time I type Google, or Tom's Newbie Booster on this page, they will become links. This could save some time when you're writing about sponsors, paysites, niches or anything else on your web pages.

<BR><BR>

OK, so let's try something adult related now. I'm going to type sexy feet, and that should be replaced with a link to one of my foot sites. Wahoo! That seemed to work too.

<BR><BR>

So now, whenever I type sexy feet, google, or Tom's Newbie Booster, they'll be replaced by a link.


You can see, there's no links. The script opens up a database file called list.txt - which you can see here:

http://www.tomsnewbiebooster.com/resources/magic-words/list.txt

And then makes the words shown on the left of the | become linked to the words on the right. There's no limit to the number of words you could add in there. You could fill it with every sponsor link you have, and have that linked to certain words. Or use it to interlink between your sites. Or even for mainstream projects.


Download & Installation

There's not much to set up on this script.

1) Download this file: Magic Words

2) Unzip the files.

3) Edit the HTML part in example-page.php

4) Rename it hot-sex.php - or whatever you'd like to call it.

5) Upload it.

6) Repeat for other pages.

NOTE: When adding in or editing HTML code, the " character will cause problems. Either use HTML with no " characters, as in my example, or use /" to escape the character.

That's about it. Give me a shout if you get stuck...


Enter Tom's Newbie Booster here
More tips, scripts and help...