From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aN8kB6VL02AoSgAAgWs5BA (envelope-from ) for ; Wed, 23 Jun 2021 16:56:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8PDpAqVL02BmJwAAB5/wlQ (envelope-from ) for ; Wed, 23 Jun 2021 14:56:37 +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 62E2A157DF for ; Wed, 23 Jun 2021 16:56:36 +0200 (CEST) Received: from localhost ([::1]:44396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lw4Ir-00072P-Lw for larch@yhetil.org; Wed, 23 Jun 2021 10:56:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lw4IS-000729-F0 for emacs-orgmode@gnu.org; Wed, 23 Jun 2021 10:56:08 -0400 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:40772) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lw4IQ-0000pq-PS for emacs-orgmode@gnu.org; Wed, 23 Jun 2021 10:56:08 -0400 Received: by mail-lf1-x12d.google.com with SMTP id i13so4608934lfc.7 for ; Wed, 23 Jun 2021 07:56:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:cc:date:message-id :mime-version:content-transfer-encoding; bh=riF+X6s2MR2Xc0XEdVXB0slgWhSz0gHyo9bTbfK8Qc0=; b=ly6iOG4MPxwuoGAP3IUcmRXmPnoxvn+vxnMdwBXlYSC6J0l4/536vkYdq3l5d6qmx4 MDpZesJRpJ8Ky2QXBylqm9yuEvpaZW/0floLEuo3T7XjQOXcf3maMSJJ8eP+rWCts0Xh DvpQzr6WGtaIgTKh2vbrn4HTm+uDlKvVgmX4sM3qWg6tMBDHrK6TmhPx5Vc1xPAEepS4 PVSYqoljuNMZU7Os2+L8bISn+dK42KuAjGTxVIDsPWMZczIrXkkUKFMTnanrYDdchNVO QMKpWAq2I+ZH8P83eC5MZtT21ULkOFBtw8KhU8B4TxS/vc6XEI/GrLeiJUnGsUoH+0pb /m+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:cc:date :message-id:mime-version:content-transfer-encoding; bh=riF+X6s2MR2Xc0XEdVXB0slgWhSz0gHyo9bTbfK8Qc0=; b=p8eI+BLavvszQqWNuCZ0aX/w2vSSg2cq50DeE6wS3fIn++8X7dN17g7f/OBAeKWYhq iKCfbWGxhU1tbns8QUzWLcPe6LyYKO/pwlhqbScRKvI/0JQnhSSRE0piACF0ycHXITTG sBKpB7w3UJiME7vNYiTiOi57gG2AFrJ9sfipxfahSq2j13RLpuQlactbwAJylBQccL9e CfbLnQdgJlXA8mLa5YE7J04mNEygwL0YXsR4KFVndVnGJQ4nr3vTvaPFpwfc8zo1nBi2 5yP9MnqEQVHGwokdxgi0Zet9qFoZ1XAgyG2U1WKWNyDezF+wkpLq6Ow9S52DiE5QwX7B IQEw== X-Gm-Message-State: AOAM531iGHCbzG63R9hSg9ZTpKEowLJhWCOCo1UIGAvRFpDwjK0FD8XU BuBXVBepWiNsd+kFlKiafu0= X-Google-Smtp-Source: ABdhPJwORDlx/7ZXdTYP86tfNnz7Yw5dfkmYEx88fj2o9SC+9n6WgNkOoTYVsxhq1764TeF8UKvCNw== X-Received: by 2002:a19:7502:: with SMTP id y2mr6296lfe.498.1624460164217; Wed, 23 Jun 2021 07:56:04 -0700 (PDT) Received: from localhost ([158.255.2.9]) by smtp.gmail.com with ESMTPSA id p3sm14360lfd.258.2021.06.23.07.56.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Jun 2021 07:56:03 -0700 (PDT) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Subject: Re: An attempt to convert Elfeed entries (with parameters) to Org trees In-Reply-To: <87bl8rxk3i.fsf@posteo.net> References: <87bl8rxk3i.fsf@posteo.net> Date: Wed, 23 Jun 2021 22:56:03 +0800 Message-ID: <878s30wry4.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=yantar92@gmail.com; helo=mail-lf1-x12d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624460196; 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=riF+X6s2MR2Xc0XEdVXB0slgWhSz0gHyo9bTbfK8Qc0=; b=mJdTL3j/0R4gszJ1EXVNmB2XHjRiGZKW7GTorZuh1HSkGMI3XL22Bd4RD7MvzABF+S2Enq D45rc7ogQ2uvNqqRu4D03Eyaljl90xKEmxKC3QPSx3LlYVLioStUM97Qkg6CfLlDHqvYZm uqF5lE9ZZPpm7cUF2dm4q6OOQr40eKffhtOTefJIYD1u31R0Tc5CKcfMxo1Zq4r+X/QShk u4Rimbf2ve4iDNjIzDI7KH3LLHTrz6Ja+heLrMG23iuJBTvITDonCFhbX962XjUcLWJ9WS BGfddQYuNmpLytgSYhwiDl9kuNwriZZW0LrkFBITlNgdxPnMjSUCurwrLkvKIg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624460196; a=rsa-sha256; cv=none; b=BwC/aQUMzb9D7X0xqdoawqMHIpOKlgQmZ1UUedrc4ZlUoLpIy34T2LFMxawXFoFhYbY3jz 4JjE26kVjdUi2JQqqlSd3dzD0RYasXZ3BLdOiH517uUhhfZzUZOld1pPzmWpaLEwVAWC46 0C0eabGgkjVoZ+CYfSy5lUK288C96I1Zuj1QAfTWVBw7x7VyFjpghkR+YIw6ev65EEEcJR 3JMl03ybGUGNfHWNYU4Qk33k251lf/Fmsd4dui9q8uKaMU1JZHijMM2Q38ULlpmvnDGQZC fPxlAsGsRO9GDXOR20k5V4QqUcl5cdzSUaOlQaSqsE/PndGqkaTZ+55k6N97tg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=ly6iOG4M; 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-Spam-Score: -2.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=ly6iOG4M; 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: 62E2A157DF X-Spam-Score: -2.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: MQy1tqHreSaY Juan Manuel Mac=C3=ADas writes: > Hi all, > > I like to keep up to date with new LaTeX packages that are being > uploaded to CTAN and I'm subscribed to the CTAN news feed. I always use > Elfeed to check my subscriptions, but it occurred to me to write a > function (with org-map-entries) to be able to pass Elfeed entries (with > certain parameters) to Org trees. > ... > If anyone wants to try it, I attach an Org document with the code, which > is very preliminary, not too fancy and quite improvable. Feedback > welcome! :-) What about duplicates? If you insert all the feeds from the last few months and then update the same headline weeks later, there will overlap between elfeed entries. Also, there is built-in org-feed.el. Finally, I personally save feed entries selectively using org-capture-ref [1]. [1] https://github.com/yantar92/org-capture-ref Best, Ihor