タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

JSONとWebAPIとPHPに関するwackyのブックマーク (4)

  • PhotoFolder : JSON Image Gallery API + Automatic Thumbnails

    What it Does PhotoFolder scans a given folder for JPEG files with any number of thumbnail sizes per image. If the resized images do not yet exist, it will automatically create the thumbnails for you. It then returns a JSON or PHP array of sizes and dimensions for all images in the folder. The result is that your workflow for adding new images to an application built with PhotoFolder is a simple as

    wacky
    wacky 2007/07/02
    Ajaxなイメージギャラリーの構築を支援するPHPクラス。指定フォルダ内の画像をJSONで返すAPIを提供。サムネイル画像も自動で作ってくれる。MITライセンス。
  • PHPマニュアルのgrep検索API(JSONP)

    PHPのマニュアルに対してgrep検索(実装上ではUNIXコマンドのgrepは使っていませんがgrepと同じ全文をなめるタイプの検索)を行うAPIをつくってみました。php.netの検索やNamazuの検索だと記号が含まれた検索語のときに漏れがあってちょっと不満があったので。 APIで返ってくる結果を並べたアプリが以下。比較的さくさく検索できると思います。 http://z.fukaoi.com/phpsearch/#mb_convert_encoding #以降のlocation.hashを書き換えてパーマリンクにしているので、Firefoxのクイックサーチと併用するとよさげです。 参考:ITmedia Biz.ID:Firefoxのブックマーク・キーワード活用法 http://z.fukaoi.com/phpsearch/#%s未実装な点: Google CodeSearchなどとマッ

    wacky
    wacky 2007/01/07
    PHPマニュアルの検索結果をJSONPで出力するAPI。
  • BadgerFish

    BadgerFish is a convention for translating an XML document into a JSON object. Once you've got your XML document represented as a JSON object, it's easy to manipulate from within Javascript. If you're familiar with PHP's SimpleXML extension, think of BadgerFish as aiming for a similar goal: making it simpler to do common manipulations of XML documents with a predictable structure. How does it work

    wacky
    wacky 2006/08/27
    XMLをJSONに変換してくれるWebサービス。PHPソースが公開されているので、自分のサーバに組み込む事も可能。
  • Google Mapsで地図に線を引いてルートを友達に教えられるツール

    ホリデープログラミング。思わず夜更かし。 Google Maps Line Saver Google Maps APIを用いて地図上に線を引いて(クリックしていくと直線が引けます)Saveボタンを押すと固有のURLを作って保存することができます。渋谷の~って飲み屋で待ち合わせ、が、詳細な地図がない、というときにルートを書いてメールでURLを送れます。 Mapsにクリックして直線を引く方法はAhn Dal-Sooさんの日記を参考にさせていただいました。GPolylineというAPIの関数を使います。 JavaScriptから線の各頂点の座標を保存する際にXMLHttpRequestのPOSTで送るのですが書式にJSONを使ってみました。PHPはPEARのServices_JSONを利用。JavaScript部分はdumpだけですが「JKL.ParseXML – XML→JSON展開クラス」を

    wacky
    wacky 2006/01/22
    ↓の「Google Maps Line Saver」の作者による説明。Google Maps APIのGPolyline、PEARのServices_JSON、JKL.ParseXML を組み合わせて作成。PHP部分のソースも公開されている。
  • 1