The Mautic RssToEmailBundle is a Mautic plugin that allows you to generate e-mails from a RSS-feed.
Send out an e-mail with for example to latest posts of your blog.
This plugin has been tested with v2.14.2 of Mautic.
- Set the number of posts you want to display
- Create a custom template for the items in the feed
- Use images from the feed
- Format dates
- Reverse view
- Download the plugin from github
- Move / Upload folder to the plugins directory. Name the folder
MauticRssToEmailBundle
- In the Mautic GUI, go to the gear and then to Plugins.
- Click on the "Install/Upgrade Plugins" button
- You should now see the "Rss To Email" in your list of plugins.
Use the "code mode" slot of the froala e-mail editor. In the content of the slot set to following content:
{feed url="<<FEEDURL>>"}
{feeditems count="3"}
<h3>{feeditem:title}</h3>
<p><small>{feeditem:date format="d-m-Y H:i"}</small></p>
<p>{feeditem:description}</p>
<p><img src="{feeditem:image}"></p>
{/feeditems}
{/feed}
This should give a basic setup to start with.
Returns: title of the feed
Returns: url of the feed
Returns: description of the feed
Optional param:
- reverse {feeditems count="3" reverse="1"} - returns posts in reversed view
Returns: title of the post
Returns: link to the post
Returns: summarized content (desciption), when description is not available it will return the full content
Returns: full content of the post
Returns: summarized content (desciption), when description is not available it will return the full content. Tags are stripped.
Returns: full content of the post stripped of tags
Returns: summarized content (desciption) of the post
Optional param: format {feeditem:date format="d-m-Y H:i"} Returns: summarized content (desciption) of the post
Returns: author name of the post
Returns: comma seperated list of the categories
Returns: url of the image. Will check the enclosere and media tags of the xml.