Skip to content

RSS Block - Disable order by date or reverse items #49207

@danielcharrua

Description

@danielcharrua

What problem does this address?

It's currently difficult to keep RSS feed order as specified by source, as SimplePie reorders it by date.

RSS block can't be used for feeds showing future events, like concerts, meetups, etc.

Maybe just ordering in a reverse way as the wordpress.com shortcode option has.

What is your proposed solution?

Using a button on the block options to "order like source" or "reverse order" would be nice.

This option will add the $rss->enable_order_by_date(false); after SimplePie object initialization and the items on the feed will be ordered as they come and not by date.

Or maybe a function to reverse order.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] RSSAffects the RSS Block - used to display entries from an RSS/Atom feed[Status] In ProgressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions