Hi, I want to migrate content from d6 to d9

I want to migrate

TITLE
BODY
URL PATH
NODE creation date

that is it....
there are around 1000 nodes.....

Is CVS the only way to import this?
Is the best way to create a view with all fields and export it as CSV and then import it via feeds?

I want to do it via XML but I cant even find it where it is.....

I rather use feeds than migration module because this will be cleaner....
THANK YOU!

Comments

rossidrup created an issue. See original summary.

irinaz’s picture

Component: Code » User interface
Priority: Major » Normal

@rossidrup, csv is perfect way to do this - export data and then import using feeds. If D6 does not provide good export tools you can always create a table and save it as .csv file.

rossidrup’s picture

i am trying to create a view as table in Drupal 6 with title, body and publish date

but the body is not exported as a source in the field...it is formated already....I don't know what to do, because all the links will not work and I need HTML code....I can't find the settings in d6 views for body field for that

also how to export comments and users who submitted comments in cvs?

I need to keep the whole node with all the comments....is that even possible with feeds?

irinaz’s picture

You would set two feed types - one for nodes (run it first) and one for comments - you would need to have Parent id in your import for comments.

For exporting body you need to set export format to full html in settings for body.

rossidrup’s picture

I cant find the full html settings in view, I used to do that few years back and I cant remember where the settings are

https://pasteboard.co/K7TbRFj.png

and parent id is found in comment views?

Basically I have 3 types of nodes and also advanced blog, which is probably unable to be migrated.....

So I will make nodes views first where I will use fields like

title
html body
node id
publish date

and then comments viev where I will use node id, publish date, body field and user?

And I need to import also all the taxonomy....

WHat is the exact trick to map comments to nodes? Do I need to use some kind of relation filter in views to get node ids in comments view?