matrix/maubot: initial commit on rss templates

This commit is contained in:
Aminda Suomalainen 2023-05-06 10:40:40 +03:00
parent 3572ceabb3
commit fe641793ab
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

21
matrix/maubot/README.md Normal file
View File

@ -0,0 +1,21 @@
# Maubot notes
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
- [RSS templates](#rss-templates)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
## RSS templates
Like with Hookshot, RSS templates must be specified per feed.
[Upstream documentation](https://github.com/maubot/rss/blob/master/README.md#templates)
Replace X with the feed ID seen in `!rss subscriptions`:
- default: `!rss template X New post in $feed_title: [$title]($link)`
- Matrix: `!rss template X [$feed_title]($feed_link): [$title]($link) ($date) $summary`
- IRC: `!rss template X $link $title ($date) $summary ~ $feed_title`
Note: at the time of writing `$author` is not supported?