Skip to content

guid value in RSS feed plugin #832

@frenchvandal

Description

@frenchvandal

I opened the PR #831 to add Atom feed support and implement some polishing touches on the RSS output of the feed plugin. I originally wanted to correct the guid entry too but I am not sure about this.
Currently the plugin builds this output:

<guid isPermaLink="false">https://example.com/page5/</guid>

with:

guid: {
  "@isPermaLink": false,
  "#text": item.url,
},

The spec says that isPermaLink is optional and its default value is true. This false with an URL seems a bit contradictory to me.

Should the plugin instead set this value to true:

<guid isPermaLink="true">https://example.com/page5/</guid>

or, better, no value at all as it would be redundant with the spec behaviour:

<guid>https://example.com/page5/</guid>

I am no RSS expert so I prefer to check before adding this change to PR #831.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions