This repository was archived by the owner on Aug 10, 2024. It is now read-only.

Description
<summary> tags are most often present in <details> tags. If such a tag is present in an Atom entry and the content is formatted as XHTML, the entry shows up empty in NetNewsWire.
Works:
<feed xmlns="http://www.w3.org/2005/Atom">
<id>79EED2EA-0E1E-4DEF-8772-B4BA7EF6429D</id>
<title>Test feed</title>
<updated>2022-07-15T21:49:06-07:00</updated>
<entry>
<id>72D83467-20FE-4BA5-9508-2B16660BADDC</id>
<title>Test entry new title</title>
<updated>2022-07-15T21:49:06-07:00</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">Test</div>
</content>
</entry>
</feed>
Fails:
<feed xmlns="http://www.w3.org/2005/Atom">
<id>79EED2EA-0E1E-4DEF-8772-B4BA7EF6429D</id>
<title>Test feed</title>
<updated>2022-07-15T21:49:06-07:00</updated>
<entry>
<id>72D83467-20FE-4BA5-9508-2B16660BADDC</id>
<title>Test entry new title</title>
<updated>2022-07-15T21:49:06-07:00</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">Test<summary /></div>
</content>
</entry>
</feed>
Works:
<feed xmlns="http://www.w3.org/2005/Atom">
<id>79EED2EA-0E1E-4DEF-8772-B4BA7EF6429D</id>
<title>Test feed</title>
<updated>2022-07-15T21:49:06-07:00</updated>
<entry>
<id>72D83467-20FE-4BA5-9508-2B16660BADDC</id>
<title>Test entry new title</title>
<updated>2022-07-15T21:49:06-07:00</updated>
<content type="html">
Test<summary />
</content>
</entry>
</feed>
My gut feeling is that the Atom feed parser still looks for <summary> tags when parsing <content type="xhtml">, even when it's already inside a <content> tag.