Skip to main content
5 votes
Accepted

Import CSV with FeedMe - multiple categories

You can do this with CSV by setting a dataDelimiter in a config/feed-me.php files (see docs). If you set the dataDelimiter to be | for example, then your CSV could be: "title", "...
Oli's user avatar
  • 7,495
4 votes
Accepted

Craft 3 Feed-Me Auto run all feed

You should be able to use something similar to the following: use Craft; use verbb\feedme\FeedMe; use verbb\feedme\queue\jobs\FeedImport; $feeds = FeedMe::$plugin->feeds->getFeeds(); foreach (...
crawf's user avatar
  • 3,562
4 votes
Accepted

Feed Me Import Categories from CSV

As per the docs...if you add config/feed-me.php to your project containing <?php return [ '*' => [ 'dataDelimiter' => '-|-', ] ]; and format your CSV like id,title,...
Steven's user avatar
  • 56
4 votes
Accepted

Feedme Pagination by Token

I'm the one who posted that bug report regarding cursor pagination. 👋 I just wanted to share a simple version of the code I'm using in case it's useful for anyone. I'm using Airtable so you can see I'...
Dalton Rooney's user avatar
4 votes
Accepted

Import large number of entries every day - 1 million

You could write a service method that reads the import file and divides it into chunks, then it could dispatch a queue job for each chunk which does the actual entry creation/update. This way you ...
Johannes's user avatar
  • 740
4 votes
Accepted

FeedMe Delete/Disable entries insides

This option will do the following: Import any new items in your feed Update any items from your feed that it matches to existing items using the Unique ID Deletes any items in your target that do not ...
neekster's user avatar
  • 403
4 votes
Accepted

Feedme Only running Cron jobs when logging in

By default, Craft queue jobs are only run when someone logs into the CP. Your cron job is triggering Feed Me to create the queue jobs, but the jobs themselves won't be run until you log in. There are ...
Martin Spain's user avatar
  • 1,519
3 votes
Accepted

Using a dynamic url with Feed Me

There's currently no method to parse variables into the feed itself through this, or any means. Typically, we approach this as feeds being third-party, or otherwise non-editable. How would you see ...
crawf's user avatar
  • 3,562
3 votes
Accepted

Feed Me: How to format JSON for a table field?

You can do this a number of ways, and essentially just need an array-like structure to represent the rows. "Table": [ { "one": "Option1", "two": "Option2" }, { "one": "Option3", ...
crawf's user avatar
  • 3,562
3 votes
Accepted

Feed Me: Importing a relationship between elements

Have you set the type of data you're providing for the category field? Each element field allows you to state what attribute the data you're trying to import. Title, ID or slug, which are shown in a ...
crawf's user avatar
  • 3,562
3 votes
Accepted

How would you import content with embedded images, ideally using FeedMe?

There's nothing through Feed Me that handles this elegantly at the moment, and you'd need to either parse your html data before or after the import. We've done this a few times on an import, where we'...
crawf's user avatar
  • 3,562
3 votes
Accepted

How do I import existing products into Craft Commerce with the FeedMe or Import plugins?

Feed Me only supports Entries at this stage. Its on the short-term roadmap in allow importing into all Elements, including Commerce Products. This cannot be achieved through hooks at the moment. Keep ...
crawf's user avatar
  • 3,562
3 votes

FeedMe plugin broke Craft

You'll be able to get better/quicker help through the plugin page and submitting an issue - https://github.com/engram-design/FeedMe/issues. I'd be happy to help and see what might be the issue. But ...
crawf's user avatar
  • 3,562
3 votes
Accepted

Help with FeedMe

Do you need to close out the xml tag at the end? I've used FeedMe successfully several times. Here's a sample xml file I use: <xml> <blog> {exp:channel:entries channel="...
Joe B's user avatar
  • 146
3 votes
Accepted

Craft CMS FeedMe plugin - Process Instagram JSON Feed

Check out the cleanAssetUrls configuration added just for you! http://sgroup.com.au/plugins/feedme/getting-started/configuration
crawf's user avatar
  • 3,562
3 votes

Preserve formatting when exporting from Wordpress

Just needed to save each entry and formatting corrects itself.
Ian Ebden's user avatar
  • 894
3 votes
Accepted

Feed Me relative paths

This is fixed in 3.0.0-beta.10. Additionally, there's no longer the concept of environment variables in Craft, instead we now have aliases. So instead of using: {siteUrl}assets/data/clients.xml Use: ...
crawf's user avatar
  • 3,562
3 votes
Accepted

How do I setup an assets feed using the FeedMe plugin?

I believe they've added the documentation you're wanting here: https://verbb.io/craft-plugins/feed-me/docs/content-mapping/field-types#assets Assets Accepts single or multiple values. You should ...
Sandwich's user avatar
  • 636
3 votes
Accepted

Verbb Feed Me for Craft 3 - Possible to read assets from local disk?

Files and assets are two different concepts. An asset represents a file already in Craft, and you'll be able to search and browse for it in the Assets section. Whereas in a number of different cases, ...
crawf's user avatar
  • 3,562
3 votes

Feed Me: How to format CSV data for a table field

You can create a feed-me.php file under your /config directory, then you can configure the data delimiter: <?php return [ '*' => [ 'pluginName' => 'Feed Me', '...
Cryptomothy's user avatar
3 votes
Accepted

Feed Me: Feed inside the feed

There's no current way for Feed Me to handle this I'm afraid. My best suggestion would be to write a module to fetch the XML from your first URL, parse that, find the <link> note, fetch and ...
crawf's user avatar
  • 3,562
3 votes
Accepted

Importing data from an old EE site

I have found that the best format for me is XML, it's easy to write and read. I've moved a number of EE2 sites to Craft by writing export templates using XML and importing into Craft with Feedme. It's ...
CreateSean's user avatar
  • 1,983
3 votes
Accepted

Registering events for a specific feed in Feed Me

it seems parse feed event only provide url and response. i don't know about specifying additional data for feed but some other solutions are: add feed name as query string to feed url (if it is url ...
user9975's user avatar
  • 534
3 votes
Accepted

Feed-me import nested categories from CSV/Google sheets

This is how I did it: https://craftquest.io/lessons/populating-nested-categories-from-a-google-sheet (free video) I structured the spreadsheet so it has a flat list of all of the categories in the ...
CraftQuest's user avatar
  • 1,122
3 votes
Accepted

In FeedMe transform one data element before it gets parsed

I don't think you want to use the Fields::EVENT_BEFORE_PARSE_FIELD event here - that's too late in the process to do what you need. Instead you should fix the property in your input data that you want ...
Tom Davies's user avatar
2 votes
Accepted

Is FeedMe v2 supporting FTP with basic authentication

For sake of completeness: the problem was that FeedMe was checking for statuscode 200 (http ok) instead of 226 that is used to determine a successful FTP transaction. This has been fixed in the ...
Tim Bertens's user avatar
2 votes

Is FeedMe v2 supporting FTP with basic authentication

FTP should still work just fine in Feed Me 2. You can also use basic authentication by providing the username/password in the URL. ftp://username:[email protected]/public_html/feed.xml You can ...
crawf's user avatar
  • 3,562
2 votes

Importing Unix timestamp into date time field

According to the documentation for the Date field, Feed Me uses date_parse to parse a provided date string into a proper date object. date_parse uses strtotime underneath, which seems to have issues ...
crawf's user avatar
  • 3,562
2 votes

Migrating from WordPress to Craft CMS

Feed Me currently doesn't support this, as sometimes your data is contained in attributes, so it needs to be able to access that. Crucially, the tags are the same value, which is what trips things up. ...
crawf's user avatar
  • 3,562
2 votes

How do I create a well formed CSV or XML to succesfully import entries with assets and categories?

I used FeedMe successfully and this is what I used. The images have to be already present as assets in Craft(ftp and then update asset indexes). Having the full url in the images part stumped me too. ...
AbbeyDesign's user avatar
  • 1,527

Only top scored, non community-wiki answers of a minimum length are eligible