mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-28 22:29:29 +01:00
matrix/{maubot,hookshot}: experiment with feed formatting
This commit is contained in:
parent
9651430531
commit
d72d5833e2
@ -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)`
|
- default: `!rss template X New post in $feed_title: [$title]($link)`
|
||||||
- Matrix: `!rss template X [$feed_title]($feed_link): [$title]($link) ($date) $summary`
|
- Matrix: `!rss template X [$feed_title]($feed_link): [$title]($link) ($date) $summary`
|
||||||
- IRC: `!rss template X $link $feed_title: $title ($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?
|
Note: at the time of writing `$author` is not supported?
|
||||||
|
|
||||||
|
@ -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",`
|
- default: `"template": "New post in $FEEDNAME: $LINK",`
|
||||||
- Matrix: `"template": "$FEEDTITLE: $AUTHOR $LINK ($DATE) $SUMMARY",`
|
- Matrix: `"template": "$FEEDTITLE: $AUTHOR $LINK ($DATE) $SUMMARY",`
|
||||||
- IRC: `"template": "$URL $FEEDTITLE: $TITLE $AUTHOR ($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
|
## installation
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user