<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ntaku</author_name>
  <author_url>https://blog.hatena.ne.jp/ntaku/</author_url>
  <blog_title>プログラミングノート</blog_title>
  <blog_url>https://ntaku.hateblo.jp/</blog_url>
  <categories>
    <anon>Rails</anon>
  </categories>
  <description>サーバーと連携するiPhoneアプリをそろそろ個人でも作ろうかなと思ったので、とりあえず開発したことのある方法をまとめてみました。今回はrails 2.3.8, ruby 1.8.7, nokogiri 1.4.3.1な環境で作っています。 簡単な仕様 タスクをCRUDできるだけの単純なAPIを作ります。 下記のメソッドを用意して、XMLとJSONのフォーマットに対応します。 method URI params その他 検索 GET /api/search.format kw=検索ワード kwがない場合は全件返す 表示 GET /api/tasks/id.format 登録 POST /api…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fntaku.hateblo.jp%2Fentry%2F20100911%2F1284193050&quot; title=&quot;Railsを使ったRESTfulなAPIの作り方 - プログラミングノート&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>2010-09-11 17:17:30</published>
  <title>Railsを使ったRESTfulなAPIの作り方</title>
  <type>rich</type>
  <url>https://ntaku.hateblo.jp/entry/20100911/1284193050</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
