emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard G Riley <rileyrgdev@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Re: exporting - filtering
Date: Tue, 22 Jul 2008 01:36:17 +0200	[thread overview]
Message-ID: <setzei6c9a.fsf@richardriley.net> (raw)
In-Reply-To: <20080721232025.GA12582@thinkpad.adamsinfoserv.com> (Russell Adams's message of "Mon, 21 Jul 2008 18:20:25 -0500")

Russell Adams <RLAdams@AdamsInfoServ.Com> writes:

> On Tue, Jul 22, 2008 at 01:06:57AM +0200, Richard G Riley wrote:
>> 
>> When publishing/exporting can I limit certain sections to only exported
>> if they are tagged for export? e.g I have a normal org mode hierarchy
>> for my web page but then import a task based org file and then only have
>> some of those published? If not I think it would be nice addition some
>> time in the future.
>
> That sounds like a neat idea. You can always open a portion of the
> tree in another window ( C-c C-x b ) and then hit export, I do that
> all the time.
>
> I do think it would be interesting if a property could modify whether
> or not to include an item (or its children) in export.
>
> Ideas?


The main reason of course is to filter out the dross from pages of tasks
and notes.

Something like a property on #include which specifies the tag to INCLUDE
in the export.

e.g

#+import "~/orgfiles/tasks.org" includetag:export-web recursive:no

or somesuch.

Maybe simpler are properties on the top of a org file of the form

#+export-tag: export-web

Since #import currently does not check for a timestamp it tends not to
get republished unless the parent file is changed. So a top property
might be better so any "lists" imported from ones tasks is really a link
click away (normal org link).

I dont know how practical these ideas are but maybe they can start the
ball rolling or prompt someone to suggest an existing method? Having to
manually open a tree portion and exporting it isnt really practical when using
project publishing.

  reply	other threads:[~2008-07-21 23:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-21 23:06 exporting - filtering Richard G Riley
2008-07-21 23:20 ` Russell Adams
2008-07-21 23:36   ` Richard G Riley [this message]
2008-07-23 23:22     ` Carsten Dominik
2008-09-15  8:22 ` Carsten Dominik
2008-09-15 10:57   ` Richard G Riley
2008-09-16 12:07     ` Carsten Dominik
2008-09-17 11:49     ` Carsten Dominik
2008-09-17 12:42       ` Giovanni Ridolfi

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=setzei6c9a.fsf@richardriley.net \
    --to=rileyrgdev@googlemail.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).