http://activitystrea.ms/schema/1.0/notehttp://activitystrea.ms/schema/1.0/post<%= @data["id"] %><%= activity_title(@data, Keyword.get(@feed_config, :post_title, %{})) %><%= activity_content(@data) %><%= @activity.data["published"] %><%= @activity.data["published"] %>
<%= activity_context(@activity) %>
<%= if @data["summary"] do %>
<%= escape(@data["summary"]) %>
<% end %>
<%= if @activity.local do %>
<%= @data["id"] %>
<% else %>
<%= @data["external_url"] %>
<% end %>
<%= activity_context(@activity) %>
<%= for tag <- @data["tag"] || [] do %>
<% end %>
<%= for attachment <- @data["attachment"] || [] do %>
<%= attachment_href(attachment) %>
<% end %>
<%= if @data["inReplyTo"] do %>
<% end %>
<%= for id <- @activity.recipients do %>
<%= if id == Pleroma.Constants.as_public() do %>
http://activityschema.org/collection/public
<% else %>
<%= unless Regex.match?(~r/^#{Pleroma.Web.base_url()}.+followers$/, id) do %>
<%= id %>
<% end %>
<% end %>
<% end %>
<%= for {emoji, file} <- @data["emoji"] || %{} do %>
<%= file %>
<% end %>