Any way to pull images from an RSS feed to use as a desktop background?
Saw it on this thread first; http://www.reddit.com/r/EarthPorn/comments/gtdeu/howto_set_rearthporn_to_be_your_desktop_wallpaper/
Doesn't necessarily need to be EarthPorn but the idea is the same.
About this post
- Posted
- Archived
- Score
- 3 · 100% up
- Kind
- Text
- ID
- 2vr79w
7 comments
cron + http://u.arboreus.com/2008/02/how-to-parse-rss-20-in-bash.html + wget + feh?
Yes, but aren't systemd timers the way of the future
Deleted before we saved it.
This should be very possible in Python, I've actually heard of such a thing before. Quick Google search got me this. Now instead of using reddit, you could also use feedparser to parse whatever RSS feed you have.
Hope it helps.
http://www.reddit.com/r/EarthPorn/comments/gtdeu/howto_set_rearthporn_to_be_your_desktop_wallpaper/c1q7v6n
Any scripting language could parse the rss feed very easily. You'd probably have to run the images through imagemagick or something to crop them to the desired size unless you filter for only images in your resolution.
It can be done with Conky.