[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding search constraints to collection listing
* Subbu Allamaraju <subbu@xxxxxxxxx> [2008-04-29 18:35]:
> On a related note, what happens if the search constraint
> includes an orderby like constraint?
>
> For instance,
>
>> http://myblog.com/app/posts?status=draft&author=Daniel%20Jalkut&orderby=dateasc
>
> would return posts starting from the oldest which breaks the
> SHOULD requirement that entries be ordered by app:edited
> property with the most recently edited ones coming first.
Does it?
That requirement applies to collection feeds advertised in
`app:collection/@href`, not to all feeds anywhere. As long as
you don’t advertise that URI as your main collection feed, you
can order its entries in any way you want.
As I said: just put the information about your query feed URI in
some extension element. Think “extra links to others views of the
collection” rather than “filtered collection feed” and you won’t
have any trouble.
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>