Download the PHP package woutersf/email-rss-import-bundle without Composer

On this page you can find all versions of the php package woutersf/email-rss-import-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package email-rss-import-bundle

Mautic Email RSS Import Bundle

A powerful Mautic plugin that seamlessly integrates RSS feed content into your emails using the GrapesJS email builder. Import news articles, blog posts, or any RSS feed content directly into your email campaigns with a single click.

Features

Screenshots

1. GrapesJS Block

Find the RSS Feed block in your GrapesJS email builder's block panel:

2. Plugin Configuration

Configure your RSS feed settings in Mautic Settings → Plugins:

3. Content Selection

Select the RSS items you want to import into your email:

Installation

Option 1: Composer (Recommended)

  1. Add the plugin to your Mautic installation:

  2. Clear the Mautic cache:

  3. Navigate to Mautic Settings → Plugins
  4. Click "Install/Upgrade Plugins"
  5. Find "Email RSS Import" and click to configure it

Option 2: Manual Installation

  1. Clone or download this repository into your Mautic plugins directory:

  2. Clear the Mautic cache:

  3. Navigate to Mautic Settings → Plugins
  4. Click "Install/Upgrade Plugins"
  5. Find "Email RSS Import" and click to configure it

Option 3: Private Repository

If you're hosting this plugin in a private repository, add it to your composer.json:

Then run:

Configuration

Navigate to Settings → Plugins → Email RSS Import to configure:

RSS URL

Enter the URL of the RSS feed you want to import from.

Default: https://feeds.bbci.co.uk/news/rss.xml

RSS Fields

Define which fields to extract from the RSS feed (one per line).

Available fields:

HTML Template

Define the MJML template for each RSS item. Use tokens to insert RSS field values.

Available tokens: {title}, {link}, {description}, {category}, {pubDate}, {media}

Example template:

Usage

In GrapesJS Email Builder

  1. Open the Email Builder

    • Create a new email or edit an existing one
    • Click "Builder" to launch GrapesJS
  2. Find the RSS Feed Block

    • Look in the left sidebar blocks panel
    • Scroll to the "Extra" category
    • Click on the "RSS Feed" block (orange RSS icon)
  3. Select Content

    • A modal will appear showing all available RSS items
    • Use checkboxes to select the items you want to import
    • Use "Select All" or "Deselect All" for bulk selection
    • Click "Insert Selected Items"
  4. Save Your Email
    • The selected RSS items will be inserted into your email
    • Each item will be formatted according to your template
    • Items are inserted in chronological order from the feed

How It Works

  1. Extension System: The plugin registers itself with GrapesJS using Mautic's window.MauticGrapesJsPlugins extension system
  2. Block Registration: A custom block is added to the GrapesJS BlockManager
  3. RSS Fetching: When clicked, the plugin fetches RSS content from your configured feed via AJAX
  4. Token Replacement: Selected items are processed through the template with tokens replaced by actual values
  5. Content Insertion: The rendered MJML is inserted into the email canvas

Technical Details

Architecture

Supported RSS Formats

Requirements

Troubleshooting

RSS Feed Block Not Showing

  1. Ensure the plugin is Published in Settings → Plugins
  2. Ensure the "Active" setting is set to Yes in plugin configuration
  3. Clear Mautic cache: php bin/console cache:clear
  4. Check browser console for JavaScript errors

MJML Errors When Saving

RSS Feed Not Loading

Development

File Structure

Extending the Plugin

To add custom RSS field parsing, modify RssController.php:

Author

Frederik Wouters

License

This plugin is provided as-is for use with Mautic installations.

Support

For issues, questions, or contributions, please open an issue in the repository.

Publishing to Packagist

To make this plugin available via Composer for everyone:

  1. Push to GitHub (or GitLab/Bitbucket):

  2. Submit to Packagist:

    • Go to https://packagist.org
    • Sign in with your GitHub account
    • Click "Submit"
    • Enter your repository URL: https://github.com/your-username/mautic-email-rss-import-bundle
    • Packagist will automatically track new releases via your Git tags
  3. Auto-Update Hook (Optional):
    • In your GitHub repository settings, add Packagist webhook for automatic updates
    • Settings → Webhooks → Add webhook
    • Payload URL: https://packagist.org/api/github?username=YOUR_USERNAME

Version Tagging

When releasing new versions:

Packagist will automatically detect the new tag and update the package.

Changelog

Version 1.0.0


All versions of email-rss-import-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
mautic/core Version ^4.0|^5.0
ext-simplexml Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package woutersf/email-rss-import-bundle contains the following files

Loading the files please wait ...