I'd like a script which will automatically generate webpages for me, based on a list of keywords and/or keyphrases which I designate each time I run the script. This is similar to a doorway page generator, but I want each page to only feature one keyword. If I list 300 keywords, I want the program to automatically create 300 different webpages, one for each keyword/phrase.
For example, if one of the keywords is "widgets", I want a the script to generate a page called widgets.htm. I want the meta tags for Title, Description, and Keywords to be filled in with widgets". Visible on the page as a headline, I want the word "widgets" to appear. I also want the word to appear multiple times in a paragraph, including one hyperlinked instance in the paragraph. Finally, I want the keyword used as anchor text in a hyperlink to a url I've designated.
The resulting page might look like this:
[url removed, login to view]
I'd really like it if the output was templated, so I could specify the location for particular fields and occasionally change the overall look of the pages being generated. It would also be great if I could specify the paragraph of text to be used for the random text section (a paragraph where the keyword would be inserted randomly when the page was generated).
To summarize, I want to start a project by entering a keyword list, a url, and a paragraph of text, and have an html page generated for each keyword in the format described. It could either run on my Windows XP desktop or my Linux server. I prefer php to perl but am flexible. These pages will just be stepping stones for me to build websites around, so they don't need to be works of art. I just want the foundations set so I don't have to waste time on redundant tasks.