Get-Last-RSS-Post/README.md

28 lines
800 B
Markdown

# Get Last RSS Post
![Screenshot](screenshot.webp)
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. It can be useful to run after deploying a static website.
If [toot](https://toot.bezdomni.net/) is installed, it can post the output as a status. A prompt will ask for it.
This is mainly for personal use. *CTRL-C/CTRL-V FTW!*
If I had to choose a license, it would be [MIT](LICENSE.md).
## Dependencies
- `wget`
- `toot` (optional for posting on Mastodon)
## TO DO
- [x] Multiple arguments with getopts
- [x] Check publish date
- [x] Post with Toot
- [x] Toot Visibility
- [x] Random expressions
- ...?
- [ ] Custom template for post