<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gallu</author_name>
  <author_url>https://blog.hatena.ne.jp/gallu/</author_url>
  <blog_title>がるの健忘録</blog_title>
  <blog_url>https://gallu.hatenadiary.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>とりあえず「どのタイミングで通信を発生させて」「情報を保存するか」ってあたりがキモだと思うんで、その辺を中心に。 おいちゃんは、この手の物は割と「永続インスタンス」を使うほうなので、それで説明をしていきます。 とりあえず「ユーザを特定できる(authenticationは必要ないので、authorizationが出来る)」前提で。 PHPだと、session機能使うと楽ですな。 ユーザから「ページを表示する」リクエストが来ます。bj.phpとかいうプログラムと仮定しましょう。 今回は多分、bj.php?掛け金=金額、ってなリクエストが来ていると思われます。 session情報に「なにもない」場…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgallu.hatenadiary.jp%2Fentry%2F20140625%2Fp3&quot; title=&quot;ブラックジャックを設計してみる：本体 - がるの健忘録&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>2014-06-25 00:00:02</published>
  <title>ブラックジャックを設計してみる：本体</title>
  <type>rich</type>
  <url>https://gallu.hatenadiary.jp/entry/20140625/p3</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
