mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-25 20:59:22 +01:00
matrix/maubot: initial commit on rss templates
This commit is contained in:
parent
3572ceabb3
commit
fe641793ab
21
matrix/maubot/README.md
Normal file
21
matrix/maubot/README.md
Normal 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?
|
Loading…
Reference in New Issue
Block a user