Author-it: Change date on published HTML files to the Last Modified date from Author-it
filed in AuthorIT, Technical Writing on Dec.19, 2007
This VB script sets the date on each topic to the last modified date from the Author-it database.
Add this comment to the top of the HTML template that generates your topics:
<!–
Topic
<pagetitle>
<authorit:SYS_MODIFIED>
–>
Add _SetLastModifiedDatesOnFiles.vbs to the list of additional files on your book or media object.
Then add
wscript _SetLastModifiedDatesOnFiles.vbs
to your AfterPublish.bat.
I also recommend adding
del _SetLastModifiedDatesOnFiles.vbs
to the [...]