-
- 221 Posts
Thank for reply.
Actually there is no problem with importing articles, but rather inserting the paragraphs, that Wordpress doesn't store in database.
I think that I would be very good to have a tool that will enable modixers to smoothly migrate from WP to Modx resources - not only articles.
-
- 24,544 Posts
I'm not sure, but it might be easier to import them into Articles (since that code exists already), then write code to make regular Resources from them and delete the Articles.
-
- 221 Posts
Yes, that is what I'm going to do. But still trying to figure out how to change the empty lines to paragraphs in the content imported from WP.
-
- 24,544 Posts
If you're exporting the WP articles to a file, you may be able to do a search-and-replace operation on that file before importing it. It might take a regular expression to do it, or a snippet to process the file. It depends on what the file looks like.