# ideally, this file should build an rss feed for each user's works but it is very much a wip lmfao atom_feed do |feed| @works.each do |work| next if work.unrevealed? feed.entry(work) do |entry| entry.title work.title entry.summary feed_summary(work), :type => 'html' #entry.id work_url(work) # # entry.summary(type: 'html') { |s| s.cdata = feed_summary(work) } # entry.author do |author| author.name text_byline(work, visibility: 'public') author.uri user_url(@user) end end end end