Static Content Migrations

mrconnerton

Sometimes you need to migrate content from static sites to Drupal. We will see how we can leverage the migrate module to migrate static content. We will first build a csv spreadsheet of the content, and then using tools like querypath or xpath we will fetch url, grab the content we want to make files, nodes and menu links. We will see some practical code examples on how to modify the incoming content as well as sample migrations.

We can't always migrate every static site but if we have a little bit of structure in the source html, we can use xpath to target the content.

Ideally attendees will come with some Drupal and PHP knowledge as well as an understanding of the Migrate module. 

This session applies to both Drupal 7 and Drupal 8

Session Track

Coding and Development

Experience Level

Intermediate

Drupal Version