From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.help Subject: Re: Question Regarding Exporting A Single 'blog.org' File With Subheadings To Multiple Separate Markdown Files Date: Mon, 13 Jun 2022 10:57:13 -0400 Message-ID: References: <517112b4-3952-46de-9a71-f4215ee6355d@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18764"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emanuel Berg To: Samuel Banya Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 13 16:58:47 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o0lWg-0004ci-6q for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 13 Jun 2022 16:58:46 +0200 Original-Received: from localhost ([::1]:53434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0lWe-00061r-NJ for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 13 Jun 2022 10:58:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0lVq-00061i-VK for help-gnu-emacs@gnu.org; Mon, 13 Jun 2022 10:57:54 -0400 Original-Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]:34785) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0lVp-0003AG-7h for help-gnu-emacs@gnu.org; Mon, 13 Jun 2022 10:57:54 -0400 Original-Received: by mail-pl1-x62b.google.com with SMTP id i15so5333622plr.1 for ; Mon, 13 Jun 2022 07:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qRARlgnoP7DwnAC4MyHwDYOPGvE0PNgFux6x3kZ6Hks=; b=YP8hyymXP/TVI0vrQh+JQJRjVeAVhIY2qotoaIC2ATBwXNeLmpnDXjIaKU6b8aSpjb IeP+czUYb5x0srg3sXJioOFRkNOjxnU0Nfucac811Hgd3VFiZ3JWDwJaKIZp8mOv1q6J gaXW+XBuM+4zwXgZ4QQwtvki/V1aWhtfVl6b/XlhXHlxgfbnVI/3mSCrEMVRgwwIlKEe 08of3lKGOCQsvHEkgjJakxbs9cgntOYN7pWFnF2eMPFVkpButk6vwfU50ujXJTHTQdYy iyhfx5uta2JawdRmFn2T/NKuyfw8RbJY7Wsye66NoglYhSjNFpTywg1+ZaBRyWTQkBgu Y3hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qRARlgnoP7DwnAC4MyHwDYOPGvE0PNgFux6x3kZ6Hks=; b=eBB4ym+N0f8t3ZjHhapEmC3zCkBO/oBdI0hjMpk/CJ1Q38v/CU/CSzKTXgO+kD7eJU 19b643FqICW69GB2l6bjHDO01Ur1Vhl/MSsLgmpe9s3r1osDtjNsVmP9Hd6W2/zHQq7X z55cSrD33SpsCiUq3/xSALx+21mcVRCHL4tSMmQuuo0Qd5Uao1hFSQ6lOWI96iWfSeyr stF0N5ZxIg21UyVzuHiSPtK+dtTAQ1EYOeZhH5Sy7hyf3AOsho5w93UPU2dLbYDnN06K eJXl3n86emV9bG1/8iLFOUKsm0gWhYjsgUWfwTa+YXyVU+Rrv/8fbTlq8yDFZI+EoaIF PBCw== X-Gm-Message-State: AJIora9i8X/iUh6iS70L1p9No/2Jo564aftP95d7iD8hO8FJJovOi2oz SKeCx5tg9l2rBmkXRe71NMrbwbR+qEM95BESOME= X-Google-Smtp-Source: AGRyM1siwEQj7d4qv+6tjuF1McTBuwR13wi/cWV+uo3RYXeS/CXaGDBQ7b3/wNqNariNU7A3xdTBoRhXnNv5l+YtH1Y= X-Received: by 2002:a17:90a:1b05:b0:1ea:84a9:432c with SMTP id q5-20020a17090a1b0500b001ea84a9432cmr199951pjq.51.1655132271079; Mon, 13 Jun 2022 07:57:51 -0700 (PDT) In-Reply-To: <517112b4-3952-46de-9a71-f4215ee6355d@www.fastmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=kaushal.modi@gmail.com; helo=mail-pl1-x62b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:137796 Archived-At: On Mon, Jun 13, 2022 at 10:48 AM Samuel Banya wrote: > > Hello, > > I am converting my blog to utilize 'ox-hugo' so that I can convert my single 'blog.org' file with multiple headings that each have a date for the heading name into their own separate Markdown files. > Am I doing something wrong within this workflow? If you are following the "subtree based export flow", you will need to add the EXPORT_FILE_NAME property for each subtree you want to export as a post. See this minimal example in the ox-hugo Quick Start guide: https://ox-hugo.scripter.co/doc/quick-start/#code-snippet--basic-post-in-org Also see these: https://ox-hugo.scripter.co/#before-you-export > If you choose to export an Org subtree as a post, you need to set the EXPORT_FILE_NAME subtree property. That property is used by this package to figure out where the current post starts. https://ox-hugo.scripter.co/doc/usage/#for-both-one-post-per-subtree-and-one-post-per-file-flows: > A valid Hugo post subtree is an Org subtree that has the EXPORT_FILE_NAME property set. Note that a subtree with EXPORT_FILE_NAME property cannot nest a subtree with the same property set.