Re: An attempt to convert Elfeed entries (with parameters) to Org trees

2021-06-24 Thread Juan Manuel Macías
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 



Re: An attempt to convert Elfeed entries (with parameters) to Org trees

2021-06-23 Thread Ihor Radchenko
Juan Manuel Macías  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



An attempt to convert Elfeed entries (with parameters) to Org trees

2021-05-31 Thread Juan Manuel Macías
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



elfeed-to-org.org
Description: Lotus Organizer