emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Publishing only sub-hierarchies with a given tag
@ 2012-11-25 12:54 Karl Voit
  2012-12-23 18:00 ` Bastien
  2013-01-09 15:37 ` Nicolas Goaziou
  0 siblings, 2 replies; 7+ messages in thread
From: Karl Voit @ 2012-11-25 12:54 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

The publishing methods are quite capable. I wonder whether or not it
is possible (or easy to implement) to limit content to
sub-hierarchies that are tagged for publishing.

So if I have multiple Org-mode files in «base-directory», publish
only the (few) things that are tagged with e.g. «:publish:».




Background: I am still thinking of developing a new blog system
(with Python) where a blog entry is done only by selecting a DONE
state together with a :blog: tag. The publish-method of Org is not
that flexible yet ...

-- 
Karl Voit

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

* Re: Publishing only sub-hierarchies with a given tag
  2012-11-25 12:54 Publishing only sub-hierarchies with a given tag Karl Voit
@ 2012-12-23 18:00 ` Bastien
  2012-12-24 15:00   ` Karl Voit
  2013-01-09 15:37 ` Nicolas Goaziou
  1 sibling, 1 reply; 7+ messages in thread
From: Bastien @ 2012-12-23 18:00 UTC (permalink / raw)
  To: news1142; +Cc: emacs-orgmode

Hi Karl,

Karl Voit <devnull@Karl-Voit.at> writes:

> The publishing methods are quite capable. I wonder whether or not it
> is possible (or easy to implement) to limit content to
> sub-hierarchies that are tagged for publishing.
>
> So if I have multiple Org-mode files in «base-directory», publish
> only the (few) things that are tagged with e.g. «:publish:».

Can't you achieve (part of) this with :export: and :noexport: ?

-- 
 Bastien

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

* Re: Publishing only sub-hierarchies with a given tag
  2012-12-23 18:00 ` Bastien
@ 2012-12-24 15:00   ` Karl Voit
  2012-12-25  3:20     ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Karl Voit @ 2012-12-24 15:00 UTC (permalink / raw)
  To: emacs-orgmode

* Bastien <bzg@altern.org> wrote:
> Hi Karl,

Hi!

> Karl Voit <devnull@Karl-Voit.at> writes:
>
>> The publishing methods are quite capable. I wonder whether or not it
>> is possible (or easy to implement) to limit content to
>> sub-hierarchies that are tagged for publishing.
>>
>> So if I have multiple Org-mode files in «base-directory», publish
>> only the (few) things that are tagged with e.g. «:publish:».
>
> Can't you achieve (part of) this with :export: and :noexport: ?

In theory you are probably right.

But in practice I'd have to tag every heading. Additionally, I want
to use the export/noexport-mechanism independent from publishing for
blogging. And this is my use-case I was referring to.

Anyway. I have to implement my blogging system in Python I guess.
There are too many things I would like to "have it my way" :-)

Let's see, what I can accomplish in the next two months.

-- 
Karl Voit

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

* Re: Publishing only sub-hierarchies with a given tag
  2012-12-24 15:00   ` Karl Voit
@ 2012-12-25  3:20     ` Bastien
  2012-12-26 10:05       ` Karl Voit
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2012-12-25  3:20 UTC (permalink / raw)
  To: news1142; +Cc: emacs-orgmode

Karl Voit <devnull@Karl-Voit.at> writes:

> Let's see, what I can accomplish in the next two months.

Yep, let us know!

-- 
 Bastien

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

* Re: Publishing only sub-hierarchies with a given tag
  2012-12-25  3:20     ` Bastien
@ 2012-12-26 10:05       ` Karl Voit
  0 siblings, 0 replies; 7+ messages in thread
From: Karl Voit @ 2012-12-26 10:05 UTC (permalink / raw)
  To: emacs-orgmode

* Bastien <bzg@altern.org> wrote:
> Karl Voit <devnull@Karl-Voit.at> writes:
>
>> Let's see, what I can accomplish in the next two months.
>
> Yep, let us know!

Sure! I am looking forward when I've got something I can announce
here :-)

-- 
Karl Voit

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

* Re: Publishing only sub-hierarchies with a given tag
  2012-11-25 12:54 Publishing only sub-hierarchies with a given tag Karl Voit
  2012-12-23 18:00 ` Bastien
@ 2013-01-09 15:37 ` Nicolas Goaziou
  2013-01-09 15:52   ` Karl Voit
  1 sibling, 1 reply; 7+ messages in thread
From: Nicolas Goaziou @ 2013-01-09 15:37 UTC (permalink / raw)
  To: news1142; +Cc: emacs-orgmode

Hello,

Karl Voit <devnull@Karl-Voit.at> writes:

> The publishing methods are quite capable. I wonder whether or not it
> is possible (or easy to implement) to limit content to
> sub-hierarchies that are tagged for publishing.
>
> So if I have multiple Org-mode files in «base-directory», publish
> only the (few) things that are tagged with e.g. «:publish:».

I confess that I have not followed the thread closely, so it may be
already answered, but have you tried setting :select-tags to
'("publish") in your project definition?


Regards,

-- 
Nicolas Goaziou

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

* Re: Publishing only sub-hierarchies with a given tag
  2013-01-09 15:37 ` Nicolas Goaziou
@ 2013-01-09 15:52   ` Karl Voit
  0 siblings, 0 replies; 7+ messages in thread
From: Karl Voit @ 2013-01-09 15:52 UTC (permalink / raw)
  To: emacs-orgmode

* Nicolas Goaziou <n.goaziou@gmail.com> wrote:
> Hello,
>
> Karl Voit <devnull@Karl-Voit.at> writes:
>
>> The publishing methods are quite capable. I wonder whether or not it
>> is possible (or easy to implement) to limit content to
>> sub-hierarchies that are tagged for publishing.
>>
>> So if I have multiple Org-mode files in «base-directory», publish
>> only the (few) things that are tagged with e.g. «:publish:».
>
> I confess that I have not followed the thread closely, so it may be
> already answered, but have you tried setting :select-tags to
> '("publish") in your project definition?

Sorry, I did not invest further research on the publish feature of
Org since I realized that it is not suitable for my use-case anyway.

-- 
Karl Voit

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

end of thread, other threads:[~2013-01-09 15:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-25 12:54 Publishing only sub-hierarchies with a given tag Karl Voit
2012-12-23 18:00 ` Bastien
2012-12-24 15:00   ` Karl Voit
2012-12-25  3:20     ` Bastien
2012-12-26 10:05       ` Karl Voit
2013-01-09 15:37 ` Nicolas Goaziou
2013-01-09 15:52   ` Karl Voit

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