-
Notifications
You must be signed in to change notification settings - Fork 1
カスタムフィード
Tatsuya Koishi edited this page Nov 14, 2021
·
3 revisions
feed:
custom:
- path: sample/foo
command:
- bin/sample/custom_feed_2.sh
title: タイトル1
description: 説明1
-
path
はURLの作成に使われる。上の例だと、https://mstdn.example.com/mulukhiya/feed/sample/foo
になる。 -
command
は、コマンドラインを配列で。標準出力にJSONを出力するコマンドを事前に用意する。(後述) -
title
とdescription
は、それぞれRSS上で同名の要素になる。
- エラー時は0以外のエラーレベルを返す。
- サンプル