Click to See Complete Forum and Search --> : HTML Multi-File Merge Tool??


VincentJ
01-07-2005, 08:17 AM
Greetings All!

I have a manual process I go through quite frequently and I'm wondering if there is a tool that would handle this. Here's what I do:

1) I start off by manually creating 3 or more slightly different versions of the same file to be (FileA_01052005.html, FileA_01082005.html, FileA_01122005.html). These are date-stamped versions of the same file featuring promotions for the different days.

2) I later discover I need to make a change to the files...I manually make the change to the first file (FileA_01052005.html)

3) I would then like to have the same change automatically made to the other 2 (or more files).

Is there a tool that can diff the before/after versions of FilesA_01052005.html and then automatically apply those changes to the other files?

Many thanks in advance for any suggestions or ideas you may have.

~Vincent james @ LoveSongs.com

ray326
01-07-2005, 08:37 AM
Factor out the content that changes from the containing page then use server-side includes (SSI) or a server-side process like CGI/Perl, PHP, ASP, etc. to combine the content on the fly.

VincentJ
01-07-2005, 09:18 AM
Thanks Ray...I was hoping there might be a tool/script already in public domain that did this. I could definitely write one as you indicated but I don't want to invent a Volkswagon wheel if someone has already invented the Cadillac :)

ray326
01-07-2005, 06:05 PM
SSI's the way to go then if your server supports it.