2009-05-27 10 views

答えて

0

idはacts_as_feedを自動的に解析し、モデルに追加することができます。もう1つの解決策は、フィードを表示するだけでgoogle feed apiを使用することです。

#HAML view example 
- if feed.filled? 
    %h2="Blog: #{feed.title}" 
    - for item in feed.entries[0...5] 
    -date = item.published_at.to_date.to_s(:long) 

    %h2=link_to(h(item.title),h(item.url)) 
関連する問題