mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
more w3c rss validator madness
This commit is contained in:
parent
b25c8d1353
commit
29dfe755fa
1 changed files with 3 additions and 2 deletions
|
@ -1540,11 +1540,12 @@ class Site < Sequel::Model
|
|||
}
|
||||
|
||||
site_change_events.each do |event|
|
||||
event_link = "https://neocities.org/site/#{username}?event_id=#{event.id.to_s}"
|
||||
xml.item {
|
||||
xml.title "#{title} has been updated."
|
||||
xml.link "https://neocities.org/site/#{username}?event_id=#{event.id.to_s}"
|
||||
xml.link event_link
|
||||
xml.pubDate event.created_at.rfc822
|
||||
xml.guid(event.id.to_s, isPermaLink: 'false')
|
||||
xml.guid event_link
|
||||
}
|
||||
end
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue