atom_feed(url: inter_library_loans_url(format: :atom)) do |feed| feed.title t('inter_library_loan.library_group_inter_library_loan', library_group_name: @library_group.display_name.localize) feed.updated(@inter_library_loans.first ? @inter_library_loans.first.created_at : Time.zone.now) @inter_library_loans.each do |inter_library_loan| feed.entry(inter_library_loan) do |entry| entry.title inter_library_loan.item.manifestation.original_title entry.author(@library_group.display_name.localize) end end end