all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kamphausen <skampi@gmx.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Using hhmts Timestamp in a <meta> tag, Feature Request
Date: Tue, 17 Mar 2009 09:37:25 +0100	[thread overview]
Message-ID: <87tz5swnne.fsf@usenet.my.skamphausen.de> (raw)
In-Reply-To: ee7f666a-96f6-445f-9d21-85dee25e15b2@c11g2000yqj.googlegroups.com

Hi,

I'd drop the hhmts-tags and switch to time-stamp.

Put something like this into your emacs-init-file:
(require 'time-stamp)
(add-hook 'write-file-hooks 'time-stamp)


And then create your HTML-files like this:

----------------------------------------------------------------------
<html>
  <head>
     <meta name="Timestamp" content="Last modified: 2009-03-17 09:35:39" />
 <title>Testing Timestamp</title>
</head>
<body>
<h1>Testing Timestamp</h1>

</body>
</html>
<!-- 
Local Variables:
time-stamp-start: "<meta name=\"Timestamp\" content=\""
time-stamp-end: "\" />"
time-stamp-format: "Last modified: %:y-%02m-%02d %02H:%02M:%02S"
End:
-->
----------------------------------------------------------------------


Cheers
Stefan

-- 
Stefan Kamphausen --- http://www.skamphausen.de
a blessed +42 regexp of confusion (weapon in hand)
You hit. The format string crumbles and turns to dust.


       reply	other threads:[~2009-03-17  8:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <ee7f666a-96f6-445f-9d21-85dee25e15b2@c11g2000yqj.googlegroups.com>
2009-03-17  8:37 ` Stefan Kamphausen [this message]
2009-03-17 16:23   ` Using hhmts Timestamp in a <meta> tag, Feature Request Rick
2009-03-17 18:26   ` Rick
2009-03-16 22:04 Rick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tz5swnne.fsf@usenet.my.skamphausen.de \
    --to=skampi@gmx.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.