Bash script to get the last post from a RSS feed.
Go to file
Massimo Scagliola 8702a76c06 updated readme 2024-04-29 12:08:02 +02:00
LICENSE.md license 2024-04-28 15:30:41 +02:00
README.md updated readme 2024-04-29 12:08:02 +02:00
get-last-rss-post.sh getopts + visibility 2024-04-29 12:05:38 +02:00
screenshot.jpg getopts + visibility 2024-04-29 12:05:38 +02:00

README.md

Get Last RSS Post

Screenshot

Simple script to get the latest post link from a RSS feed (usually, the second occurence of the <title> tag).

It provides a quick way to copy/paste the title and URL for social media.

If toot is installed, it can post the output as a status. A prompt will ask it.

This is mainly for personal use. CTRL-C/CTRL-V FTW!

If I had to choose a license, it would be MIT.

TO DO

  • Multiple arguments with getopts
    • Check publish date
    • Post with Toot
    • Toot Visibility?
    • ...?
  • Custom template for post