From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: expire tag in Org-Mode HTML export Date: Mon, 27 Feb 2012 09:05:28 -0500 Message-ID: <87aa449xsn.fsf@norang.ca> References: <1C77A3A1-A4EF-4AEC-A4B2-26F4727DCDA8@nf.mpg.de> <87ehtga1xx.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S21Ct-0004l5-SS for emacs-orgmode@gnu.org; Mon, 27 Feb 2012 09:05:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S21Cn-0002G0-9T for emacs-orgmode@gnu.org; Mon, 27 Feb 2012 09:05:39 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:43150) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S21Cn-0002Fv-5d for emacs-orgmode@gnu.org; Mon, 27 Feb 2012 09:05:33 -0500 In-Reply-To: (Stefan Vollmar's message of "Mon, 27 Feb 2012 14:48:55 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Stefan Vollmar Cc: emacs-orgmode Mode Stefan Vollmar writes: > 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 Hi Stefan, When I tested it it didn't seem embedded inside a style tag. ,----[ export.org ] | * Export me | | Check the file for header info | | * Done. | | End of file `---- ,----[ export.html ] | | | | | export | | | | | | | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | | | | `---- Regards, Bernt > > On 27.02.2012, at 13:35, Bernt Hansen wrote: > >> Stefan Vollmar 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 >> "") >> --8<---------------cut here---------------end--------------->8--- >> >> HTH, >> Bernt