From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre de Buyl Subject: Re: exporting HTML - content only Date: Mon, 27 Jun 2011 12:00:28 -0400 Message-ID: <23B77DE8-88C3-4DB2-B262-7B47D32B0A59@ulb.ac.be> References: <4E08A484.3060700@wilkesley.net> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbEEj-0006gY-HH for emacs-orgmode@gnu.org; Mon, 27 Jun 2011 12:00:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbEEh-0003Qu-CN for emacs-orgmode@gnu.org; Mon, 27 Jun 2011 12:00:33 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:36183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbEEh-0003Qe-27 for emacs-orgmode@gnu.org; Mon, 27 Jun 2011 12:00:31 -0400 In-Reply-To: <4E08A484.3060700@wilkesley.net> 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: lists@manor-farm.org Cc: emacs-orgmode@gnu.org Hello, There is also the possibility to do it without further configuration. Typing M-- M-x org-export-region-as-html exports the HTML of the selected region only, no header text and so on. Pierre Le 27 juin 11 =E0 11:40, Ian Barton a =E9crit : > On 27/06/11 15:18, Tamas K Papp wrote: >> Hi, >> >> I started using org-mode to write blog posts for posting on >> blogger.com. I am aware of org-googlecl, but I am looking for a more >> lightweight solution to the following problem: >> >> How can I export only the _content_ of a page as HTML into a buffer? >> >> Specifically, >> >> 1. I only want the stuff inside the
...
, >> 2. Disabling the generation of a H1 heading from the title, >> 3. no postamble/preamble. >> >> I would like to give the appropriate options at the beginning of the >> file to achieve this and just do C-c C-e H or something similar, =20 >> but I >> don't know what options to use. >> >> I can do all of this manually, but automating it would be easier. >> > > Have a look at http://orgmode.org/worg/org-tutorials/org-publish-=20 > html-tutorial.html. Specifically you need to set :body-only t in =20 > your org-publish-project-alist. However, I am not sure how you can =20 > set up publishing to a buffer, rather than a file. > > Ian. >