friendica icon indicating copy to clipboard operation
friendica copied to clipboard

[rss] Omit title if the post has none.

Open kr428 opened this issue 1 year ago • 3 comments

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?

kr428 avatar Apr 22 '24 04:04 kr428

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

annando avatar Apr 22 '24 07:04 annando

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?

kr428 avatar Apr 22 '24 07:04 kr428

Looking closer, the link to #13865 isn't correct, this is a different issue related to a different part of the system. Maybe this is something that could be easily fixed...?

kr428 avatar Jun 28 '24 08:06 kr428