emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Can I just publish content of specific tags?
@ 2009-10-23  2:59 Water Lin
  2009-10-23  3:54 ` Dan Davison
  0 siblings, 1 reply; 2+ messages in thread
From: Water Lin @ 2009-10-23  2:59 UTC (permalink / raw)
  To: emacs-orgmode

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?

Thanks

Water Lin
-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: WaterLin@ymail.com
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Can I just publish content of specific tags?
  2009-10-23  2:59 Can I just publish content of specific tags? Water Lin
@ 2009-10-23  3:54 ` Dan Davison
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Davison @ 2009-10-23  3:54 UTC (permalink / raw)
  To: Water Lin; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-23  3:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-23  2:59 Can I just publish content of specific tags? Water Lin
2009-10-23  3:54 ` Dan Davison

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).