/feed-me

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

Primary LanguagePHPOtherNOASSERTION

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. If you want them logged to files (or anywhere else), you can add your own log target in your config/app.php file:

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' => [
                [
                    'class' => \yii\log\FileTarget::class,
                    'logFile' => '@storage/logs/feed-me.log',
                    'categories' => ['feed-me'],
                ],
            ],
        ],
    ],
];

Resources