From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qPIgCHXd3l/8XQAA0tVLHw (envelope-from ) for ; Sun, 20 Dec 2020 05:13:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IBncA3Xd3l89dQAAbx9fmQ (envelope-from ) for ; Sun, 20 Dec 2020 05:13:25 +0000 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 9D72C940276 for ; Sun, 20 Dec 2020 05:13:24 +0000 (UTC) Received: from localhost ([::1]:38492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqr23-0007lp-L7 for larch@yhetil.org; Sun, 20 Dec 2020 00:13:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqr1h-0007lV-P3 for emacs-orgmode@gnu.org; Sun, 20 Dec 2020 00:13:01 -0500 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:34278) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqr1g-0004zH-Ah; Sun, 20 Dec 2020 00:13:01 -0500 Received: by mail-pf1-x432.google.com with SMTP id w6so4468499pfu.1; Sat, 19 Dec 2020 21:12:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=8FrN+4StBhOK3pYCIjuJdBq2PsM8JXC3K+2Fi7BvlHU=; b=DD/2E5PnZkLW1+u+iLvLleqduA7/c+znqTxivwnybMkHa3m99RzeVlvFunwaPJPGa0 mYOiA5g1E/2hYoI4Y0jJaEHfrBkbVdRLBWbPIw16bcaQVr3KYd8klbVY/ZniL9xPv8qq RGO601PvXyqRtBkCaQT77FvdBLDQBiK8vzi4L9yCYu6MznxofU32WzzTLmZPhT5BmJI+ 7JDjyQT55Mbl+Vl2J8mZkY4RIQIHBTUbVIChUXIjMyRsZ3otDHMXU6o33C5w5XBHxQp/ igCkZ4ApAo7bdJAT7fWS2s6/WsCb+G2PpNFUCGHCH2wW55pSM9rnSZubkxUxeQIlbrDJ PpPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=8FrN+4StBhOK3pYCIjuJdBq2PsM8JXC3K+2Fi7BvlHU=; b=C1oud0Yi08m6f14fMd9u6rH25afAXVJtSxBpzXJCmXd2dkiWByp6BEi5U5ma+ANT05 8O6hHT8dZ9v1Edf55HTduaJ0p/tEOIPWbQsQe9eLS8bHRQtG6QBLk2RcmcLxDFCcmwrX ym0ftkJA+Td0vZD9c8B2wWLvlvMpRHfVqMbZVZPsRnA2pYuOztIrcnVk3nfGSsVQGmep jMGBPitz/8LIWPy1S+4RqGYY+seTR2/1jJ7xEv/L7o7nYoZcyvHjWMo/DygsXTUamWkJ 4tfl8vU4kY3RsUAO3CoN0GVVJFjRo/G/S/eNRC5UEapCOvF5I6a3FaAf3Y7y9K+2qoRA SDHQ== X-Gm-Message-State: AOAM533hXeXXwsCCi1yy3CScXJCApiBriucFiVzfY5nrd2KiV6TAmFim +E5gk++Yqt/qtdQUOcKMMQ1gWtRue4k= X-Google-Smtp-Source: ABdhPJxZ0yvVdMO0opNfljretNsOn+oC2w0ast7zN22djjii9X+oYsFtZrWVrmWbZRynfv30Uy+8mQ== X-Received: by 2002:aa7:9e43:0:b029:19c:d0ab:2684 with SMTP id z3-20020aa79e430000b029019cd0ab2684mr10529873pfq.42.1608441178238; Sat, 19 Dec 2020 21:12:58 -0800 (PST) Received: from localhost (180-150-91-8.b4965b.per.nbn.aussiebb.net. [180.150.91.8]) by smtp.gmail.com with ESMTPSA id c10sm6861966pjn.22.2020.12.19.21.12.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Dec 2020 21:12:57 -0800 (PST) References: <87pn6kfr19.fsf@gmail.com> <87v9gcz9ge.fsf@wi.uni-muenster.de> <87lfh8fkj1.fsf@gmail.com> <87zh5n1p3s.fsf@wi.uni-muenster.de> <87tuvl3fyc.fsf@gmail.com> <878scvs0z7.fsf@wi.uni-muenster.de> <87wo0fktjs.fsf@gmail.com> <874knjrtg9.fsf@wi.uni-muenster.de> <87tuvjkqzl.fsf@gmail.com> <87sgb28gd8.fsf@wi.uni-muenster.de> <87blexel9f.fsf@gmail.com> <87im94ordh.fsf@gnu.org> <87tusolntx.fsf@wi.uni-muenster.de> <873607uw3y.fsf@gmail.com> <87im928ck3.fsf@wi.uni-muenster.de> <87k0tidxcf.fsf@gmail.com> <875z5287v1.fsf@wi.uni-muenster.de> User-agent: mu4e 1.4.13; emacs 27.1 From: TEC To: Jens Lechtenboerger Subject: Re: [PATCH] Enhance org-html--build-meta-info Date: Sun, 20 Dec 2020 13:08:06 +0800 In-reply-to: <875z5287v1.fsf@wi.uni-muenster.de> Message-ID: <877dpdukkp.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=tecosaur@gmail.com; helo=mail-pf1-x432.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 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bastien , org-mode-email Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.01 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=DD/2E5Pn; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 9D72C940276 X-Spam-Score: -3.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: cq5MaFhGkWY8 Jens Lechtenboerger writes: >> For people who want to customise this to add metadata, the page title is >> something they're probably interested in. > > What metadata would you derive from the title? In my earlier example, I use the "og:title" property. >> If so, I think it's work giving the title processed by >> org-html--build-meta-info as it's not so simple as >> (plist-get info :title). > > Extracting it from ~info~ might be more flexible as it would not be > tied to the current implementation. My thoughts are just that its seems like title/author may be handy, and we've already worked those out, so why not just pass them along? Could probably reduce to just info, not sure what's best though. Other than this, is there anything else you think might be worth considering before merging? -- Timothy