Forums / Cotonti / General / Wordpress importer plugin

Rootali
#1 2025-04-20 18:55

I tried to make a wordpress importer plugin but after a while I couldn't go any further. this plugin can be a nice tool for Cotonti. For those who want to switch from Wordpress to Cotonti. I couldn't do it professionally because I didn't master it structurally, but I will upload the codes to Githuba, if anyone is interested in this plugin, it would be very good if they make the development.

 

Github: Wordpress importer

Video: Youtube Video

my blog: https://rootali.net
This post was edited by Rootali (2025-04-21 14:41, 1 week ago)
Kabak
#2 2025-04-21 07:07

Hi

What exactly your plugin does import from Wordpress site or project ?

Rootali
#3 2025-04-21 09:26
#48448 Kabak:

Hi

What exactly your plugin does import from Wordpress site or project ?

Posts pages categories etc.

my blog: https://rootali.net
Kabak
#4 2025-04-21 09:55

Could you be more specific ,  please ?

Rootali
#5 2025-04-21 11:19

As seen in the video, it stalls at the last step. Cotonti importer tool and importer designed to import Wordpress content to Cotonti CMS.

Video: https://youtu.be/8E8TO4A_jHE

my blog: https://rootali.net
prostogorod
#6 2025-04-21 14:25

Good job! This is one of those essential plugins that can help beginners migrate their sites to Cotonti.
I haven't tested it yet, but I did take a look at the code. I noticed an unknown function: cot_makealias.

Rootali
#7 2025-04-21 14:40
#48452 prostogorod:

Good job! This is one of those essential plugins that can help beginners migrate their sites to Cotonti.
I haven't tested it yet, but I did take a look at the code. I noticed an unknown function: cot_makealias.

The cot_makealias function takes some text (usually a title) and converts it into a format that can be safely used in URLs:

Replaces spaces with hyphens (-) Converts special characters, such as Turkish characters, to their proper ASCII equivalents removes any special characters that might cause problems in the URL

my blog: https://rootali.net
This post was edited by Rootali (2025-04-21 14:50, 1 week ago)
Kort
#8 2025-04-21 16:01

It would be nice to have a sample WP database

SED.by - создание сайтов, разработка плагинов и тем для Котонти
Rootali
#9 2025-04-22 05:56
#48454 Kort:

It would be nice to have a sample WP database

Not with the database, I tried to import the data from the exported XML file, I actually did the parsing and read the data, but I could not import it.

my blog: https://rootali.net