From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MJrYFv/c3l/8XQAA0tVLHw (envelope-from ) for ; Sun, 20 Dec 2020 05:11:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4EF2Ev/c3l9feAAA1q6Kng (envelope-from ) for ; Sun, 20 Dec 2020 05:11:27 +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 075B3940276 for ; Sun, 20 Dec 2020 05:11:23 +0000 (UTC) Received: from localhost ([::1]:36188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqr04-0006j8-Jh for larch@yhetil.org; Sun, 20 Dec 2020 00:11:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqqzR-0006in-LQ for emacs-orgmode@gnu.org; Sun, 20 Dec 2020 00:10:41 -0500 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:38966) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqqzM-0003vD-Uf; Sun, 20 Dec 2020 00:10:41 -0500 Received: by mail-pj1-x1034.google.com with SMTP id hk16so4523703pjb.4; Sat, 19 Dec 2020 21:10:36 -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=ZBxXPE0UxTjyXZ796B0BfnWLRJlE8EmDD+wTBDocaUXETtAycT9JJSRdZYsh0sHF0D ouR3nMWF5YcZ3tndaeskg1rLtOKdrxwdQLBUJd0xC/sqWSlh1UYPCrZ9d5xuosiAUtOY bP6JWqHmvxyMs19tGabmRuIPFJSs4eXVECpclAV/rNqf1TyfE2TfCiQ20D22xNCmx6kZ 3EPVCydQKyipbkOHxUeThgovKoh+FnirzKYx/GvbTdDwRQUxjZewh1SP/jkkK7sGbbNN l/axf0xr0G1prYSH1aGDDObCdLU0ioQXvg5bA/GPsQWKHdXjMRPaLDAlUNGvH3OYIIYW 9LnQ== 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=bYN6uYJpFvwPS6RxmeuOaLMPyJpA0pkNSEUG03UHflEbkPblW+zCWYsyHayux8cFzc PFQazKMqjDYS2w8bVkSYxlNDuWkHY7mnXcaV/VitVxKgoUbtg4Qu6ihZCTh1gvjL8Lyr ZqLz1CWEuP5gGEzsiHQNFJ/AkOm3WPKPds9zAuYJClI8eAUwW8ambwNlTqQOpNHq1xRy wFIZYgTZrz9T9wuNfMREKIu0eLynMW1SWH3KVFppiCrZQ6J9drDEyHX6p1suGnE9pBWX 45eZwUwclCAks3s6kholA+KpH16/IthKa8A83RT9Bp9z4kzYHaQOUQjTgZPsl780AfIF YUZA== X-Gm-Message-State: AOAM530k133y4ILhzh2ZwWSJYZ+pysBGhDzQyJUsKla609UosN0xl+/m HZvh2m03502lsua/cGsawTA7I0eOeb0= X-Google-Smtp-Source: ABdhPJxPiLmeero7EcxBX7isIuEw29PO8q8meC09rqn4BzbsLVjKJHkNErPsEzdBC66LijyCwHwtpg== X-Received: by 2002:a17:90a:ae02:: with SMTP id t2mr11628148pjq.169.1608441034833; Sat, 19 Dec 2020 21:10:34 -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 k125sm9554134pga.57.2020.12.19.21.10.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Dec 2020 21:10:34 -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: <878s9tukop.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=tecosaur@gmail.com; helo=mail-pj1-x1034.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=ham 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=ZBxXPE0U; 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: 075B3940276 X-Spam-Score: -3.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: OAE/9z9jV8s3 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