Skip to content

RSS news provider > add new option to fall-back to feed item.link regex+format to extract pubDate #64

Closed

Description

@mmathieum

Some RSS feeds (like BC Transit ) don't always provide pubDate but the date is in the item's link.

Example:

<item>
  <title>Larger Provincial Distribution Centre Will Support BC Transit Bus Fleet</title>
  <link>https://www.bctransit.com/100-mile-house/larger-provincial-distribution-centre-will-support-bc-transit-bus-fleet-06-24-2024/</link>
  <pubDate></pubDate>
[...]

Should have a new settings:

<string-array name="rss_feeds_date_link_fallback_regex">
  <item>\\d{2}-\\d{2}-\\d{4}</item>
</string-array>
<string-array name="rss_feeds_date_link_fallback_format">
  <item>dd-MM-yyyy</item>
</string-array>

And use it in RSSNewsProvider

Activity

  1. self-assigned this
    on Feb 16, 2026
  2. added theissue type on Feb 16, 2026
  3. added
    P3
    on Feb 16, 2026
  4. changed the title [-]RSS news provider > add new option to fall-back to feed item.link regex to extract pub date[/-] [+]RSS news provider > add new option to fall-back to feed `item.link` regex+format to extract `pubDate`[/+] on Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3enhancement

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions