<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ZIGOROu</author_name>
  <author_url>https://blog.hatena.ne.jp/ZIGOROu/</author_url>
  <blog_title>日向夏特殊応援部隊</blog_title>
  <blog_url>https://zigorou.hatenablog.com/</blog_url>
  <categories>
    <anon>Perl</anon>
    <anon>CPAN</anon>
    <anon>Catalyst</anon>
  </categories>
  <description>多分応用としてはtemplateに渡した時にuriの記述を抽象化出来るって事なんですけど、 Catalyst::Dispatcherにあるget_action(), get_action_by_path()メソッドを使うと、 namespace + action_name, pathなどでCatalyst::Actionまたはその派生クラスを取得する事が出来ます。 これと同じくCatalyst::Dispatcherにあるuri_for_action()メソッドを使うと、 割と綺麗にURIを抽象化する事が出来そうです。 package MyApp::Controller::Foo; use s…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzigorou.hatenablog.com%2Fentry%2F20061030%2F1162225100&quot; title=&quot; actionの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>2006-10-30 01:18:20</published>
  <title> actionのuriを取得する</title>
  <type>rich</type>
  <url>https://zigorou.hatenablog.com/entry/20061030/1162225100</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
