matrix/hookshot/README.md: correct template

This commit is contained in:
Aminda Suomalainen 2023-04-28 12:29:58 +03:00
parent ac7b656642
commit 7c64c07e16
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -29,12 +29,14 @@ contains:
```json ```json
{ {
"label": "YLE News in English", "label": "YLE News in English",
"template": "$FEEDTITLE: $AUTHOR $TITLE <$LINK> - $SUMMARY", "template": "$FEEDTITLE: $AUTHOR $LINK \n $SUMMARY",
"url": "https://feeds.yle.fi/uutiset/v1/recent.rss?publisherIds=YLE_NEWS" "url": "https://feeds.yle.fi/uutiset/v1/recent.rss?publisherIds=YLE_NEWS"
} }
``` ```
- `"template"` is optional and defaults to `New post in $FEEDNAME: $LINK` - `"template"` is optional and defaults to `New post in $FEEDNAME: $LINK`
- Note: `$LINK` actually means `[$TITLE](LINK)`.
[#731](https://github.com/matrix-org/matrix-hookshot/issues/731)
- [Upstream documentation](https://matrix-org.github.io/matrix-hookshot/latest/setup/feeds.html#feed-templates) - [Upstream documentation](https://matrix-org.github.io/matrix-hookshot/latest/setup/feeds.html#feed-templates)
## installation ## installation