emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Benoit Bidoggia <benoit.bidoggia@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Publishing a project and selecting files (possibly with tags)
Date: Mon, 18 Jul 2022 13:11:47 +0200	[thread overview]
Message-ID: <CAGsLRvYYtaYK+kMJXuf=wViC2_Guvkc3=1DQnmYvLnWVcgDKJg@mail.gmail.com> (raw)

Dear list,

This is my problem: I have a large set of org files (created with
org-roam), which contains all my thoughts on different topics (for
example "work1", "work2", "personal1"...)

I would like to create different projects (for example "work1",
"work2", "personal1") to be able to publish these files under
different folders (for example "./pub_work1", "./pub_work2",
"./pub_personal1") for which I could define some filters to decide
what goes where.

The rules should be something likes this:
- nothing is exported, except that
- files with tag "WORK1" are exported in "./pub_work1"
- files with tag "WORK2" are exported in "./pub_work2"
- files with tag "PERSONAL1" are exported in "./pub_personal1"

I cannot use the file name to filter the files, which seems to exclude
the possibility of using the options ":exclude" and ":include" of
org-publish-project-alist.

Ideally I would like to use tags (or some descriptors I can include
directly in the org file), but I did not have much success using the
options ":with-tags" or ":select-tags".

Can this be done? If so, how?

Thank you very much, best regards.
Benoît


             reply	other threads:[~2022-07-18 11:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-18 11:11 Benoit Bidoggia [this message]
2022-07-20 20:38 ` Publishing a project and selecting files (possibly with tags) Munyoki Kilyungi
2022-07-22 19:32 ` Hanno Perrey

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='CAGsLRvYYtaYK+kMJXuf=wViC2_Guvkc3=1DQnmYvLnWVcgDKJg@mail.gmail.com' \
    --to=benoit.bidoggia@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).