Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could conform to Atom spec better #4492

Open
boehs opened this issue Jan 16, 2025 · 0 comments
Open

Could conform to Atom spec better #4492

boehs opened this issue Jan 16, 2025 · 0 comments

Comments

@boehs
Copy link

boehs commented Jan 16, 2025

in my atom feeds I do not send the full content for all 40 entries. instead, I do <content src="..."/> as described in the Atom spec.

   atom:content MAY have a "src" attribute, whose value MUST be an IRI
   reference [RFC3987].  If the "src" attribute is present, atom:content
   MUST be empty.  Atom Processors MAY use the IRI to retrieve the
   content and MAY choose to ignore remote content or to present it in a
   different manner than local content.

Atom Processors MAY use the IRI to retrieve the content

If this feature were to be supported, essentially the "reader mode" button would be pressed automatically for <content src=""/>

Also, this exact behaviour isn't defined in the spec, but if there is a link rel alternate and <content> is otherwise non-existent, the alternate could be presumably fetched

atom:entry elements that contain no child atom:content element MUST contain at least one atom:link element with a rel attribute value of "alternate".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant