To access Feeds follow the path: Journey Lab > Journey Name > Contents.
As a first step, from the contextual menu on the right, select the option Journeys Feed
Each journey has its own set of RSS feeds and its own configuration independent from the others.
In general, it is advisable to dedicate one journey to each project for separate management.
Adding feed
Are you ready to add your feeds?
In the Configuration tab, click the Add RSS Feed button to see the panel where you can add the specifications for each feed. If you want, you can delete each row using the X on the right.
Follow these steps:
- Import
It allows you to deactivate a feed without losing the configuration. - RSS feeds url
Specify the website or feed URL; the App can find the feed of a site starting from a page, we recommend this method to avoid issues with potential feed name changes. - Test
Use the Test function next to the URL you provided to get a preview of the content you want to display to your contacts. - Maximum articles
Specify the maximum number of articles to limit the amount of content and balance the distribution of articles. - Content type
Choose a content type from the dropdown menu, a suggestion? Insert article and the title, description, image, and link to the landing page are already correctly mapped. The publication date of the article, which you can already see in the RSS feed Preview, corresponds to the content creation date, while the actual insertion date corresponds to the last modification date of the content. Feeds use the last modification date as a filter to include only the most recent content in communication. - Custom parameters
Used for employing custom content types by adding additional parameters, for example:Using content that extends the article and adds a parameter Category and a parameter Source, you will write in the Custom parameters box Category=football; Source=Inter Milan, this way you can print these parameters inside the article design, or use them to filter/group content that has the same value for a parameter.
- Content tag
You can assign Tags (keywords) to all content and use them to create statistics based on your contacts' preferences so that later the RSS feed aggregates content that users have clicked on the most. - Skip article without image
The image of an article is chosen based on: the presence of the Image tag in the feed, the meta og:image on the landing page, or by selecting an appropriate image on the landing page. If you choose this option, content without an image will be discarded to ensure visual consistency in the layout.
Options
- Feed image resizing
Useful to avoid importing overly heavy images. You can choose the option Automatic resize of images that are too big which crops the images based on the maximum pixel width you set. - Keep feeds description unmodified
Click the option to also keep the HTML tags of the article, instead of just the text. - Limits the total number of articles to create
This option acts globally for the journey, regardless of the article limit set on the individual feed. We import the feeds you've configured in display order and, once the set limit is reached, we won't create new content in your journey library.
Creating a template for a nurturing project
Below is an example that allows automating a periodic send using daily content.
Let’s take as an example a newsletter that aggregates information coming from various sites and dedicate a journey to this project.
Below is a simple example that uses the Article system content template. The different feeds have tags, and we use the code mn:rankedby="lasttags" to ensure each contact has a different display order based on the last click date of tags of already presented articles.
<meta mn:listdef mn:name="list" mn:mode="query" mn:max="15" mn:contenttype="article" mn:library="campaign" mn:where="to_date(lastmodificationdate) = today()" mn:orderby="creationdate desc">
<div mn:container mn:repeatable mn:id="contentlist" mn:feed mn:type="article" mn:min="0" mn:list="list" mn:rankedby="lasttags"></div>
Let's make a second, more complete example that uses a custom content template. First, we add a new content type MyArticle from the menu Journey Lab > Template > Content > New Template. This template extends the article and adds two new parameters:
<span mn:typedef mn:name="MyArticle" mn:label="My Article" mn:extends="article" >
<span mn:param mn:name="category" mn:label="Category"></span>
<span mn:param mn:name="source" mn:label="Source"></span>
We configure the RSS feeds to set these two parameters, for example category=football;source=Juventus. In the template, we first declare how myarticle will be rendered:
<meta mn:import mn:type="myarticle">
<div mn:typedef mn:name="smartarticle" mn:label="RSS Article" mn:extends="myarticle">
<div class="smartarticle">
<a href="[link:landingpage]" target="_blank" title="[param:source]">[param:title]</a><br>
<img mn:attr-src="[param:image]" src="img/img.jpg" mn:id="editImage" width="72" mn:max-width="72" mn:max-height="72" border="0" alt="" style="display:block;" />
[param:description left='156'] [...]<br>
[param:source] | [contentproperties:creationdate pattern='dd MMM']
</div> </div>
Finally, for each section we want to create, we use the following code:
<meta mn:listdef mn:name="football" mn:mode="query" mn:max="15" mn:contenttype="myarticle" mn:library="campaign" mn:where="category like 'football' and to_date(lastmodificationdate) = today()" mn:orderby="creationdate desc" mn:rendertype="smartarticle" > <div mn:if="contact.values.CAT1 eq 'true'" mn:container mn:repeatable mn:id="football" mn:feed mn:type="smartarticle" mn:min="0" mn:list="football" mn:rankedby="lasttags"></div>