Planet Gentoo https://planet.gentoo.org en Planet Gentoo - https://planet.gentoo.org/ <% require 'loofah' require 'cgi' items = site.items.latest.limit(50) ItemCursor.new(items).each do |item, new_date, new_feed| %> <% if item.feed.location == "planet" %> <%= CGI::escapeHTML(item.title) %> <%= CGI::escapeHTML(item.guid) %> <%= CGI::escapeHTML(item.url) %> <% if item.content %> <%= CGI::escapeHTML(Loofah.fragment(item.content).scrub!(:prune).to_s) %> <% elsif item.summary %> <%= CGI::escapeHTML(Loofah.fragment(item.summary).scrub!(:prune).to_s) %> <% else %> -/- <% end %> <%= item.published.strftime('%a, %d %b %Y %H:%M:%S %z') %> <%= CGI::escapeHTML(item.feed.title) %> (<%= CGI::escapeHTML(item.feed.key) %>) <% end %> <% end %>