I need a script that replaces a city/country name in an already existing .htm page with a new country/city name from a list and then builds a new .htm page for each of the cities/countries in the list.
The script would use one .htm page as a "template" and then from a list of cities/countries build new .htm pages that replaces the country/city that is listed in the template with a country or city from the list (It has to build pages for all countries and cities in the list).
The replacement has to be made in the description, the title, keywords and througout the whole page including replacing the country/city in links.
The script must also change country/city names in links at the bottom at the page. These links will also come from the same list of countries/cities and they must be replaced randomly in 15 links at the bottom of the page (meaning that each page should have a unique combination of these 15 links).
There are two requirements regarding the links, first they have to be in all lower-cases. (all other replacements must have the first letter capitalized as from the provided list) One requirement is that if a city/country consists of more than 1 word it has to be written like this in the link "los-angeles" and not "Los Angeles".
In the left column of the page the names of some cities are listed that should be listed permanently and not to be replaced. The pages must be saved using the name we specify, something like this:
[url removed, login to view]
We will give more information such as what the template looks like, including what should be replaced and what it would look like when finished to programmers that asks about it on the message board.
Hi Esko! I can help you create the pages (I'm quite familiar with that type of work). Can I have a look at your template, please? Thank you! Ilshat