Jump to content

Web Server Module: append file to another file


PeterF

Recommended Posts

Posted

I would like to propose adding the following capability to the Web Server Module:

 

Append Existing File to another Existing File

  • Appends the file /user/web/mydir/file1.htm to file /user/web/mydir/file2.htm.  If file2.htm does not exist, then it is created.

Subject: @webpage:mydir/file1.htm@appendfile:/mydir/file2.htm

 

I believe this would greatly enhance web page creation and maintenance.  A use that I have in mind is to build several files each containing timestamps associated with an event over a 24 hour period, then concatenate those files together using the above @appendfile before sending it out in an email.  Another use might be to ease maintenance of multiple web pages having common content, where the common content might need to change at some point in the future.  The common content would be in one file for easy maintenance, to which the varying body is appended.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...