Publish date (PubDate) field fails validation

Created on 16 May 2019, over 5 years ago
Updated 3 February 2024, 11 months ago

I get a validation error:
line 15, column 11: Undefined pubDate element: time (4 occurrences) [help]

Mon, 10 Jun 2019 08:00:00 - ...
^
line 15, column 87: pubDate must be an RFC-822 date-time: (4 occurrences) [help]

... ">Mon, 10 Jun 2019 08:00:00 -0700

Here is what the proper validation looks like according to https://validator.w3.org/feed/docs/error/InvalidRFC2822Date.html

Wed, 02 Oct 2002 08:00:00 EST Wed, 02 Oct 2002 13:00:00 GMT Wed, 02 Oct 2002 15:00:00 +0200
πŸ› Bug report
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ͺπŸ‡ΈSpain budalokko Girona

    The issue happened also in my setup 4 years later :)

    - Drupal: 10.1.8
    - Advanced Views RSS Feed: 8.x-2.2

    Got fixed with "Rewrite results -> Remove whitespace".

    Not changing the issue status as maybe its something specific to our setups.

    -----------

    The problem can be seen with some debugging in views_rss_format_preprocess_views_view_row_rss, the date contains a "new line" character in the RSS feed and that is not accepted by some readers:

    Thu, 14 Dec 2023 06:00:11 +0100\n

  • πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

    Thanks for reporting that, I opened a new issue so we can look into it: πŸ› Tighten up output, remove unnecessary whitespace Active

Production build 0.71.5 2024