pdp8@social.pdp8.info

music, pictures and videos: https://pdp8.info

<% if @activity == 'create' %>

posts | boosts

<% elsif @activity == 'announce' %>

posts | boosts

<% end %> <% @objects.each do |object| object = fetch(object) if object.is_a? String mention = mention object['attributedTo'] %>

' target='_blank'><%= mention %>  <%= object['published'] %>

<%= object['content']%> <% if object['attachment'] object['attachment'].each do |att| case att['mediaType'] when /audio/ %>
<% when /image/ %>
'><%= att[' src='<%= att['url'] %>'> <% when /video/ %>
<% end %> <% end %> <% end %>

<% end %>