The easiest way - use template.autorun and make template.subscription inside this autorun. This subscription have to depend of Session variable, wich will increment, when user scroll down. Publication accepts this limit and send new portion of topics/messages
Subscribe and pass limit, sort and filter params to the publication. If you want to have the params change, store limit, sort and filter in reactiveDict, and wrap your subscribe in an autorun. A good pattern is to make a template state container like this:
Meteor.publish('posts', function(limit) {
return Posts.find({}, {
limit:limit
})
}
```
you can do the exact same thing with sorting and filtering... Just add them to 'state', and pass them to the publication :wink: