You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if this is something which I can add using the gem's DSL or would it require a change in the source code?
Source:
RSS::Maker.make('atom')do |maker|
maker.channel.author='Swing Out London'maker.channel.updated=Audit.maximum(:created_at).iso8601maker.channel.id='https://www.swingoutlondon.com/'maker.channel.link='https://www.swingoutlondon.com/audit_log.atom'maker.channel.title='Swing Out London Audit Log'maker.channel.description='Audit Log for Swing Out London'audits.eachdo |audit|
editor=Editor.build(audit)maker.items.new_itemdo |item|
item.link=audit_show_link(audit.auditable_type,audit.auditable_id)item.title=audit_title(audit)item.updated=audit.created_at.iso8601item.author=editor.nameitem.description=JSON.pretty_generate(audit.as_json)endendend
Atom:
<?xml version="1.0" encoding="UTF-8"?>
<feedxmlns="http://www.w3.org/2005/Atom"xmlns:dc="http://purl.org/dc/elements/1.1/">
<author>
<name>Swing Out London</name>
</author>
<id>https://www.swingoutlondon.com/</id>
<linkhref="https://www.swingoutlondon.com/audit_log.atom"/>
<subtitle>Audit Log for Swing Out London</subtitle>
<title>Swing Out London Audit Log</title>
<updated>2022-04-07T20:59:47Z</updated>
<entry>
<!-- ... -->
The text was updated successfully, but these errors were encountered:
When I validate an atom feed produced by this gem I get a warning:
https://validator.w3.org/feed/docs/warning/MissingSelf.html
I don't know if this is something which I can add using the gem's DSL or would it require a change in the source code?
Source:
Atom:
The text was updated successfully, but these errors were encountered: