annotate app/views/tweets/_tweet.atom.erb @ 232:4caedeaeea69

Update gems
author nanaya <me@nanaya.net>
date Mon, 16 Jan 2023 16:23:36 +0900
parents e07f6ea17deb
children 7a773720d81f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
94
0c8a8b390145 Now with epic caching
nanaya <me@myconan.net>
parents:
diff changeset
1 <entry>
0c8a8b390145 Now with epic caching
nanaya <me@myconan.net>
parents:
diff changeset
2 <id><%= atom_id "#{tweet.user.id}/#{tweet.id}" %></id>
106
3ad8e6d20e79 Fix atom feed compliances
nanaya <me@myconan.net>
parents: 104
diff changeset
3 <published><%= tweet.created_at.xmlschema %></published>
3ad8e6d20e79 Fix atom feed compliances
nanaya <me@myconan.net>
parents: 104
diff changeset
4 <updated><%= tweet.created_at.xmlschema %></updated>
204
70e90ea4b870 Fix uri for nil user
nanaya <me@nanaya.pro>
parents: 172
diff changeset
5 <link rel="alternate" type="text/html" href="<%= status_url(tweet) %>"/>
172
df4be896ab8b Improved escaping and truncating
nanaya <me@nanaya.pro>
parents: 168
diff changeset
6 <title><%= truncate tweet.unescaped_text, :length => 30 %></title>
211
e07f6ea17deb Less xhtml more escaping
nanaya <me@nanaya.pro>
parents: 204
diff changeset
7 <content type="html">
e07f6ea17deb Less xhtml more escaping
nanaya <me@nanaya.pro>
parents: 204
diff changeset
8 <%= render(:partial => "tweet", :formats => :html, :locals => { :tweet => tweet }).to_str %>
94
0c8a8b390145 Now with epic caching
nanaya <me@myconan.net>
parents:
diff changeset
9 </content>
0c8a8b390145 Now with epic caching
nanaya <me@myconan.net>
parents:
diff changeset
10 <author>
0c8a8b390145 Now with epic caching
nanaya <me@myconan.net>
parents:
diff changeset
11 <name><%= tweet.user.screen_name %></name>
0c8a8b390145 Now with epic caching
nanaya <me@myconan.net>
parents:
diff changeset
12 </author>
0c8a8b390145 Now with epic caching
nanaya <me@myconan.net>
parents:
diff changeset
13 </entry>