Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

image feed error

  • Loading branch information...
commit b92b6b4d0127a89743808f2015531ab4e92b4bfc 1 parent 9fb2668
@micahbrich authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/posts/image_feed.rxml
View
4 app/views/posts/image_feed.rxml
@@ -8,9 +8,9 @@ xml.rss(:version => "2.0", "xmlns:media" => 'http://search.yahoo.com/mrss/'){
for post in @posts
xml.item do
xml.enclosure(:url => "#{post.image}", :type => "image/jpg")
- xml.media(:content, :type => "image/jpeg", :medium => "image", :url => "#{post.image}", )
+ # xml.media(:content, :type => "image/jpeg", :medium => "image", :url => "#{post.image}", )
xml.title(post.title)
- # xml.description(newline_and_textilize(truncate(post.description, :length => 46)))
+ xml.description(newline_and_textilize(truncate(post.description, :length => 46)))
xml.author(@author)
xml.pubDate(post.created_at.strftime("%a, %d %b %Y %H:%M:%S %z"))
xml.link(post_path(post))
Please sign in to comment.
Something went wrong with that request. Please try again.