Mercurial > rsstweet
view app/views/tweets/_tweet.atom.erb @ 231:01f3a7e073c3
Remove unsupported namespace syntax
Leftover from redis-rails.
author | nanaya <me@nanaya.net> |
---|---|
date | Mon, 16 Jan 2023 16:23:29 +0900 |
parents | e07f6ea17deb |
children | 7a773720d81f |
line wrap: on
line source
<entry> <id><%= atom_id "#{tweet.user.id}/#{tweet.id}" %></id> <published><%= tweet.created_at.xmlschema %></published> <updated><%= tweet.created_at.xmlschema %></updated> <link rel="alternate" type="text/html" href="<%= status_url(tweet) %>"/> <title><%= truncate tweet.unescaped_text, :length => 30 %></title> <content type="html"> <%= render(:partial => "tweet", :formats => :html, :locals => { :tweet => tweet }).to_str %> </content> <author> <name><%= tweet.user.screen_name %></name> </author> </entry>