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

Support setting "type" attribute as "text" for Atom feeds #192

Open
myl7 opened this issue Aug 3, 2023 · 0 comments
Open

Support setting "type" attribute as "text" for Atom feeds #192

myl7 opened this issue Aug 3, 2023 · 0 comments

Comments

@myl7
Copy link

myl7 commented Aug 3, 2023

Is your feature request related to a problem? Please describe.

Atom feeds support type="text" for titles and summaries.
But the current implementation always sets it to "html".

For the 3 supported values of "type", it is reasonable to drop "xhtml" since it allows complicated structure as values, which is not convenient for RSS.
But except for "html", "text" values can be common in these development, e.g., user-manually-generated feeds.
Support type="text" can make the feed fit the purpose more.

Describe the solution you'd like

I would like to request to support type="text" via, e.g., { type: "text", value: "..." } as an alternative input type of the fields title and summary.

Describe alternatives you've considered

  • Leave it as is: OK... The feature is not an urgent requirement.
  • Support it and type="xhtml" together: Since RSS and Atom use the same Feed class, it may be hard for RSS to decide what it should output.

Additional context

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