Skip to content

Sort items by pub_date #178

@d47081

Description

@d47081

I'm using following iteration to handle the feed:

for item in Channel::read_from(&reqwest::blocking::get(source)?.bytes()?[..])?.items() {

Can I sort it by pub_date ASC/DESC instead of order by members in the original response?
And also, is any build-in features to parse the date, as currently using DateTime::parse_from_rfc2822

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