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

Sorting entries #12

Open
markschl opened this issue Jul 8, 2011 · 0 comments
Open

Sorting entries #12

markschl opened this issue Jul 8, 2011 · 0 comments

Comments

@markschl
Copy link

markschl commented Jul 8, 2011

Hi

I had the (maybe exotic) problem that a feed was oddly sorted (not by date). To handle this I modified the getFeed Snippet to accept a &sortby and a &sortdir parameter. &sortby allows to sort by any of the 'fields' that are available as placeholders. It also handles 'nested' fields found in RDF feeds (e.g.: dc.date).

I thought I could share it here. The modified code is found here: http://pastebin.com/QF3wttVp

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

1 participant