From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gHyVHely2WJ8sgAAbAwnHQ (envelope-from ) for ; Thu, 21 Jul 2022 17:38:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UIZrHely2WKyBwAAauVa8A (envelope-from ) for ; Thu, 21 Jul 2022 17:38:17 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C34B73D813 for ; Thu, 21 Jul 2022 17:38:16 +0200 (CEST) Received: from localhost ([::1]:58700 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEYFj-0007Mz-UK for larch@yhetil.org; Thu, 21 Jul 2022 11:38:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEGSa-0007sF-Gx for emacs-orgmode@gnu.org; Wed, 20 Jul 2022 16:38:20 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:60349) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEGSY-00078l-M0 for emacs-orgmode@gnu.org; Wed, 20 Jul 2022 16:38:20 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id EC5A55C00E3; Wed, 20 Jul 2022 16:38:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 20 Jul 2022 16:38:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= bonfacemunyoki.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1658349494; x= 1658435894; bh=DFEdnWjeIvNDVU2ayCdXokZ+llTDFURbVsla6B/OYcY=; b=W YTU5QYDpk5Rkz+c5Mb2SiQwnXafd5I0FhnsrEYNfyV3AccEsJH+/R2wsNUZQAzra dw9do3L4wl/RkY+Kd1aotGXsMAHeBsSgOx00oELs1jFtvbXoMQ+/Y47o1YLg015D SKybqTPDm4dbQdxAPcJw54oXFNXD0I96qBU6leklxZaX4gVLW8aGu+dbVwdnEZli Yv61+1UHjkOGyskFG92w2ilXtm7VSduVbu4/kaJ04+m7FPPu3H0NmaWELofcTcSb A9TWVFiXx+Afj6A5/52RosTfeCBTMmb4zQaz0U3QUzjDsKpHjMjTDrK/bmOePeUE u209f4l9jwhTrt4i1T5MA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1658349494; x=1658435894; bh=DFEdnWjeIvNDVU2ayCdXokZ+llTD FURbVsla6B/OYcY=; b=YiLOsXTqSlMMoZQ2g4r72SryDzAaV/vKTzArPpjkoJTL ONBti8mLT4YRhRzHavJUjknGPGVi9yfODLITDm4fVFeIcNzEcZJXtHsysWoX7FMU B1bjNUrPvKP1D1I0CJ8jv1+gSlFUeK7xkRNnjaNrG68Jz1STNrt8udguokUQ2ERa 3y5pUcsIH3JUZnw08dHw3cnHU7xFCQqcuXRO2AkF+dNRaFiIuS3lS0ec2n4Voa/4 /C0WtkFbX7bUYUjWzlHPL7aEs8G0LMhSjbGoeyo4++MRaVmawnIMOYvTwG9lEEMZ bb83QochxGZevT4RyWSbRVVEfiWftPp/uBbn1jmZvw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudelvddgudehgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufgjfhgffffkgggtsehgtderredtredtnecuhfhrohhmpefouhhn hihokhhiucfmihhlhihunhhgihcuoehmvgessghonhhfrggtvghmuhhnhihokhhirdgtoh hmqeenucggtffrrghtthgvrhhnpedtudfgudekgfeitedvheejjeehffduledujeeggfel fefhudefjedtteevieejgeenucffohhmrghinhepghhnuhhpghdrnhgvthenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmvgessghonhhfrggt vghmuhhnhihokhhirdgtohhm X-ME-Proxy: Feedback-ID: ib8a1471e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 20 Jul 2022 16:38:13 -0400 (EDT) From: Munyoki Kilyungi To: Benoit Bidoggia Cc: emacs-orgmode@gnu.org Subject: Re: Publishing a project and selecting files (possibly with tags) In-Reply-To: (Benoit Bidoggia's message of "Mon, 18 Jul 2022 13:11:47 +0200") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) Date: Wed, 20 Jul 2022 23:38:10 +0300 Message-ID: <86v8rrpljh.fsf@bonfacemunyoki.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=66.111.4.27; envelope-from=me@bonfacemunyoki.com; helo=out3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 21 Jul 2022 11:34:34 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658417897; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DFEdnWjeIvNDVU2ayCdXokZ+llTDFURbVsla6B/OYcY=; b=Ii0eRvtxeBFoNv9nUnTy+njL2KY7zD/rHh1zyrWTgOlHElS3GgPYUKdBoKncbD54/P6VJv D3Tw2WOfP7orLlYb70ih4zASMXxr05W8IUtc+EIJxRqUMX3Ai5/uUjG87fDksTuPLvLZ8Q Ni0a18Vy0Gh7MLir8dnPUhjizO3mOi1+566A5vJ517T8SmUoBex/6Ii7qnTQvHSsJI7Vqe zRvP98hqQtDjNzepfvCFQikJCcFEBqQaz+LZe4XyJFx8q7kZIQthTMBdDl5WGwnp86525g Wn1XwDwr1uPJWQ7RHWtGv5gh82zEh/PZgy9U3PumRexlHBgXhvhKA97jE59Fag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658417897; a=rsa-sha256; cv=none; b=bUtuJoo+q/W65SsLl4MQDc5CBbwtHpzAiLAErRCP03k5Vu0SztDYHWOCVzNveYAh2ZtHG4 cqmI47/4x9+drzXG4niv0z5ZzcPPeoryPu3Yha5MqYfYt5VYogfWu15PiCm6RtdB0Yt0Z6 CETWS6+xDdC7zoQkQeQgWQvtjvK4ThA/cjzuDU+hV1F4LGI4foYDlEJwvouNCq06hxA+Mc jLnnSiTBT8VbvctJi4Bj31pJtNPzMtdZvS5uSK/iJtlinoC91S1B6E6G/8kBuhoBbSWw+J cSdzBgpfdyTffteGRNlTdqvJUBpiYBKAKXE69VyPu+bnUd5sEP0XLCNm9Rf4og== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bonfacemunyoki.com header.s=fm1 header.b="W YTU5QY"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=YiLOsXTq; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bonfacemunyoki.com header.s=fm1 header.b="W YTU5QY"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=YiLOsXTq; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C34B73D813 X-Spam-Score: -1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: 82coMfv5KOvu --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Benoit! Benoit Bidoggia anaandika: > 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? > Have you looked at ox-hugo? In ox-hugo, you would do something like: =2D-8<---------------cut here---------------start------------->8--- * Blog :PROPERTIES: :ARCHIVE: ~/Self/org/archive/2022_blog.org_archive:: :END: #+HUGO_BASE_DIR: ~/projects/blog/ #+HUGO_SECTION: post #+CATEGORY: blog #+options: author:nil =2D-8<---------------cut here---------------end--------------->8--- Perhaps inspecting that source may provide useful pointers in what you want to do. =2D-=20 (Life is like a pencil that will surely run out, but will leave the beautiful writing of life.) (D4F09EB110177E03C28E2FE1F5BBAE1E0392253F (hkp://keys.gnupg.net)) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJKBAEBCAA0FiEE1PCesRAXfgPCji/h9buuHgOSJT8FAmLYZ7IWHG1lQGJvbmZh Y2VtdW55b2tpLmNvbQAKCRD1u64eA5IlP3n9D/0cLem51BDHX10K1tOZFQ7M2hKF rjSTWc5mRWg0r18u1r/RZXdpFkWvabyjRWj9euAZC05FymQp+Xb3Q3sxM08nnBQs ovDCv95xaMw8mkZGfzpSj7gnQNDA0sqbm26jZOM7L13Bv63tL+C6JhR1kx2pwaLc 5q+cUJJRz6/9aB6oqBJVtrzI1ouWS8uowvyZ+9Xt53YN11AjCOv3RB4UZTxZkkIA Z1piTBgcErqJ9gXfl+Bj0+3OjHbfwTPdRi84dl1eBTBaG0yb4gh7LhW/V1Yel2Ge VpLav8qUQBTGIeavx1LOM6107ZyW3EitsN4G5abaeM8IKio8esNU8m+LMKvmeuWi bO4whoKITuRU6YViSEkzoyn7a+jdzeKysTDkoCo9yAtAD2Nu6VUJwwMk9srWwzWC d4D+6sfFnVX65jMWZ8vhugk34VSNMMJkgl44jis4MpJFUMwcC3IcVPGIxmNr9skE UJQ0Vvsi5IrTki3FXhuzCIGVVFQZyE6PwRQTsnv6fDLqgSeKE7bOvjDIrSO4gPpZ MxT9HALChBgEBm6X5PASbeBmI918fIiipJZDFLpTpe+xhM2pgviwBqqo9GncFr3y SP9nhxmG0fcYxnA5lV3YNHOPyE8bzYMeMA6myQGaKTB1L9CAIHMxCxrf/a5OcpLZ FRBh01hxwXR8oms/IA== =vzvi -----END PGP SIGNATURE----- --=-=-=--