Mike (trippingbilly) wrote in lj_dev,
Mike
trippingbilly
lj_dev

Pagination

Using the mode getevents in the LiveJournal protocol, what methods can you use to page the results? You have the lastn selecttype request and the howmany request, but you don't have a beginat or anything similar. I was thinking of something like the LIMIT and OFFSET parameters of a SQL query ... a way to say "ok, select 20 entries beginning with the 40th entry". I need a way to paginate my results so users can scroll through the entries page by page.
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment