The document discusses steps for migrating content from XML files into Drupal using the Feeds and Feeds XPath Parser modules. It outlines installing the modules, creating an importer, selecting the file upload and XPath XML parser options, mapping the XML fields, and clicking import to load the content. Veronica Ramirez from inQbation is presenting on migrating content from XML to Drupal.
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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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
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