annotate app/views/tweets/_tweet.atom.erb @ 97:ff5557f9902c
Avoid uniformly expiring cache
author |
nanaya <me@myconan.net> |
date |
Thu, 28 Jul 2016 07:08:52 +0900 |
parents |
0c8a8b390145 |
children |
f4805ac41656 |
rev |
line source |
94
|
1 <entry>
|
|
2 <id><%= atom_id "#{tweet.user.id}/#{tweet.id}" %></id>
|
|
3 <published><%= tweet.created_at %></published>
|
|
4 <updated><%= tweet.created_at %></updated>
|
|
5 <link rel="alternate" type="text/html" href="<%= tweet.uri %>"/>
|
|
6 <title><%= ellipsize tweet.text %></title>
|
|
7 <content type="html">
|
|
8 <%= render(:partial => "tweet", :formats => :html, :locals => { :tweet => tweet }).to_str %>
|
|
9 </content>
|
|
10 <author>
|
|
11 <name><%= tweet.user.screen_name %></name>
|
|
12 </author>
|
|
13 </entry>
|