LoginSignup
3
3

RSS/AtomをSlackに通知する

Last updated at Posted at 2020-08-31

これはなに?

前半は

  • フィード ( RSS / Atom ) をSlackに通知する方法です。

後半は

  • iOSエンジニア向けにおすすめの フィードアドレス の紹介になります。

環境設定をする

Slack ワークスペースに RSS アプリを追加する必要がありますので、本家を参考に行ってください。

/feed コマンドの使い方

# フィード (RSS/Atom) を登録する
/feed subscribe [フィードのアドレス]

# 登録済みのフィードと、その固有のIDナンバーを確認する
/feed list

# フィードの登録を解除する
/feed remove [IDナンバー]

# ヘルプを表示する
/feed help

GitHub.com にある OSS の通知を受け取る

GitHubはフィードに Atom を使用しています。
URLの末尾に .atom を追加したものが、フィードのアドレスになります。

※手始めにブラウザ$ curl [フィードのアドレス] で正しく表示されるか(対応しているか)を試してから、Slack通知の設定を行うと遣りやすいです。

GitHub Releases の通知を受け取る

# https://github.com/fastlane/fastlane/releases の通知を受け取る場合
/feed subscribe https://github.com/fastlane/fastlane/releases.atom
  • CocoaPods
    • /feed subscribe https://github.com/CocoaPods/CocoaPods/releases.atom
  • Carthage
    • /feed subscribe https://github.com/Carthage/Carthage/releases.atom
  • fastlane
    • /feed subscribe https://github.com/fastlane/fastlane/releases.atom
  • XcodesOrg/xcodes
    • /feed subscribe https://github.com/XcodesOrg/xcodes/releases.atom
  • xcpretty/xcode-install
    • /feed subscribe https://github.com/xcpretty/xcode-install/releases.atom
  • Firebase
    • /feed subscribe https://github.com/firebase/firebase-ios-sdk/releases.atom

Commit がされたら、通知を受け取る

# https://github.com/fastlane/fastlane/commits/master の通知を受け取る場合
/feed subscribe https://github.com/fastlane/fastlane/commits/master.atom

Apple Developer や Swift.org、Firebase などの通知を受け取る

  • News - Apple Developer
    • /feed subscribe https://developer.apple.com/news/rss/news.rss
  • Releases - Apple Developer
    • /feed subscribe https://developer.apple.com/news/releases/rss/releases.rss
  • Swift.org
    • /feed subscribe https://swift.org/atom.xml
  • WebKit.org
    • /feed subscribe https://webkit.org/feed/
  • Firebase
    • /feed subscribe https://firebase.googleblog.com/feeds/posts/default?alt=rss
    • /feed subscribe https://github.com/firebase/firebase-ios-sdk/releases.atom
3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3