<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>GET引数をハッシュに変えたい 実は、頻繁にやるんだけど、毎回適当に行っていて、これといった方法を決めてなかったので、ちゃんと方法を決めることにする。 require 'uri' module URI class &lt;&lt; self alias :_parse :parse def parse a, original=false return self._parse a if original r=/[一-龠]+|[ぁ-ん]+|[ァ-ヴー]+|[ａ-ｚＡ-Ｚ０-９]+/ a = a.gsub(r){|m| URI.encode_www_form_component(m) } u = self._p…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2016%2F06%2F29%2F234050&quot; title=&quot; ruby で URL をパースしてGET引数をHashに展開する。(日本語URI対応) - それマグで！&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>2016-06-29 23:40:50</published>
  <title> ruby で URL をパースしてGET引数をHashに展開する。(日本語URI対応)</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/2016/06/29/234050</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
