isp

Generating the title's for alot of HTML pages
Menu

Fri Nov 21 2008

Web-Mastery Webmaster Forum

Fri Nov 21 2008

Home

Generating the title's for alot of HTML pages


Describe what you're doing. Are you going to create all these pages brand new and rename them?


The pages are allready created and there are about 20,000 HTML files, but all have just raw text right now. They are all on my computer.


You need to make a template. Most likely it will consist of the header and the footer. Then you can take each file, parse it with the header and footer and then save it as a keyword-keyword.html file. Pretty much a loop that starts at the first and runs its way through all the files. Check out XML for this. You could also automate this with PHP. You could also bypass this and use mod_rewrite to rename all the files on the fly.


you have to go through and load arrays. load an array for the header. load the text into a body array. load an array for the footer. then punch em out. you could use perl or php if you know those languages.

Most Popular Stories
Broadband ISP