comparison app/views/tweets/show.atom.erb @ 257:c6a50441a58d

It's now X
author nanaya <me@nanaya.net>
date Sun, 15 Dec 2024 22:48:25 +0900
parents 7a773720d81f
children
comparison
equal deleted inserted replaced
256:604b69827fb2 257:c6a50441a58d
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom"> 2 <feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
3 <id><%= atom_id(@user[:id]) %></id> 3 <id><%= atom_id(@user[:id]) %></id>
4 4
5 <link rel="alternate" type="text/html" href="https://twitter.com/<%= @user[:username] %>" /> 5 <link rel="alternate" type="text/html" href="https://x.com/<%= @user[:username] %>" />
6 <link rel="self" type="application/atom+xml" href="<%= request.url %>" /> 6 <link rel="self" type="application/atom+xml" href="<%= request.url %>" />
7 7
8 <title><%= "#{@user[:name].printable} (#{@user[:username]})" %></title> 8 <title><%= "#{@user[:name].printable} (#{@user[:username]})" %></title>
9 <icon><%= @user[:avatar_url] %></icon> 9 <icon><%= @user[:avatar_url] %></icon>
10 <logo><%= @user[:avatar_url] %></logo> 10 <logo><%= @user[:avatar_url] %></logo>