Open bcmans opened 8 years ago
I have successfully imported extrafields, but I don't see exactly what you are doing wrong. Slightly better formatted info will help :-)
hi hans! thanks for you help
The XML code from entries.xml is still unreadable. Have you marked it as code using angle brackets in the menu - you should have 3 back ticks on a separate line before and after the code. Example of wanted output:
<tag1>Some text </tag1>
While I'm waiting for you to fix the display of XML code in your issue, I used the login you sent me to your Bolt site. I have 2 important observations:
I have fixed your importwxr.bolt.yml, but I haven't run the import to avoid breaking anything on your site.
finally (sorry) i got the ` correct now
I ran the script but the import was not correct yet You can run the script if you like (website is not live)
thanks!
Hi Hans
I also made the data xml file a bit smaller so you see the records with the extra fields when you run the import script. thanks!
OK, I have tracked down the bug - see issue #13. (You can close this issue.)
Some comments to the code you have posted in the issue:
PS! To get the embed magic for Youtube videos to work for the newly imported entries, you have to edit the field in Bolt. And an X and the remove it again. If you have a lot of entries with Youtube videos you have some work to do ...
I added the fields in contenttypes.yml that I could find in the dump entries.xml form pivotx
entries.xml
contenttypes.yml
importwxr.bolt.yml
what do I do wrong as the import does not import the extrafields