emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rick Moynihan <rick.moynihan@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Properties and Property Drawers in HTML export
Date: Wed, 2 Dec 2009 12:21:34 +0000	[thread overview]
Message-ID: <e85471e30912020421h1c741a7ahb811475bc31b7f5f@mail.gmail.com> (raw)
In-Reply-To: <e85471e30912011758se12c824p9ffb5fdbe0d95a2e@mail.gmail.com>

2009/12/2 Rick Moynihan <rick.moynihan@gmail.com>:
> 2009/12/2 Rick Moynihan <rick.moynihan@gmail.com>:
>> Does anyone know if it's possible to export org-mode properties and
>> property drawers in a HTML export?
>>
>> R.
>
> Ok, just discovered the :drawers option!
>
> The documentation claims that supplying a list of properties allows
> you to filter which ones are exported, however I can't get this
> working... e.g. I've tried setting org-publish-project-alist to both:
>
> :drawers ("FOO" "BAR")
>
> and:
>
> :drawers '("FOO" "BAR")
>
> Neither seem to work... any ideas?
>

Also, the properties are exported into the HTML like so:

<pre class="example">PROPERTIES
:FOO: blah
:BAR: blah blah
</pre>

Would something like the following not be a better format for
parsing/processing?

<div class="properties">
  <dl>
    <dt class="property_key_foo">FOO</dt><dd
class="property_value_foo">blah</dd>
    <dt class="property_key_bar">BAR</dt><dd
class="property_value_bar">blah blah</dd>
  </dl>
</div>

R.

  reply	other threads:[~2009-12-02 12:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-02  1:37 Properties and Property Drawers in HTML export Rick Moynihan
2009-12-02  1:58 ` Rick Moynihan
2009-12-02 12:21   ` Rick Moynihan [this message]
2009-12-03 16:06     ` Christian Egli
2009-12-03 17:02       ` Rick Moynihan

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=e85471e30912020421h1c741a7ahb811475bc31b7f5f@mail.gmail.com \
    --to=rick.moynihan@gmail.com \
    --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).