<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mactkg</author_name>
  <author_url>https://blog.hatena.ne.jp/mactkg/</author_url>
  <blog_title>半空洞男女関係</blog_title>
  <blog_url>https://mactkg.hateblo.jp/</blog_url>
  <categories>
    <anon>slack</anon>
    <anon>bot</anon>
    <anon>ruby</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>config.rbに書く 結構雑だけど…あとで直します require 'net/http' require 'uri' require 'json' GOLLUM_HOST = &quot;GOLLUMを置いているルートのURL&quot; SLACK_API_URL = &quot;SlackのIncoming WebHooksのURL&quot; Gollum::Hook.register(:post_commit, :hook_id) do |committer, sha1| f = lambda { |h| h[h.keys.first].is_a?(Hash) ? &quot;#{h.keys.first}/#{f.call(h[…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmactkg.hateblo.jp%2Fentry%2F2015%2F03%2F03%2F000735&quot; title=&quot;Gollumが編集されたらHook受けてSlackに通知する - 半空洞男女関係&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-03-03 00:07:35</published>
  <title>Gollumが編集されたらHook受けてSlackに通知する</title>
  <type>rich</type>
  <url>https://mactkg.hateblo.jp/entry/2015/03/03/000735</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
