94
|
1 <entry>
|
234
|
2 <%
|
|
3 created_at = tweet[:created_at].xmlschema
|
|
4 %>
|
|
5 <id><%= atom_id "#{tweet[:user][:id]}/#{tweet[:id]}" %></id>
|
|
6 <published><%= created_at %></published>
|
|
7 <updated><%= created_at %></updated>
|
204
|
8 <link rel="alternate" type="text/html" href="<%= status_url(tweet) %>"/>
|
234
|
9 <title><%= truncate tweet[:message], :length => 30 %></title>
|
211
|
10 <content type="html">
|
|
11 <%= render(:partial => "tweet", :formats => :html, :locals => { :tweet => tweet }).to_str %>
|
94
|
12 </content>
|
|
13 <author>
|
234
|
14 <name><%= tweet[:user][:username] %></name>
|
94
|
15 </author>
|
|
16 </entry>
|