Skip to content
Mautic plugin to send emails from RSS
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Config
EventListener
Feed Change User agent of simplepie call since it is blocked by certain feeds Dec 2, 2018
Helpers Initial commit Feb 12, 2018
Parser Fix condition Oct 27, 2019
Traits Initial commit Feb 12, 2018
vendor Add SimplePie library to codebase Nov 1, 2018
.gitignore Add SimplePie library to codebase Nov 1, 2018
MauticRssToEmailBundle.php
README.md
composer.json Add SimplePie library to codebase Nov 1, 2018
composer.lock

README.md

Mautic RSS to E-mail

Description

The Mautic RssToEmailBundle is a Mautic plugin that allows you to generate e-mails from a RSS-feed.

Purpose

Send out an e-mail with for example to latest posts of your blog.

Compatibility

This plugin has been tested with v2.14.2 of Mautic.

Features

  • 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

Installation

  1. Download the plugin from github
  2. Move / Upload folder to the plugins directory. Name the folder MauticRssToEmailBundle
  3. In the Mautic GUI, go to the gear and then to Plugins.
  4. Click on the "Install/Upgrade Plugins" button
  5. You should now see the "Rss To Email" in your list of plugins.

Usage

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.

The following tags can be used in the {feed} block:

{feedinfo:title}

Returns: title of the feed

{feedinfo:url}

Returns: url of the feed

{feedinfo:description}

Returns: description of the feed

The following tags can be used in the {feeditems} block:

Optional param:

  • reverse {feeditems count="3" reverse="1"} - returns posts in reversed view

{feeditem:title}

Returns: title of the post

{feeditem:link}

Returns: link to the post

{feeditem:content}

Returns: summarized content (desciption), when description is not available it will return the full content

{feeditem:content_full}

Returns: full content of the post

{feeditem:content_text}

Returns: summarized content (desciption), when description is not available it will return the full content. Tags are stripped.

{feeditem:content_full_text}

Returns: full content of the post stripped of tags

{feeditem:description}

Returns: summarized content (desciption) of the post

{feeditem:date}

Optional param: format {feeditem:date format="d-m-Y H:i"} Returns: summarized content (desciption) of the post

{feeditem:author}

Returns: author name of the post

{feeditem:categories}

Returns: comma seperated list of the categories

{feeditem:image}

Returns: url of the image. Will check the enclosere and media tags of the xml.

You can’t perform that action at this time.