Skip to content

Craft CMS plugin for importing entry data from XML, RSS or ATOM feeds—routine task or on-demand.

License

Notifications You must be signed in to change notification settings

craftcms/feed-me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 7, 2025
824a416 · Feb 7, 2025
Feb 26, 2024
Jan 18, 2025
Feb 6, 2025
Feb 7, 2025
Nov 16, 2022
Nov 29, 2022
Nov 19, 2024
Nov 25, 2022
Feb 20, 2024
Nov 29, 2022
Nov 16, 2022
Feb 7, 2025
Apr 8, 2019
Aug 14, 2024
Nov 16, 2022
Feb 6, 2025
Feb 6, 2025
Nov 25, 2022
Nov 19, 2024
Nov 19, 2024
Mar 16, 2023
Mar 17, 2023

Repository files navigation

Feed Me icon

Feed Me for Craft CMS

Feed Me is a Craft plugin for super-simple importing of content, either once-off or at regular intervals. With support for XML, RSS, ATOM, CSV or JSON feeds, you'll be able to import your content as Entries, Categories, Craft Commerce Products (and variants), and more.

Requirements

This plugin requires Craft CMS 5.0.0-beta.2 or later.

Installation

You can install this plugin from the Plugin Store or with Composer.

From the Plugin Store

Go to the Plugin Store in your project’s Control Panel and search for “Feed Me”. Then click on the “Install” button in its modal window.

With Composer

Open your terminal and run the following commands:

# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require craftcms/feed-me

# tell Craft to install the plugin
./craft plugin/install feed-me

Customizing Logs

As of version 5.6/6.2, logging is handled by Craft's log component and stored in the database instead of the filesystem. To log to files (or anywhere else) instead, you can disable the default logging add your own log target:

config/feed-me.php

<?php
return [
    // disable default logging to database
    'logging' => false,
];

config/app.php

<?php
return [
    'components' => [
        'log' => [
            'monologTargetConfig' => [
                // optionally, omit from Craft's default logs
                'except' => ['feed-me'],
            ],
            
            // add your own log target to write logs to file
            'targets' => [
                [
                    // log to file or STDOUT/STDERR if CRAFT_STREAM_LOG=1 is set
                    'class' => \craft\log\MonologTarget::class,
                    'name' => 'feed-me',
                    'categories' => ['feed-me'],
                    
                    // Don't log request and env vars
                    'logContext' => false,
                    
                    // Minimum level to log
                    'level' => \Psr\Log\LogLevel::INFO,
                ],
            ],
        ],
    ],
];

Resources