You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
[edit] [comment] [remove] |2007-02-21| e1 # JSONPath - XPath for JSON A frequently emphasized advantage of XML is the availability of plenty tools to analyse, transform and selectively extract data out of XML documents. XPath is one of these powerful tools. It's time to wonder, if there is a need for something like XPath4JSON and what are the problems it can solve. Data may be interactively found
2007年03月31日05:00 カテゴリLightweight Languages perl - 任意のURIのStatusを確認するAPI 「404 Blog Not Found:誤った404エラーページをつくるただ1つの方法」で示したようなURIのStatusを、Webブラウザーから直接確認することを可能にするAPIを作りました。 Synopsis http://api.dan.co.jp/status/callback/http://www.example.com/path/ にアクセスすると、callback(json);のフォーマットで、http://www.example.com/path/のStatusをJSONPで返します。 callbackにxmlを指定すると、出力フォーマットがXMLになります。 Example Time URI Code Status Chain H
JsonML.org JSON Markup Language (JsonML) JsonML (JSON Markup Language) is an application of the JSON (JavaScript Object Notation) format. The purpose of JsonML is to provide a compact format for transporting XML-based markup as JSON which allows it to be losslessly converted back to its original form. Native XML/XHTML doesn't sit well embedded in JavaScript. When XHTML is stored in script it must
[edit] [comment] [remove] |2006-01-30| e1 # Transforming JSON JSON is a lightweight text format for data interchange. It is often better suited for structured data than XML. A frequently requested task with JSON data is its transformation to other formats, especially to XML or HTML for further processing. The most obvious way to achive this, is to use a programming language (ECMAscript, Ruby,…) an
Name Last modified Size Description Parent Directory - json2xml.js 2006-08-31 10:11 1.5K xml2json.js 2006-08-03 15:43 6.4K xmljson_test.html 2006-08-03 15:40 3.0K Update/Issues: Issue: Now using indexed for loop iterating over array objects instead of for..in loop in json2xml. Update: CDATA processing tests added to xmljson_test.html. Update: Supporting CDATA sections in xml2json and json2xml. Bug
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
図3●Ajaxの基本的な動き Ajaxアプリケーションは,WebブラウザではなくJavaScriptがWebサーバーへの接続を指示する。送受信されるデータ形式は,HTMLではなくXMLまたはテキスト形式。呼び出されるサーバー側プログラムは,Webサービスになる [画像のクリックで拡大表示] 図4●XMLRPCでWebサービスを呼び出す場合の例 クライアントとサーバー間のやり取りはXML形式のデータになる。サービスを呼び出すには,XML形式の引数を作成する必要がある。Webサービスの戻り値から利用者に表示する値などを取得するには,XML形式のデータをパースする必要がある [画像のクリックで拡大表示] 一般的なWebアプリケーションは利用者の操作を契機にサーバーと通信を開始するが,AjaxはJavaScriptの指示でサーバー側のプログラムを呼び出す(図3[拡大表示])。ページの部分的な変更が
Online XSLT 2.0 ServiceはW3Cが提供するXSLTってくれるサービス。Amazon Web ServicesのXSLT機能の汎用版といった感じ。これをJavaScriptで叩けば、XMLHttpRequestとか使わずにいろいろゴニョゴニョできそう、というかできるとかなんとか。 要するに、用意したXSLファイルのURLとか変換元になるXMLのURLなんかをURLエンコードして連結するとかそれくらいのグダグダなアプローチで、XMLをJSONに出来るということ(はしょりすぎ)。で、「フィードはあるけどJSONはないなー」とかいうサービス(90%以上のサービスで提供してないけど)でも、JavaScriptから気軽にダイナミックにデータを参照できたりとか。 洒落でMSN SearchのRSSフィードを利用したサイト内検索とか作ってみたけど、想像よりもサクサク動いてこのサイトに
「ウェブリブログ」は 2023年1月31日 をもちましてサービス提供を終了いたしました。 2004年3月のサービス開始より19年近くもの間、沢山の皆さまにご愛用いただきましたことを心よりお礼申し上げます。今後とも、BIGLOBEをご愛顧賜りますよう、よろしくお願い申し上げます。 ※引っ越し先ブログへのリダイレクトサービスは2024年1月31日で終了いたしました。 ※10秒後にBIGLOBEのおすすめページに遷移します
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
drk7.jp さんでXML2JSON serviceという面白いサービスが開始されました。 ということで早速ハックしてみました。 前のエントリーで書いた Javascriptテンプレートと組み合わせてめちゃくちゃ簡単にRSSを表示できます。 サンプルはこちら 使い方ですが、多分ソースをみてもらったほうが速いです。 サンプルHTMLから抜粋 1Event.observe(window, "load", function(){ 2 new XML2JSON("<a href="http://feeds.feedburner.com/Inforno">http://feeds.feedburner.com/Inforno</a>", {container: "test", template : {element:"template"}}); 3}); 初期化コードはコレだけです。 contai
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く