-
Notifications
You must be signed in to change notification settings - Fork 39
No content parsed if an Atom entry contains <summary> XHTML tag in <content> #72
Comments
Could you please point out in the Atom spec where it specifies that the |
It doesn't explicitly disallow a |
You can put it in there, but if it isn't specified in the spec that it should be there, you can't expect parsers to pick it up. In other words, if you are producing an Atom feed, you can not put |
Aren't other elements like What I meant in my issue description is that checks here perhaps should be enhanced to record the starting element when |
p, b, h1, etc. are (X)HTML tags, while summary is not. |
Not to split hairs, but And doesn't the presence of the namespace on |
Good point! But it’s not an XHTML tag — it came in with HTML 5.1, it looks like. I want to avoid adding code to the Atom parser for the sake of a single feed, because this means running that code for everyone on all Atom feeds. Question: what are you trying to do with summary inside content? Use it as HTML or as an Atom summary? |
It happens with a feed that has articles which use the |
Reopening this. My take is that when However, it’s perfectly understandable that a website with an Atom feed would just put the article content inside the This means we have to add code to the relevant part of the Atom parser to parse a |
<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:
Fails:
Works:
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.The text was updated successfully, but these errors were encountered: