matrix/{maubot,hookshot}: experiment with feed formatting

This commit is contained in:
Aminda Suomalainen 2023-06-09 14:43:52 +03:00
parent 9651430531
commit d72d5833e2
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,9 @@ 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: `"template": "$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?

View File

@ -46,6 +46,9 @@ This contains the whole JSON line to easen copy-pasting as my events are missing
- default: `"template": "New post in $FEEDNAME: $LINK",`
- Matrix: `"template": "$FEEDTITLE: $AUTHOR $LINK ($DATE) $SUMMARY",`
- IRC: `"template": "$URL $FEEDTITLE: $TITLE $AUTHOR ($DATE) $SUMMARY",`
- Line length is limited so if the URL is long, it's the most important thing.
- IRCish: `"template": "$TITLE $URL $SUMMARY $AUTHOR $DATE $FEEDTITLE",`
- Still compatibleish with IRC, but in case the client has preview, it may be more useful now.
## installation