annotate app/views/tweets/_tweet.atom.erb @ 165:5af9b537db86
Unbreak \everything/
- simplify routing, no more split hackery
- fix user lookup and differentiate between id and name lookup
author |
nanaya <me@nanaya.pro> |
date |
Fri, 03 Aug 2018 02:31:25 +0900 |
parents |
3ad8e6d20e79 |
children |
0c60db0a3686 |
rev |
line source |
94
|
1 <entry>
|
|
2 <id><%= atom_id "#{tweet.user.id}/#{tweet.id}" %></id>
|
106
|
3 <published><%= tweet.created_at.xmlschema %></published>
|
|
4 <updated><%= tweet.created_at.xmlschema %></updated>
|
94
|
5 <link rel="alternate" type="text/html" href="<%= tweet.uri %>"/>
|
104
|
6 <title><%= ellipsize tweet.attrs[:full_text] %></title>
|
94
|
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>
|