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 ms9.migadu.com with LMTPS id 2PIqFIR8TmTU6AAASxT56A (envelope-from ) for ; Sun, 30 Apr 2023 16:34:44 +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 +JQdFIR8TmS1JAAAauVa8A (envelope-from ) for ; Sun, 30 Apr 2023 16:34:44 +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 DC83917E59 for ; Sun, 30 Apr 2023 16:34:43 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pt88D-00062f-6S; Sun, 30 Apr 2023 10:34:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pt88B-00061L-9a for emacs-orgmode@gnu.org; Sun, 30 Apr 2023 10:34:27 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pt885-0001ud-W6 for emacs-orgmode@gnu.org; Sun, 30 Apr 2023 10:34:24 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 8B5EB240166 for ; Sun, 30 Apr 2023 16:34:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1682865259; bh=KrCS7cFfoaQwTFLAJkSBhxi369Gkp4TA4mWmfFbfqGU=; h=From:To:Cc:Subject:Date:From; b=gzwXeaqQFV3bL7mmuiTh7d6wqaO5axgcpUVN9YBHv59HNn68XVlyPVI4YFKxq5Fav 3osvr4sj0E76wLYeq90bquYPmide2AEJo9xibMgfxFERLF0bwlIudoEIURUlJB+XLh Ha2khiJ38Cm+hISInUYAskRcAeZTUKNlB7PTZsrzYd5d2XcGB/WlafkVr9bBdcs5Pg dhu8fF/WsDI5OIFJ5qBqN9miyo+IccyUxKK227uX6UrQFF+ejYXVAYwkWOxMp76hqU cvbPsdIf2hrU7UlsaOT4/czDQI55KdgKMkN9WvXHM2Fo8R/4UzTuXt/SdsgFCLHb8G ZdN3cRxbA0k4A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q8TPR0qbqz9rxD; Sun, 30 Apr 2023 16:34:19 +0200 (CEST) From: Ihor Radchenko To: =?utf-8?Q?S=C3=A9bastien?= Gendre Cc: emacs-orgmode Subject: Re: Org-mode publish: Some questions when use it for a blog In-Reply-To: <87v8hejr8z.fsf@k-7.ch> References: <87v8hejr8z.fsf@k-7.ch> Date: Sun, 30 Apr 2023 14:37:18 +0000 Message-ID: <877cttsag1.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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: 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682865284; a=rsa-sha256; cv=none; b=ScInzUORY71r7TV5p6/uYzAfgjqZtXzi5qduCHLWRdhB+v8KlqGEU80Rq6Zp5MHVCkT0k8 7BvYwSZcgKJZm4WkI30VVLbd+8WD/N5nhDOMZUu3CyVXfgpJvvYrKEV77v2F51gqLX/nZT nqGkb4DwzqzeZ+S7Wy5FCwMFFfnksZTpFeXKaG6V2HJqJ4m9c3KyI4oSOZVW57lCDx7e20 RBRBapAQ0dK+nVTfugx8xz71r9UgJWlS1vedT+LPq6X5wDD1plXSyH4Sf1JysDJ4BHLBUR O1LVY43eqRMBzhDpCbg6pklFj8P7zKwQdwO6NrchfeR5pn0HE4sVGUxYhqgNdg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=gzwXeaqQ; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682865284; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=tN+1WdK8FsaOWRm7bwoxKrw3n/lnTB1s7+VZAOl4fxw=; b=mI6kEyFUw4ZVyeJ+S+7EsjuINj7ngTV5t/5qQbMZmbGrCAjuv3P5qryokGZeRXwPmfQ6Ia 8Dk5I2umbI4e+DETUnIymas7CJOc3gBM28vCigK5eQFMoYjcHaOZRs+RWaOTZIlCD4mIBG I2c/F290Vh7lY/mFzG5RdOTrqQFsH9NgGcEf/IdmrG3Y4JuQpqQDGIutvSGCsAw9/lexw4 /EdI4P1EBUGrX+oPQdX/EXf9OUbooP84MiQVEpm7KCNxYpalPz8X0kBUPrPmeA+Hbbehmi i6UN8THREd+4T38SDJD61FraZt2u6ta/vfj3UYRbeXuc7eGXpfX/wNNdNXhrSQ== X-Migadu-Spam-Score: -6.59 X-Spam-Score: -6.59 X-Migadu-Queue-Id: DC83917E59 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=gzwXeaqQ; dmarc=pass (policy=none) header.from=posteo.net; 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-TUID: 8IpH32ycQI+E S=C3=A9bastien Gendre writes: > I try do generate a blog with Org-mode publish.=20 > > I'm very impressed by the publishing tool. But as it's nice to do a > simple website, I have some difficulties to use it for a blog. Note that ox-publish is very basic. There is a number of third-party packages that simplify blog export. For example, ox-hugo. See https://orgmode.org/worg/org-blog-wiki.html > First, I try to customize the site map: > > * Is it possible to customize the entry without writing a function=C2=A0? > Something like the preamble with escaped chars (ex %t, %d)=C2=A0? It must be a function. If someone comes up with a patch for this, it would also be welcome. > * How can I set a postamble in the sitemap different from my blog > posts=C2=A0? Sitemap is exported just as an ordinary .org file within the project. So, you can, for example, modify sitemap generator function to add postamble manually and set #+OPTIONS: html-postamble:nil on top to disable default postamble. > Secondly, how can I put the author name and publication date just at the > bottom of the document title=C2=A0? I tried with preamble, but the preamb= le > is inserted before the document that I cannot disable. May you please elaborate? > Finally, how can I generate the RSS feed=C2=A0? I tried with ox-rss, but I > got an error about my version of Org: > Error (use-package): ox-rss/:catch: Invalid function: org-assert-version This indicates an issue with your Org installation. Consider re-installing Org mode and making sure that you do not put (require 'org) before setting `load-path'. This issue appear in several scenarios, depending on the kind of installation method you are using. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at