From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id O9r9MvlKW2QODwEASxT56A (envelope-from ) for ; Wed, 10 May 2023 09:42:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iFICMvlKW2QBwgAAauVa8A (envelope-from ) for ; Wed, 10 May 2023 09:42:49 +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 6231D23666 for ; Wed, 10 May 2023 09:42:49 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pweSJ-0006sg-0q; Wed, 10 May 2023 03:41:47 -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 1pweSH-0006sS-Ac for emacs-orgmode@gnu.org; Wed, 10 May 2023 03:41:45 -0400 Received: from mailer-211-159.hitrost.net ([91.185.211.159]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pweSF-00081u-71 for emacs-orgmode@gnu.org; Wed, 10 May 2023 03:41:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=christianmoe.com; s=x; h=Content-Type:MIME-Version:Message-ID:Date: In-reply-to:Subject:Cc:To:From:References:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=H132uN5ZNE7Fs6PdC7AN1FLFBmnWkgol4DCrL/UHtYg=; b=Ee6Hmu6veMNquGbhWbG877tLUa oIRR8TMEDR76DzY5RkHWMNdLc6T2jpi6qMxHgLxVHC8Ap3gW5X7nteZjNlUw58fFz6gAMG4Fn8vKG qNWbK8Dy2dnfT39xOR+Ms1eOXhCG1wcQb7OC9jUNVUjXMjvko9YXlZwcTkvYAyS02/nWe9d7xHT/X s4kFokpgXOO0EADJPJzLRhhDKiAIplZKRVOpikpCGIcwuaLK34itgHqipjw4Bxr71hKLlE8gxX8JH wUAAe8ke3gDRYejwba5bHHOduECSlT1sGzJxYM+bomQXawGzQnZ5AF8VPmuEp+3CUOyGC8QudGkfE R4UYR8ug==; Received: from 92-63-16-127.dynamic.telemach.net ([92.63.16.127] helo=Tauriel) by b1.hitrost.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pweS7-004GDd-1X; Wed, 10 May 2023 09:41:35 +0200 References: <87v8hejr8z.fsf@k-7.ch> <877cttsag1.fsf@localhost> <877ctiuyju.fsf@k-7.ch> <87ednpu0nd.fsf@localhost> User-agent: mu4e 1.2.0; emacs 27.2 From: Christian Moe To: emacs-orgmode@gnu.org Cc: =?utf-8?Q?S=C3=A9bastien?= Gendre Subject: Re: Org-mode publish: Some questions when use it for a blog In-reply-to: <87ednpu0nd.fsf@localhost> Date: Wed, 10 May 2023 09:41:34 +0200 Message-ID: <87v8h063bl.fsf@christianmoe.com> MIME-Version: 1.0 Content-Type: text/plain X-GeoIP: Country [IP], SI [92.63.16.127] X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-Authenticated-Id: mail@christianmoe.com Received-SPF: pass client-ip=91.185.211.159; envelope-from=mail@christianmoe.com; helo=mailer-211-159.hitrost.net X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-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=1683704569; a=rsa-sha256; cv=none; b=tLhpyJ2/2jhBqrrOQztDogs0Iiwp7Pn4FprFGr1NCOai0agcA/vqglD5Rp//fppDxmXcv9 qzvrONnr69/xF1u4Zww2hojsPvY0MKLf2LVAUmwN1L/rcsrv4NTtSUPsy7xgeCjmmXEjO7 /EdRewAORklLcSWp1r9yNmb2aH4EuoTT2Zw57QYbzUPYwb41l170X8PcRX66EqmUYhE5PT /JZ5vQ1BX/sOspUxSKXCijsX88igRcrjg5yO7M2jSUBGaxwIa0UwXwKQIuxei543T9F+xt qSDEd/bz+qQ4/jVJ+5eDU0icmE5V6qVP26iqFY4RXKVaWvphKoDSKT8RPhMa1A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=christianmoe.com header.s=x header.b=Ee6Hmu6v; 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=1683704569; 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=H132uN5ZNE7Fs6PdC7AN1FLFBmnWkgol4DCrL/UHtYg=; b=rDoU76t14Dv7vGWyUoGO0vhDXpgl5K5Os6gUI++6k7cA4zmC5zIpuFKDvZJjiAiJ2bY2BP lkrnzDOEc6x5MFuYLiAjFgBTLsP4ffAr2WFENu1cWreEe0tqrJbEtQ8R6+LiBZpdtQVuMd Gyf3dzP1B/Ch8sdK2Y19D6HGydkTeZKAL5qN8U7YoVAaZmFqUJdoasP2kDbZ/4DA1vXWqs tGUBSczgpbi/r0xT5INbhXbMyh6DkijqcBLjaJ7IK4Im7UraYIrE/KZq1YY7wO0MI/HKe9 BxxMXNRPau+T4VRtzPdHWbGJ5KFdpeRccKeBFXDNYN5rHWumdVGU5v86Mc6EfA== X-Migadu-Spam-Score: -2.41 X-Spam-Score: -2.41 X-Migadu-Queue-Id: 6231D23666 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=christianmoe.com header.s=x header.b=Ee6Hmu6v; 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: 67bJpdxApbRX >> 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. > > Well. You can define a derived dackend for ox-rss. It will require some > Elisp though. Check out `org-export-define-derived-backend' call in > ox-rss.el. > > Alternatively, I am pretty sure that a number of rss generators already > exist for static blogs. They are more likely to work using multiple > individual html pages as input. I've seen several people solving this by adapting the sitemap functionality in org-publish, since the sitemap already pulls together information about different pages. You can configure org-publish to use a bespoke sitemap-function that formats the sitemap as an Org file suitable for RSS export with ox-rss. This looks like a clear explainer: https://writepermission.com/org-blogging-rss-feed.html Yours, Christian