<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pikio</author_name>
  <author_url>https://blog.hatena.ne.jp/pikio/</author_url>
  <blog_title>pikio公式ブログ</blog_title>
  <blog_url>https://pikio.hatenadiary.org/</blog_url>
  <categories>
    <anon>作ってみよう</anon>
  </categories>
  <description>今回は、「占う」ボタンが押された時の処理と、CGIでのHTML部分の出力を作ります そして実際にCGIファイルをサーバにアップロードして動かしてみます #!/usr/local/bin/perl use strict; use CGI; my $q = CGI-&gt;new(); my $uranai = $q-&gt;param('uranai'); #「占う」ボタンが押されたら my $uranai_html; if($uranai){ #占いの結果を作成する my $uranai_kekka = 'とてもいい運勢です'; $uranai_html = &lt;&lt;&quot;URANAI_END&quot;; &lt;div id…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpikio.hatenadiary.org%2Fentry%2F20090829%2F1251552005&quot; title=&quot;占いページを作ってみる(5) ボタンが押された後の動作 - pikio公式ブログ&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>2009-08-29 22:20:05</published>
  <title>占いページを作ってみる(5) ボタンが押された後の動作</title>
  <type>rich</type>
  <url>https://pikio.hatenadiary.org/entry/20090829/1251552005</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
