From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iBqDJfqWWWQ7ZQEASxT56A (envelope-from ) for ; Tue, 09 May 2023 02:42:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sOtmJfqWWWRbSAEAauVa8A (envelope-from ) for ; Tue, 09 May 2023 02:42:34 +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 29EFA10E53 for ; Tue, 9 May 2023 02:42:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwBPf-00018r-Qk; Mon, 08 May 2023 20:41:07 -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 1pwBPc-00018b-Tb for emacs-orgmode@gnu.org; Mon, 08 May 2023 20:41:04 -0400 Received: from 96-100-31-185.ftth.cust.kwaoo.net ([185.31.100.96] helo=gandalf.k-7.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwBPY-0006vD-IQ for emacs-orgmode@gnu.org; Mon, 08 May 2023 20:41:04 -0400 Received: from sherazad-lan (_gateway [192.168.1.1]) (Authenticated sender: seb) by gandalf.k-7.ch (Postfix) with ESMTPSA id D9E49E8108; Tue, 9 May 2023 02:40:53 +0200 (CEST) References: <87v8hejr8z.fsf@k-7.ch> <877cttsag1.fsf@localhost> User-agent: mu4e 1.8.11; emacs 28.2 From: =?utf-8?Q?S=C3=A9bastien?= Gendre To: Ihor Radchenko Cc: emacs-orgmode Subject: Re: Org-mode publish: Some questions when use it for a blog Date: Tue, 09 May 2023 02:27:01 +0200 In-reply-to: <877cttsag1.fsf@localhost> Message-ID: <877ctiuyju.fsf@k-7.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=gandalf.k-7.ch X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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=1683592954; a=rsa-sha256; cv=none; b=m1Nwg2cvSoE1x+8+K4vcKyw8sGdW+lQ68YusfHq4aHlKDeL1qPeLZttETWpEkBtcNbpvyR wXRpKVYYwgNM1QSDSrBDHvB/2ldOPp8LQ51QGH5YQ6tWkmfY3y5yIgBfkp9JPEWzJVkQSn AKFBG3Pmzi9D+gr9iBPpMATcTL1VdALrmJs9u+zGO3qsXQCUuOyuYsgsR0HBQcCwjrSP8X veisAvoqG8VrE/2sI4GBC+u45PksXRlh95KApECgEu2fcqUIoe8j6+i6IV25q8epiI0rV2 ug3zbpvN97WrpK/QBA+U67ra2vdOh14wKD8OFj+ulPxcqFsmSl4VVwPjFzH5hA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683592954; 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; bh=xB80H7c/RyGQVhsghWrSZh4DV+M1Nywm1kD/qYiLexA=; b=Zx2+7Dhg0MEIw4mWpP64IZJ5i0CJ8bmKugtX0tzce946l1mUCjuEelmNoP2bs8zE/G01Tl 9Ok4IwsSFiEJQkBADf48IhslBAkNWPDn448AuVsxU56hMfg/0s5tj3M6UB6uiVUTge+9b6 wfFZpzfRf4L2gklpT2FrOo8OncHe0WtABJWI9zElbdrIDzxT6lOJ2qXgPxI/aeaxfe5d7i wy61ph1jHfMh++dQC8//9p8laG42LoY2vK1mH3Hl+hbYAJN+2wogXtEZy6jIr5VbPQB8jK +SphQs8HFn/7bHAvpwRxmy88mfK/xBivZKfvUEvbHlvfFzGVwwNOQUWXB011xw== X-Migadu-Spam-Score: -1.99 X-Spam-Score: -1.99 X-Migadu-Queue-Id: 29EFA10E53 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; 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-TUID: B1whDKDoZphG Thank you for your reply Ihor. Ihor Radchenko writes: Ihor Radchenko writes: > > May you please elaborate? When a webpage is generated by `org-html-publish-to-html`, it put the title of the document at top of the HTML content as an

. I wanted to modify it to put Author and date below this title but before the rest of the content. > 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. I Found the origin of the problem: My publication script is launch with an `emacs -q` command. And I had updated Org-mode for my installation of Emacs. But, generate a RSS feed with ox-rss [1] give me some problems. The README is not really clear on what the Org-mode file should look. And it seems to be done to generate RSS when all blog posts are a headline in the same document. But on my blog, each blog post is on a different document. I guess, until I found a better way, I'm gonna write my RSS feed manually with help of Yasnippet. [1] https://github.com/BenedictHW/ox-rss > 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 pream= ble >> 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.