[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] expire tag in Org-Mode HTML export

From: Stefan Vollmar
Subject: Re: [O] expire tag in Org-Mode HTML export
Date: Mon, 27 Feb 2012 14:48:55 +0100

Dear Bernt,

thanks for the quick reply - unfortunately, this does not solve our problem as 
org-export-html-style-extra is limited to style-related information. We would 
need something that allows extending the "head" block with another meta-tag, so 
org-export-html-preamble is already after the head-block and 
org-export-html-xml-declaration is before the head-block.

Warm regards,

On 27.02.2012, at 13:35, Bernt Hansen wrote:

> Stefan Vollmar <address@hidden> writes:
>> Hello,
>> we want to include a
>> entry in the HTML export of our Org pages to indicate that browsers
>> should not cache the pages but rather reload them the next time.
>> This line should go into the "head" part of the HTML pages (otherwise
>> "#+html:" would solve the problem) - how can we accomplish this in
>> Org-mode?
>> Many thanks in advance.
>> Warm regards,
>> Stefan
> Hi Stefan,
> You might be able to stick it in the extra style variable like this
> --8<---------------cut here---------------start------------->8---
> (setq org-export-html-style-extra
>     "<meta HTTP-EQUIV=\"EXPIRES\" CONTENT=\"0\">")
> --8<---------------cut here---------------end--------------->8---
> HTH,
> Bernt

Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleueler Str. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
E-Mail: address@hidden   http://www.nf.mpg.de

Attachment: smime.p7s
Description: S/MIME cryptographic signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]