emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stefan Vollmar <vollmar@nf.mpg.de>
To: emacs-orgmode Mode <emacs-orgmode@gnu.org>
Cc: Bernt Hansen <bernt@norang.ca>
Subject: Re: expire tag in Org-Mode HTML export
Date: Mon, 27 Feb 2012 14:48:55 +0100	[thread overview]
Message-ID: <EBCF361C-AB6A-4089-88FD-459CDADD9227@nf.mpg.de> (raw)
In-Reply-To: <87ehtga1xx.fsf@norang.ca>

[-- Attachment #1: Type: text/plain, Size: 1602 bytes --]

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,
 Stefan

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

> Stefan Vollmar <vollmar@nf.mpg.de> writes:
> 
>> Hello,
>> 
>> we want to include a
>> <META HTTP-EQUIV="EXPIRES" CONTENT="0">
>> 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: vollmar@nf.mpg.de   http://www.nf.mpg.de









[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4409 bytes --]

  reply	other threads:[~2012-02-27 13:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-27 12:20 expire tag in Org-Mode HTML export Stefan Vollmar
2012-02-27 12:35 ` Bernt Hansen
2012-02-27 13:48   ` Stefan Vollmar [this message]
2012-02-27 14:05     ` Bernt Hansen

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=EBCF361C-AB6A-4089-88FD-459CDADD9227@nf.mpg.de \
    --to=vollmar@nf.mpg.de \
    --cc=bernt@norang.ca \
    --cc=emacs-orgmode@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).