2024-04-28 15:23:20 +02:00
|
|
|
# Get Last RSS Post
|
|
|
|
|
2024-04-28 15:41:43 +02:00
|
|
|
![Screenshot](screenshot.jpg)
|
|
|
|
|
2024-04-28 15:23:20 +02:00
|
|
|
Simple script to get the latest post link from a RSS feed (usually, the second occurence of the `<title>` tag).
|
|
|
|
|
2024-04-29 15:59:11 +02:00
|
|
|
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.
|
2024-04-28 15:23:20 +02:00
|
|
|
|
2024-04-29 15:59:11 +02:00
|
|
|
If [toot](https://toot.bezdomni.net/) is installed, it can post the output as a status. A prompt will ask for it.
|
2024-04-28 15:23:20 +02:00
|
|
|
|
|
|
|
This is mainly for personal use. *CTRL-C/CTRL-V FTW!*
|
|
|
|
|
2024-04-29 12:08:02 +02:00
|
|
|
If I had to choose a license, it would be [MIT](LICENSE.md).
|
2024-04-28 17:58:16 +02:00
|
|
|
|
2024-04-29 15:59:11 +02:00
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
- `wget`
|
|
|
|
|
2024-04-28 17:58:16 +02:00
|
|
|
## TO DO
|
|
|
|
|
2024-04-29 12:08:02 +02:00
|
|
|
- [x] Multiple arguments with getopts
|
|
|
|
- [x] Check publish date
|
|
|
|
- [x] Post with Toot
|
2024-04-29 15:51:57 +02:00
|
|
|
- [x] Toot Visibility
|
2024-04-28 17:58:16 +02:00
|
|
|
- ...?
|
2024-04-29 15:59:35 +02:00
|
|
|
- [ ] Custom template for post
|