Herramienta que permite automatizar acciones basadas en feeds RSS o Atom. Básicamente, monitorea feeds y ejecuta acciones cuando encuentra nuevos elementos.
$ feed2exec add "Noticias Linux" https://example.com/feed.xml maildir
$ feed2exec fetch
$ feed2exec add "Noticias Tecnología" https://ejemplo.com/rss maildir --mailbox ~/Mail/tech-news/
$ feed2exec add "Podcasts" https://ejemplo/feed.xml exec --command "wget {url} -O ~/Podcasts/{author}-{title}.mp3"
$ feed2exec add "Blog Linux" https://ejemplo/feed.xml maildir --filter "machine learning|inteligencia artificial"
1.-
Ejemplo de configuración mediante archivo YAML
$ nano ~/.config/feed2exec.ini
[DEFAULT]
output = maildir
mailbox = ~/Mail/feeds/
[feeds.noticias]
url = https://example.com/feed.xml
output = maildir
mailbox = ~/Mail/noticias/
[feeds.podcasts]
url = https://podcast-feed.com/feed.xml
output = exec
command = wget {url} -O ~/Podcasts/{title}.mp3
...
2.-
Configurar un trabajo cron para que feed2exec se ejecute periódicamente
$ crontab -e
Añadir una línea para ejecutar feed2exec cada hora
0 * * * * /usr/bin/feed2exec fetch