Script to Automatically Create links from Provided Keywords??

finqfinq

Newbie
Joined
Jan 19, 2010
Messages
25
Reaction score
3
Hello,

I am looking for a tool of some description that will automatically create 100's of links like <a href="/my-keyword.html">My Keyword</a> from a text document.

Does anything like this exist?
 
Does nothing like this exist??

So for example I will have a list of keywords like

wardrobes
cupboards
carpets
curtains
double beds

and i want some script or software that will automatically create the links like

<a href="wardrobes.htm">wardrobes</a>
<a href="cupboards.htm">cupboards</a>
<a href="carpets.htm">carpets</a>

etc etc...

Any ideas?
 
MaxBlogPress ninja affiliate is what you need!
you can download it in this thread HERE

have fun!

oh, btw, i hope you were talking about a wordpress site. if not just ignore my post because that is a plugin for wordpress only :D
 
PHP:
<?

$keywords= file("keywords.txt");

foreach($keywords as $word){
echo "<a href=\"".$word.".htm\">".$word."</a><br>";
}

?>

Thanks, this is perfect. Just what I was looking for :)


...now how do I put that list into tables..
 
Code:
<?

$keywords= file("keywords.txt");

echo "<table>";
foreach($keywords as $word){
echo "<tr><td><a href=\"".$word.".htm\">".$word."</a></td></tr>";
}

echo "</table>";
?>

That puts each link in a new table row - not sure if that helps but you get the idea
 
Back
Top