For the complete documentation index, see llms.txt. This page is also available as Markdown.

Merging Feeds

Rather than the typical "loop" use case, you can also merge feeds into one. 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