-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FetchNewsWordpressApi | ||
===================== | ||
|
||
一定間隔で [クリエイターズネットワーク公式サイト](https://www.cre.ne.jp/) に新しく投稿された告知記事があるかチェックし、新規記事のタイトルと URL を NOTICE します。 | ||
|
||
|
||
設定 | ||
---- | ||
|
||
設定ファイルに以下を追加して、プラグインの設定を行います。 | ||
|
||
```yaml | ||
# 公式WP (https://www.cre.ne.jp/) 記事引用プラグインの設定 | ||
FetchNewsWordpressApi: | ||
# 新規投稿を監視する間隔(秒) | ||
# あまり短いとアクセス規制になるので注意 | ||
# 60 以上を推奨 | ||
CheckInterval: 300 | ||
|
||
# チェックごとに取得する記事の最大数 | ||
MaxPostsPerCheck: 3 | ||
|
||
# NOTICE を行うチャンネルの一覧 | ||
ChannelsToSend: | ||
- '#cre' | ||
``` |