emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Juan Manuel Macías" <maciaschain@posteo.net>
To: orgmode <emacs-orgmode@gnu.org>
Subject: An attempt to convert Elfeed entries (with parameters) to Org trees
Date: Mon, 31 May 2021 10:40:01 +0000	[thread overview]
Message-ID: <87bl8rxk3i.fsf@posteo.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 764 bytes --]

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.

For example, something like:

* New on CTAN
  :PROPERTIES:
  :ELFEED: @6-months-ago +TeX New on CTAN
  :END:

Or, for /This Month in Org/:

* /This Month in Org/
  :PROPERTIES:
  :ELFEED: @3-months-ago +tmio
  :END:

And then run `my-org/insert-entries-elfeed'.

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! :-)

Best regards,

Juan Manuel


[-- Attachment #2: elfeed-to-org.org --]
[-- Type: application/vnd.lotus-organizer, Size: 3719 bytes --]

             reply	other threads:[~2021-05-31 10:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-31 10:40 Juan Manuel Macías [this message]
2021-06-23 14:56 ` Ihor Radchenko
2021-06-24  8:02   ` Juan Manuel Macías

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bl8rxk3i.fsf@posteo.net \
    --to=maciaschain@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: An attempt to convert Elfeed entries (with parameters) to Org trees' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).