mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-25 12:49:23 +01:00
27 lines
1.1 KiB
Markdown
27 lines
1.1 KiB
Markdown
# 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.
|
|
- 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?
|
|
|
|
Remember also that [matterbridge requires](https://github.com/42wim/matterbridge/issues/1393) `!rss notice X false`
|