RSSフィードを利用したいので、オープンソースでPHPのRSSフィードモジュールを探したところ、ドイツのKai Blankenhorn氏により、LGPLライセンスで「FeedCreator.class.php」が公開されていた。多くの人が利用しているようなので、このモジュールをCakeに組み込んでみることにした。もちろん、Cakeのフレームワークに、できる限りきれいに組み込みたい。結果は、CakeもFeedCreatorもどちらもすばらしいできで、思った通りにきれいに組み込むことができた。XMLの出力について最初に考えた事は、FeedCreatorのページのサンプルを見たところ、フィードしたいデータをオブジェクトにセットし、「saveFeed」関数でRSSフィード形式のファイルを書き出すようになっているので、Cakeでアクションのビューファイルとして出力すれば良いのでは、と言うことだった。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く