emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* An attempt to convert Elfeed entries (with parameters) to Org trees
@ 2021-05-31 10:40 Juan Manuel Macías
  2021-06-23 14:56 ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Juan Manuel Macías @ 2021-05-31 10:40 UTC (permalink / raw)
  To: orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: An attempt to convert Elfeed entries (with parameters) to Org trees
  2021-05-31 10:40 An attempt to convert Elfeed entries (with parameters) to Org trees Juan Manuel Macías
@ 2021-06-23 14:56 ` Ihor Radchenko
  2021-06-24  8:02   ` Juan Manuel Macías
  0 siblings, 1 reply; 3+ messages in thread
From: Ihor Radchenko @ 2021-06-23 14:56 UTC (permalink / raw)
  To: Juan Manuel Macías; +Cc: orgmode

Juan Manuel Macías <maciaschain@posteo.net> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: An attempt to convert Elfeed entries (with parameters) to Org trees
  2021-06-23 14:56 ` Ihor Radchenko
@ 2021-06-24  8:02   ` Juan Manuel Macías
  0 siblings, 0 replies; 3+ messages in thread
From: Juan Manuel Macías @ 2021-06-24  8:02 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: orgmode

Hi Ihor,

Ihor Radchenko writes:

> 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.

When I update a headline, all previous feeds are removed, so there is no
possibility of duplicates. As I said, I find this system very useful to
have an overview within Org of the latest updates to certain feeds, such
as new packages uploaded to CTAN. I also have an org-capture template
only for new CTAN packages, in case I see any interesting packages.

I also have a section on CTAN news in my blog about typography and TeX
(in Spanish), and I update it using that method.

Best regards,

Juan Manuel 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-24  8:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31 10:40 An attempt to convert Elfeed entries (with parameters) to Org trees Juan Manuel Macías
2021-06-23 14:56 ` Ihor Radchenko
2021-06-24  8:02   ` Juan Manuel Macías

Code repositories for project(s) associated with this public 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).