Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ordering entries not working #164

Open
AndyKing27 opened this issue Sep 23, 2020 · 1 comment
Open

Ordering entries not working #164

AndyKing27 opened this issue Sep 23, 2020 · 1 comment

Comments

@AndyKing27
Copy link

I am combining a number of rss feeds and am using the order: "-publishedDate" option. However, neither the individual feeds or the overall combined list are being sorted correctly. I would expect the entire list to be sorted by date, but not even individual feeds are being sorted.
Screenshot 2020-09-23 094125

Config is -

    $("#rssfeed").rss(
        [
            "https://www.cnet.com/rss/news/", 
            "http://feeds.bbci.co.uk/news/technology/rss.xml"
        ],
        {
            entryTemplate: '<li class="news-item"><a href="{url}">{date} : {title}</a></li>', 
            limit: 10, 
            dateFormat: "DD MMM YYYY HH:mm", 
            order: "-publishedDate"
        }
    )
@BMRX
Copy link

BMRX commented Feb 1, 2021

I'm having the exact same issue.

order: "-publishedDate" does nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants