Welcome Developers
to
KSR
February 12, 20142
How to migrate content to Drupal
using XML files
By: Veronica Ramirez
Veronica.Ramirez@inqbation.com
Fo...
February 12, 20143
Content migration
The complexity of a migration
shows the importance of a strong
web governance.
To tak...
February 12, 20144
Migrate content to Drupal
using XML
You will need:
• Feeds module
(https://drupal.org/project/feed
s)
•...
February 12, 20145
Steps
1. Install the modules
2. Enable the following modules:
Feeds, Feeds Admin UI and
Feeds XPath Par...
February 12, 20146
Steps
3. Create a folder in the
sites/default/files path called
Feeds
4. Place the XML file in the foll...
February 12, 20147
Steps
6. In Name field, give a name to
the importer: Veronica Ramirez
Project Manager
Developer
inQbati...
February 12, 20148
Setting up the feed importer
Veronica Ramirez
Project Manager
Developer
inQbation
Specialties:
Computer...
February 12, 20149
Setting up the feed importer
Veronica Ramirez
Project Manager
Developer
inQbation
Specialties:
Computer...
February 12, 201410
Setting up the feed importer
9. Click on Change next to
Fetcher and select the first
option: File Uplo...
February 12, 201411
Setting up the feed importer
Veronica Ramirez
Project Manager
Developer
inQbation
Specialties:
Compute...
February 12, 201412
Setting up the feed importer
11.Click on Change next to Parser
and then select the XPath
XML parser op...
February 12, 201413
Setting up the feed importer
Veronica Ramirez
Project Manager
Developer
inQbation
Specialties:
Compute...
February 12, 201414
Setting up the feed importer
Veronica Ramirez
Project Manager
Developer
inQbation
Specialties:
Compute...
February 12, 201415
Setting up the feed importer
Veronica Ramirez
Project Manager
Developer
inQbation
Specialties:
Compute...
February 12, 201416
Steps
18.In the URL, add /import to the
main domain. Veronica Ramirez
Project Manager
Developer
inQbat...
February 12, 201417
Steps
XML with one level of children XML without one level of children
February 12, 201418
Steps
19.When ready, click on the
Import button. You will see a
progress bar and at the end,
informati...
February 12, 201419
Thank you!
Upcoming SlideShare
Loading in …5
×

How to migrate content to Drupal using XML files

1,885 views

Published on

The complexity of a migration shows the importance of a strong web governance.

To take into account:
Relations within content
Size and complexity
Resources: images, attachments, videos, links, etc

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,885
On SlideShare
0
From Embeds
0
Number of Embeds
32
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

How to migrate content to Drupal using XML files

  1. 1. Welcome Developers to KSR
  2. 2. February 12, 20142 How to migrate content to Drupal using XML files By: Veronica Ramirez Veronica.Ramirez@inqbation.com For this webinar, tweet using #inQbationKSR and mention @inQbationCo
  3. 3. February 12, 20143 Content migration The complexity of a migration shows the importance of a strong web governance. To take into account: • Relations within content • Size and complexity • Resources: images, attachments, videos, links, etc Veronica Ramirez Project Manager Developer inQbation Specialties: Computer Science Interactive Design Drupal Wordpress UX Tweet using #inQbationKSR
  4. 4. February 12, 20144 Migrate content to Drupal using XML You will need: • Feeds module (https://drupal.org/project/feed s) • Feed XPath Parser module (https://drupal.org/project/feed s_xpathparser) • XML files with the content that will be migrated. Veronica Ramirez Project Manager Developer inQbation Specialties: Computer Science Interactive Design Drupal Wordpress UX Tweet using #inQbationKSR
  5. 5. February 12, 20145 Steps 1. Install the modules 2. Enable the following modules: Feeds, Feeds Admin UI and Feeds XPath Parser Veronica Ramirez Project Manager Developer inQbation Specialties: Computer Science Interactive Design Drupal Wordpress UX Tweet using #inQbationKSR
  6. 6. February 12, 20146 Steps 3. Create a folder in the sites/default/files path called Feeds 4. Place the XML file in the following path: sites/default/files/feeds, which is the path to the folder created in step 3. 5. In your Drupal backend (you must be logged in as administrator), go to Structure > Feeds Importer > Add Importer Veronica Ramirez Project Manager Developer inQbation Specialties: Computer Science Interactive Design Drupal Wordpress UX Tweet using #inQbationKSR
  7. 7. February 12, 20147 Steps 6. In Name field, give a name to the importer: Veronica Ramirez Project Manager Developer inQbation Specialties: Computer Science Interactive Design Drupal Wordpress UX Tweet using #inQbationKSR
  8. 8. February 12, 20148 Setting up the feed importer Veronica Ramirez Project Manager Developer inQbation Specialties: Computer Science Interactive Design Drupal Wordpress UX Tweet using #inQbationKSR
  9. 9. February 12, 20149 Setting up the feed importer Veronica Ramirez Project Manager Developer inQbation Specialties: Computer Science Interactive Design Drupal Wordpress UX Tweet using #inQbationKSR
  10. 10. February 12, 201410 Setting up the feed importer 9. Click on Change next to Fetcher and select the first option: File Upload and Save. After Saving, you should have File Upload under Fetcher. Veronica Ramirez Project Manager Developer inQbation Specialties: Computer Science Interactive Design Drupal Wordpress UX Tweet using #inQbationKSR
  11. 11. February 12, 201411 Setting up the feed importer Veronica Ramirez Project Manager Developer inQbation Specialties: Computer Science Interactive Design Drupal Wordpress UX Tweet using #inQbationKSR
  12. 12. February 12, 201412 Setting up the feed importer 11.Click on Change next to Parser and then select the XPath XML parser option and Save. After saving, you should have XPath XML Parser under Parser. Veronica Ramirez Project Manager Developer inQbation Specialties: Computer Science Interactive Design Drupal Wordpress UX Tweet using #inQbationKSR
  13. 13. February 12, 201413 Setting up the feed importer Veronica Ramirez Project Manager Developer inQbation Specialties: Computer Science Interactive Design Drupal Wordpress UX Tweet using #inQbationKSR
  14. 14. February 12, 201414 Setting up the feed importer Veronica Ramirez Project Manager Developer inQbation Specialties: Computer Science Interactive Design Drupal Wordpress UX Tweet using #inQbationKSR
  15. 15. February 12, 201415 Setting up the feed importer Veronica Ramirez Project Manager Developer inQbation Specialties: Computer Science Interactive Design Drupal Wordpress UX Tweet using #inQbationKSR
  16. 16. February 12, 201416 Steps 18.In the URL, add /import to the main domain. Veronica Ramirez Project Manager Developer inQbation Specialties: Computer Science Interactive Design Drupal Wordpress UX Tweet using #inQbationKSR
  17. 17. February 12, 201417 Steps XML with one level of children XML without one level of children
  18. 18. February 12, 201418 Steps 19.When ready, click on the Import button. You will see a progress bar and at the end, information related to the import. To verify if your content was imported, click on Content and filter by your content type. Veronica Ramirez Project Manager Developer inQbation Specialties: Computer Science Interactive Design Drupal Wordpress UX Tweet using #inQbationKSR
  19. 19. February 12, 201419 Thank you!

×