実行例:
JSONPリクエストURL: トップページ情報:
パラメータ説明:
- end point URL:
- http://www.usamimi.info/~ryouchi/awasete/index.php
- パラメータ:callback:
- コールバック関数名を指定
- パラメータ:url:
- 取得したいurlを指定
使い方:
callback関数:viewawasete()
url:http://ryouchi.seesaa.net/
の場合、
http://www.usamimi.info/~ryouchi/awasete/index.php?callback=viewawasete&url=http://ryouchi.seesaa.net/
などと指定する。
戻り値:
戻り値は下記のような感じ
viewawasete([{"url":"http:\/\/satokoto.blog10.fc2.com\/",
"title":" \u30d6\u30ed\u30b0\u30d1\u30fc\u30c4\u3092\u3055\u304c\u305b",
"more":"http:\/\/awasete.com\/show.phtml?u=http%3A%2F%2Fsatokoto.blog10.fc2.com%2F"},
{"url":"http:\/\/sasori-flower.jugem.jp\/",
"title":" \u880d\u3010\u30b5\u30bd\u30ea\u3011\u306e\u7a7a\u9593",
"more":"http:\/\/awasete.com\/show.phtml?u=http%3A%2F%2Fsasori-flower.jugem.jp%2F"},
{"url":"http:\/\/freethink.way-nifty.com\/action\/",
"title":" \u601d\u8003\u3068\u7fd2\u4f5c",
"more":"http:\/\/awasete.com\/show.phtml?u=http%3A%2F%2Ffreethink.way-nifty.com%2Faction%2F"},
{"url":"http:\/\/daijiman.slack77.net\/",
"title":" SLACK77 >> DAIJIMAN",
"more":"http:\/\/awasete.com\/show.phtml?u=http%3A%2F%2Fdaijiman.slack77.net%2F"},
{"url":"http:\/\/blog.goo.ne.jp\/lysander\/",
"title":" \u5f92\u7136\u3068\uff08\u7f8e\u8853\u3068\u672c\u3068\u6620\u753b\u597d\u304d...\uff09",
"more":"http:\/\/awasete.com\/show.phtml?u=http%3A%2F%2Fblog.goo.ne.jp%2Flysander%2F"},
{"url":"http:\/\/7thupmedia.com\/",
"title":" 7th up media",
"more":"http:\/\/awasete.com\/show.phtml?u=http%3A%2F%2F7thupmedia.com%2F"},
{"url":"http:\/\/css-happylife.com\/",
"title":" CSS HappyLife",
"more":"http:\/\/awasete.com\/show.phtml?u=http%3A%2F%2Fcss-happylife.com%2F"},
{"url":"http:\/\/d.hatena.ne.jp\/nyama\/",
"title":" Another \u671d\u9854\u65e5\u8a18",
"more":"http:\/\/awasete.com\/show.phtml?u=http%3A%2F%2Fd.hatena.ne.jp%2Fnyama%2F"},
{"url":"http:\/\/www.iyahooi.com\/",
"title":" i yahoo i.com:blog",
"more":"http:\/\/awasete.com\/show.phtml?u=http%3A%2F%2Fwww.iyahooi.com%2F"},
{"url":"http:\/\/www.simplexsimple.com\/",
"title":" S i M P L E * S i M P L E - \u30a6\u30a7\u30d6\u8077\u4eba\u306e\u305f\u3081\u306e\u5c0f\u7c8b\u306a\u30cd\u30bf\u5e33",
"more":"http:\/\/awasete.com\/show.phtml?u=http%3A%2F%2Fwww.simplexsimple.com%2F"}]);