how can i add ajax for infinite scrolling to wire posts?

Hello to all,how can i add ajax for infinite scrolling to wire posts?i know there are 2 plugins for  ajax  infinite scrolling( infinite scrolling,wach my page)but both of theme are not working to my community because i have a great plugin for river auto update(This one).Any suggestions?any other ways for ajax infinite scroll except those 2 plugins?