comparison app/views/tweets/show.atom.erb @ 139:ee5876dd9b45

Link alt to main twitter
author nanaya <me@nanaya.pro>
date Wed, 13 Dec 2017 04:21:48 +0900
parents 5075b243d7d0
children bef9b0c1d273
comparison
equal deleted inserted replaced
138:7907fe886675 139:ee5876dd9b45
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="<%= request.protocol %><%= request.host_with_port %>" /> 5 <link rel="alternate" type="text/html" href="https://twitter.com/<%= @user.screen_name %>" />
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} (#{@user.screen_name})" %></title> 8 <title><%= "#{@user.name} (#{@user.screen_name})" %></title>
9 <icon><%= @user.profile_image_url_https %></icon> 9 <icon><%= @user.profile_image_url_https %></icon>
10 <logo><%= @user.profile_image_url_https %></logo> 10 <logo><%= @user.profile_image_url_https %></logo>