emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dan Davison <davison@stats.ox.ac.uk>
To: Water Lin <WaterLin@ymail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Can I just publish content of specific tags?
Date: Thu, 22 Oct 2009 23:54:28 -0400	[thread overview]
Message-ID: <87r5su22a3.fsf@stats.ox.ac.uk> (raw)
In-Reply-To: <83zl7izugr.fsf@ymail.com> (Water Lin's message of "Fri, 23 Oct 2009 10:59:16 +0800")

Water Lin <WaterLin@ymail.com> writes:

> I use org mode as my homepage and I use tags to distinguish my content
> such as finished, on-hold and suspended.
>
> But when I publish my org files into web pages, I don't want to publish
> the content which isn't finished. That's mean I just want to publish
> content of specific tags. How can I do it?

Hi Water,

This should help:

http://orgmode.org/manual/Selective-export.html#Selective-export

As explained there, it's controlled by two variables,
org-export-exclude-tags and org-export-select-tags. If you're going to
change the default values of those variables, note that they are lists
of strings (as opposed to being just strings). So I believe in your
example you could use

(setq org-export-select-tags '("finished"))

Dan


>
> Thanks
>
> Water Lin

      reply	other threads:[~2009-10-23  3:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23  2:59 Can I just publish content of specific tags? Water Lin
2009-10-23  3:54 ` Dan Davison [this message]

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=87r5su22a3.fsf@stats.ox.ac.uk \
    --to=davison@stats.ox.ac.uk \
    --cc=WaterLin@ymail.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).