Closed kuzmany closed 5 years ago
This PR added support for rss and rss related based on categories and contact segments.
This PR we're using on production
{% TWIG_BLOCK %} {% set items = 'http://domain.tld/feed/' | rss %} <ul> {% for item in items %} <li> <a href=''{{ item.link }}'>{{ item.title }}</a> ({{ item.pubDate|date('m/d/Y') }}) <br />{{ item.description|raw }} </li> {% endfor %} </ul> {% END_TWIG_BLOCK %}
{% TWIG_BLOCK %} {% set items = 'http://domain.tld/feed/' | rss('segments') %} <ul> {% for item in items %} <li> <a href=''{{ item.link }}'>{{ item.title }}</a> ({{ item.pubDate|date('m/d/Y') }}) <br />{{ item.description|raw }} </li> {% endfor %} </ul> {% END_TWIG_BLOCK %}
It's awesome
This PR added support for rss and rss related based on categories and contact segments.
This PR we're using on production
RSS support
RSS related items to contact's segments