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

[rss] Omit title if the post has none. #14109

Open
kr428 opened this issue Apr 22, 2024 · 2 comments
Open

[rss] Omit title if the post has none. #14109

kr428 opened this issue Apr 22, 2024 · 2 comments

Comments

@kr428
Copy link

kr428 commented Apr 22, 2024

Not sure whether this should qualify as feature request or bug report: When using Friendica for a more micro-blog'ish use case (posting content without title set), the Friendica RSS feed generator seems to pre-populate the feed item title with a snippet of the text. This causes undesirable behaviour in some systems that consume these kind of feeds. Expectation would be: If the post has no title set in Friendica, the title in the feed should be empty too.

"Broken"(?) Friendica example: https://loma.ml/feed/z428
Screenshot-20240422063827-957x58

"Expected" behaviour (external Bludit blog at https://status.z428.eu/rss.xml ):
Screenshot-20240422063914-314x93

Is that possible, or would this break things in other parts of the system?

@annando
Copy link
Collaborator

annando commented Apr 22, 2024

AFAIK one need to provide a title to create a valid feed.

@kr428
Copy link
Author

kr428 commented Apr 22, 2024

Title not being empty apparently is "just" a recommendation that doesn't prevent a feed from being valid:

https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fz428.micro.blog%2Ffeed.xml

As another option, if not wanting to leave the item title empty, maybe "published" or "updated" or some date representation could be used here?

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

No branches or pull requests

2 participants