Bulk import de artículos en Kirby CMS (con imágenes) desde CSV/Excel

Hi :waving_hand:

I need to import approximately 180 articles into Kirby CMS in bulk (avoiding manually creating them from the dashboard).

Context.
Structure: /content/blog/
Template: post
Fields:
title
date
text
image (image associated with the article)

Objective.

Import from CSV/Excel and:

Create child pages within the blog
Properly map the blueprint fields
Upload/assign images to each post
Publish them directly (listed)
Questions
What’s the best practice for importing content in bulk into Kirby?
How do I properly handle uploading and assigning images during the import?
Do you recommend using $page->createChild() or generating .txt files directly?

Any examples or recommended workflows would be greatly appreciated.

See basic example here: Importing into Kirby from Perch CMS - #2 by thguenther

Do the files exist locally? Then you can move the images from there current path to the page folder, no upload needed

1 Like

Hi @texnixe!

Thank you so much for your response and help.

My client hasn’t shared the images yet, but my question was whether the images need to be attached to the CSV file or if they need to be in a local folder on my computer.

Well, in some form you need a reference to all files that belong to a page. Either just the filenames or paths to the files that are then first stored in a central place locally on disk and then copied over to the newly created page folders.

Or you need the URLs to the files belonging to a page, so that you can download them from that remote location and then store in the page folders.

1 Like

Hi @texnixe ,

Thank you so much for your response and help. As soon as I have my client’s file, I’ll run a test. If I have any further questions, I’ll let you know.

Thank you very much.

Regards!