What is the best way to deal with repeated blocks of code? I find that I use some bits of code over and over, like a copyright message at the foot of every page. Copying and pasting between pages is OK, but if I need to make a change e.g. to the copyright dates, then I need to change every page. I can take the code out and make it a server-side include, but this seems like an overkill for such a simple problem.
What I would like is something like a server side include but in the editor, so that when I save the file the HTML code output would have the external code included in it, but the external code is not shown in the editor, just a tag to show where it is to be included. This would mean that the edited file would not be the same as the HTML file, but would need to be some sort of psuedo-html file with the same name. Does this make any sense? Is anything like it possible? -- <http://forum.pspad.com/read.php?2,58001,58001> PSPad freeware editor http://www.pspad.com
