Merging Feeds

Rather than the typical "loop" use case you can also merge feeds into 1. This automatically de-duplicates the content by URL and orders for the <pubDate> field newest > oldest.

<h2>Combine Posts From All Feeds. De-duped and sorted by Published Date</h2>
 [% for post in feedMerge([feedotter.posts, feedotter.posts2]) %]
<p>
[[post.post_date | date("n/j/Y")]] == [[post.post_title]]<br>
[[post.post_url]]  
    </p>
    ###
[% endfor %]

Last updated