mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
continuing the war with w3c's terrible rss validator
This commit is contained in:
parent
fd15fd6856
commit
b25c8d1353
1 changed files with 2 additions and 1 deletions
|
@ -1536,6 +1536,7 @@ class Site < Sequel::Model
|
|||
xml.image {
|
||||
xml.url sharing_screenshot_url
|
||||
xml.title title
|
||||
xml.link uri
|
||||
}
|
||||
|
||||
site_change_events.each do |event|
|
||||
|
@ -1543,7 +1544,7 @@ class Site < Sequel::Model
|
|||
xml.title "#{title} has been updated."
|
||||
xml.link "https://neocities.org/site/#{username}?event_id=#{event.id.to_s}"
|
||||
xml.pubDate event.created_at.rfc822
|
||||
xml.guid event.id.to_s
|
||||
xml.guid(event.id.to_s, isPermaLink: 'false')
|
||||
}
|
||||
end
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue