Click on http://groups.google.com/group/iplay4e-api/web/search-api -
or copy & paste it into your browser's address bar if that doesn't
work.
Andrew
Do you have a strong need to control that behavior, or does
understanding it suffice?
> To unsubscribe from this group, send email to iplay4e-api+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
>
Andrew
On Mar 25, 8:44 pm, Andrew Reutter <andrew.reut...@gmail.com> wrote:
> The API currently puts 5 results on a page, but won't "orphan" a
> single result.  So if the number of results is 6, 11, 16, etc...the
> last page will have 6 results.
>
> Do you have a strong need to control that behavior, or does
> understanding it suffice?
>
Andrew
Cheers,
Andrew d'iPlay4e
If you only wish to display a maximum of 5 results per page then order
to code around this behavior, your algorithm will have to 1) only
display the first 5 results of any page and 2) if more than 5 results
are returned, by definition you have only one more page after the
current and the next page of results will have to skip over the first
5 results, displaying only the 6th.  Note that it is safe to ask for a
page number higher than the total number of results would normally
provide, as evidenced by this search asking for the 100th page of a
search with only 6 results:
http://iplay4e.appspot.com/search?q=test+1-30&p=100
Hope this makes it clear for anyone who need it.
Andrew
I just updated your group membership to give you permission to edit
pages.  Would you mind adding this as a technical note to the Search
API page?
Thanks,
Andrew
On Mar 26, 10:25 am, Andrew Reutter <andrew.reut...@gmail.com> wrote:
> Wow, thanks for this, Andrew.
>
> I just updated your group membership to give you permission to edit
> pages.  Would you mind adding this as a technical note to the Search
> API page?
>
> Thanks,
> Andrew
>