comparison app/views/tweets/_tweet.atom.erb @ 102:f4805ac41656

Fix title
author nanaya <me@myconan.net>
date Fri, 23 Sep 2016 23:10:54 +0900
parents 0c8a8b390145
children f2398d2a6859
comparison
equal deleted inserted replaced
101:e7a665227638 102:f4805ac41656
1 <entry> 1 <entry>
2 <id><%= atom_id "#{tweet.user.id}/#{tweet.id}" %></id> 2 <id><%= atom_id "#{tweet.user.id}/#{tweet.id}" %></id>
3 <published><%= tweet.created_at %></published> 3 <published><%= tweet.created_at %></published>
4 <updated><%= tweet.created_at %></updated> 4 <updated><%= tweet.created_at %></updated>
5 <link rel="alternate" type="text/html" href="<%= tweet.uri %>"/> 5 <link rel="alternate" type="text/html" href="<%= tweet.uri %>"/>
6 <title><%= ellipsize tweet.text %></title> 6 <title><%= ellipsize tweet.to_hash[:full_text] %></title>
7 <content type="html"> 7 <content type="html">
8 <%= render(:partial => "tweet", :formats => :html, :locals => { :tweet => tweet }).to_str %> 8 <%= render(:partial => "tweet", :formats => :html, :locals => { :tweet => tweet }).to_str %>
9 </content> 9 </content>
10 <author> 10 <author>
11 <name><%= tweet.user.screen_name %></name> 11 <name><%= tweet.user.screen_name %></name>