using API;

2007年4月19日 API, Google, ライブラリ

RSSをJavaScriptから扱えるGoogle AJAX Feed API

Google AJAX Feed API - Class Reference

Googleから、RSSをJavaScriptから扱えるようにするAPIが登場。

var feed = new google.feeds.Feed("http://www.digg.com/rss/index.xml");

サンプルコードを動かすと記事が4つしか取得できていないが、feed.setNumEntries(10);で変えられる。デフォルトが4つ。

参照:
Google AJAX Feed API - Class Reference

via: Ajaxian » Google announces new AJAX Feed API

No Comments »

コメントはお気軽にどうぞ

Powered by WordPress

Licensed under a Creative Commons Attribution 2.5 License

RSS 2.0 feed