Strict Standards: Non-static method Protector::getInstance() should not be called statically in /home/suehirogari/suehirogari.com/xoops_trust_path/modules/protector/include/precheck_functions.php on line 12

Strict Standards: Non-static method XCube_Root::getSingleton() should not be called statically in /home/suehirogari/suehirogari.com/public_html/include/common.php on line 18

Deprecated: Non-static method XCube_Root::getSingleton() should not be called statically, assuming $this from incompatible context in /home/suehirogari/suehirogari.com/public_html/modules/user/preload/Primary/Primary.class.php on line 13
googleニュースで任意のRSSを取得する方法 | 社内SEのウェブ制作

2011.04.18日々思うこと

googleニュースで任意のRSSを取得する方法

http://news.google.com/news?hl=ja&ned=us&ie=UTF-8&oe=UTF-8&output=rss&
または
http://news.google.com/news?hl=ja&ned=us&ie=UTF-8&oe=UTF-8&output=atom&

の後ろに、アドレスを追加します。
例えば、google ニュースの「テクノロジー」の記事のRSSを取得したいとしたら、記事一覧のアドレスを確認して、、、

googleニューステクノロジー記事一覧
http://news.google.co.jp/news/section?pz=1&cf=all&ned=jp&topic=t&ict=ln

の部分をはじめに記載したアドレスに追加すると、RSSフィードのアドレスとなります。
http://news.google.com/news?hl=ja&ned=us&ie=UTF-8&oe=UTF-8&output=rss&pz=1&cf=all&ned=jp&topic=t&ict=ln

エンタメだったら
http://news.google.com/news?hl=ja&ned=us&ie=UTF-8&oe=UTF-8&output=rss&pz=1&cf=all&ned=jp&topic=e&ict=ln


このカテゴリの人気記事



  • コメント (0)
  • トラックバック (0)
  • 閲覧 (26859)

トラックバック

トラックバックpingアドレス http://www.suehirogari.com/modules/blog/tb.php/184

コメントの投稿

コメント投稿に関するルール : コメントは全て承認が必要

キーワードでサイト内を検索
人気のエントリ