Getting latest news with findTaxonomy

Hi,
I have a big archive of news (category = ‘news’) and I’d like to get last 10 news (more recents): what is the better method using findTaxonomy to use less resources? I dont’t be able to order desc and limit results.
thanks

Does this Cookbook recipe fits you needs?

yes!
I have used:
taxonomy.findTaxonomy({‘category’:‘news’})|reverse(true)|slice(filters tart,filterend)

thank you

Unfortunately this method does not consider order by date of news and I cannot use page.collection (i.e.page.collection({‘items’:{’@taxonomy.category’: ‘news’},‘order’: {‘by’: ‘date’, ‘dir’: ‘desc’} }).slice(filterstart,filterend)) because this method takes only items of ‘archives_year’ or ‘archive_month’ param (note that I use archive plugin).

Anyone can help me to find solution?

Ordering by date works if each page found in the taxonomy has the date-field set in its frontmatter, like date: 04-03-2016. I use the following loop in a current project:

{% for page in taxonomy.findTaxonomy({'category':'news'}).order('date', 'desc').slice(0, 17) %}
{% endfor %}

thanks.