emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Moe <mail@christianmoe.com>
To: Tamas K Papp <tkpapp@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: exporting HTML - content only
Date: Mon, 27 Jun 2011 18:54:33 +0200	[thread overview]
Message-ID: <4E08B5C9.2070706@christianmoe.com> (raw)
In-Reply-To: <iua3ff$kap$1@dough.gmane.org>

Hi,

try all or part of this:
- select a region to export
- do C-u C-c C-e R

(C-u prefix: body only, R: region only)

Yours,
Christian

On 6/27/11 4:18 PM, 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<div id="content">  ...</div>,
> 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, but I
> don't know what options to use.
>
> I can do all of this manually, but automating it would be easier.
>
> Thanks,
>
> Tamas
>
>
>

  parent reply	other threads:[~2011-06-27 16:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-27 14:18 exporting HTML - content only Tamas K Papp
2011-06-27 15:40 ` Ian Barton
2011-06-27 16:00   ` Pierre de Buyl
2011-06-27 16:54 ` Christian Moe [this message]
2011-06-27 18:56 ` Samuel Wales

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=4E08B5C9.2070706@christianmoe.com \
    --to=mail@christianmoe.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tkpapp@gmail.com \
    /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).