Thanks Celebird; Thanks Tom. @Celebird: I totally agree that the concept of strict page numbering shouldn't be expected with Google Base, or any similar API for that matter. I've played around with pagination for both aesthetics, and more importantly, to give the user a sense of how much info has been retuned by a query. As you suggest, I might plump for the next and previous links as both are provided!
@Tom: It was your example that got me thinking about paginating results. Prior to seeing yours I wasn't aware that the XML contains parameters such as start-index. I might revisit pagination later, but for the time being will get the app up and running using next and previous. Thanks, Matt On Apr 26, 4:30 pm, Tom Wilson <[email protected]> wrote: > You could use a browser session or simply pass the start-index > parameter as part of the paging links in the results you display. > > Tom Wilson > Freelance Google Base Developer and Consultantwww.tomthedeveloper.com > > Google Base Tools -http://dev.tomthedeveloper.com/googlebase > Featured Project > :http://google-code-featured.blogspot.com/2008/02/google-base-competit... > > On Apr 26, 1:04 pm, zweb <[email protected]> wrote: > > > > > Hello, > > > In regard to paginating snippet feed queries, I appreciate that the > > returned XML includes both 'previous' and 'next' atrtribute links, > > where relavent. However, in order to generate page numbers using PHP, > > can I ask if any of the experienced coders here use 'sessions' to > > achieve said page numbering? I ask this as utilising sessions might be > > overkill. > > > Sessions seem an appropriate way to break the URL up in order to carry > > the query parameters from page to page. Paginating XML seems a little > > more complex than doing likewise with MySQL queries. > > > Thanks again, > > > Matt- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Base Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Base-data-API?hl=en -~----------~----~----~----~------~----~------~--~---
