Forum Moderators: open

Message Too Old, No Replies

Creating static ht pages dynamically

need to make 200 pages...is there a shortcut?

         

ACDesign

12:37 am on Mar 11, 2006 (gmt 0)

10+ Year Member



I have a DW template that I built that has 4 editable regions - 3 text and one image. I need to use that template to make about 200 static html pages. Is there a way I can automate that process somehow?

Right now I am opening the template, adding the image and text to the editable reigons, then saving the file. Seems like there should be some sort of way I could automate this, but I don't know how.

Put the data in a database or csv file....and then? Any ideas?

JAB Creations

4:41 am on Mar 11, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A good question that I've never asked...wish the board had an option to follow the conversation via email when one can't make any useful suggestions.

John

StevenHill

10:46 pm on Mar 13, 2006 (gmt 0)

10+ Year Member



I am assuming that DW is DreamWeaver, and that this is a Windows environment. Correct?

Are you looking for something specific to DW? I am not familiar with that product at all.

But, if it were me, I would take a page created from the unchanged template and move it to a *nix environment. Then, I would create a delimited file with the items that replace the 4 "tokens" and a fifth item that was the target filename and run them both through an awk script or something that would write out the template into the "filename" file replacing the "tokens" with the appropriate data.

There may be similar utilities for Windows, but I have always had a Linux machine nearby so I do not know what they would be.

Steven Hill