#8 Option to automatically update last modified timestamp

open
None
5
2004-07-20
2004-01-08
No

In XEmacs when you edit a html file and save it, a
script automatically puts a last modified timestamp at
the end of the file which I find very useful. Can
Screem have an option to do this as well? Following
the below example, a user could use Screem or XEmacs
and the timestamp would work no matter what.

The lines added by XEmacs are:

<!-- Created: Tue Dec 30 10:03:55 EST 2003 -->
<!-- hhmts start -->
Last modified: Tue Dec 30 11:08:28 EST 2003
<!-- hhmts end -->

Discussion

  • David A Knight

    David A Knight - 2004-07-06

    Logged In: YES
    user_id=736

    the source package of screem has a file in the helpers
    folder called date.pl which shows how this can be done by
    using helpers, although the helpers are bugged at the moment
    so this will only work properly with the latest CVS code.
    Helpers should probably have some way of executing when a
    document is saved really.

     
  • David A Knight

    David A Knight - 2004-07-20

    Logged In: YES
    user_id=736

    this can now be done with the current CVS code using the
    mentioned perl script as a helper.

    see
    https://sourceforge.net/mailarchive/forum.php?thread_id=5150608&f
    orum_id=4119
    and set

    X-SCREEM-exec=1
    X-SCREEM-exectype=text/html

    on the desktop file created for the helper.

     
  • David A Knight

    David A Knight - 2004-07-20
    • assigned_to: nobody --> davek
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks