Infinite scrolling with Craft? I'm looking to create an infinite scrolling section of entries on a site we're building. Has anyone tackled this yet? What's the best way to approach this?
Here's the approach that work for me. Using Infinite Scroll jQuery plugin.

In the header, I'm checking whether this is AJAX request or not and use different layout based on that. This is optional though.

{% if craft.request.isAjax %}
{% set layout = "_ajaxLayout" %}
  {% else %}
{% set layout = "_layout" %}
  {% endif %}

{% extends layout %}


In the content area, I have:

&lt;div id="newsPage" class="container"&gt;
&lt;div class="row" id="newsRow"&gt;
{% paginate craft.entries.section('news').limit(3) as entriesOnPage %}
    {% for entry in entriesOnPage %}
    &lt;div class="col-md-4 col-sm-6 margin-bottom"&gt;
        &lt;div class="item"&gt;
            &lt;div class="entry"&gt;
                &lt;h2&gt;{{ entry.title }}&lt;/h2&gt;
                &lt;div class="date"&gt;{{ entry.postDate|date("M d, Y") }}&lt;/div&gt;
                {{ entry.body }}
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    {% endfor %}

    {% if paginate.nextUrl %}
    &lt;div class="pagination"&gt;
        &lt;a href="{{ paginate.nextUrl }}"&gt;Next Page&lt;/a&gt;
    &lt;/div&gt;
    {% endif %}

{% endpaginate %}                                           
&lt;/div&gt;
&lt;/div&gt;


Then, somewhere in the footer (note the If, I put it to make sure the infinite scroll fors only on first page)

{% if craft.request.pageNum==1 %}

{% paginate craft.entries.section('news').limit(3) as entriesOnPage %}
{% if paginate.nextUrl %}
&lt;script src="/resources/js/infinite-scroll/jquery.infinitescroll.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
$('#newsPage').infinitescroll({
 navSelector  : "div.pagination",            
 nextSelector : "div.pagination a:first",    
 itemSelector : "#newsPage&gt;div.row",
 maxPage      : {{paginate.totalPages}},
});
&lt;/script&gt;
{% endif %}
{% endpaginate %}   

{% endif %}