gist/matrix/maubot/README.md

27 lines
1.1 KiB
Markdown
Raw Normal View History

# 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 $feed_title: $title ($date) $summary`
- Line length is limited so if the URL is long, it's the most important thing.
2023-06-09 13:46:17 +02:00
- IRCish: `!rss template X $title $link $summary $date $feed_title`
- Still compatibleish with IRC, but in case the client has preview, it may be more useful now.
Note: at the time of writing `$author` is not supported?
2023-05-06 09:57:32 +02:00
Remember also that [matterbridge requires](https://github.com/42wim/matterbridge/issues/1393) `!rss notice X false`