mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2025-08-19 12:57:22 +02:00
Compare commits
No commits in common. "ec18ac5255c2649d92d7f5b5743edb17c167cec0" and "dd0b7da6fe8d9760726513555e8aafaf1ad3df51" have entirely different histories.
ec18ac5255
...
dd0b7da6fe
@ -1,5 +1,3 @@
|
|||||||
[](https://github.com/pre-commit/pre-commit)
|
|
||||||
[](https://github.com/prettier/prettier)
|
|
||||||
[](https://results.pre-commit.ci/latest/github/Mikaela/gist/master)
|
[](https://results.pre-commit.ci/latest/github/Mikaela/gist/master)
|
||||||
|
|
||||||
This repository is a random assortment of files. In the beginning, I had
|
This repository is a random assortment of files. In the beginning, I had
|
||||||
|
@ -13,7 +13,6 @@ perform two state installations/directories/whatever:
|
|||||||
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
||||||
|
|
||||||
- [feed](#feed)
|
- [feed](#feed)
|
||||||
- [Template variations](#template-variations)
|
|
||||||
- [installation](#installation)
|
- [installation](#installation)
|
||||||
- [Usage without integration manager](#usage-without-integration-manager)
|
- [Usage without integration manager](#usage-without-integration-manager)
|
||||||
|
|
||||||
@ -30,23 +29,16 @@ contains:
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"label": "YLE News in English",
|
"label": "YLE News in English",
|
||||||
"template": "$FEEDTITLE: $AUTHOR $LINK ($DATE) $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)`. `$URL` is just the 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)
|
||||||
|
|
||||||
### Template variations
|
|
||||||
|
|
||||||
This contains the whole JSON line to easen copy-pasting as my events are missing it entirely.
|
|
||||||
|
|
||||||
- default: `"template": "New post in $FEEDNAME: $LINK",`
|
|
||||||
- Matrix: `"template": "$FEEDTITLE: $AUTHOR $LINK ($DATE) $SUMMARY",`
|
|
||||||
- IRC: `"template": "$URL $FEEDTITLE: $AUTHOR ($DATE) $SUMMARY",`
|
|
||||||
|
|
||||||
## installation
|
## installation
|
||||||
|
|
||||||
This probably has or should be left for the integration manager.
|
This probably has or should be left for the integration manager.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user