Content cleanup during migration

In large government site migrations, keep the only good stuff and clean as you go

CivicActions
Jul 23, 2019 · 2 min read

At Florida DrupalCamp 2019, Steve Wirt, an engineer and migration expert at CivicActions, shows how content cleanup can be a programmatic part of large content migrations. Steve enjoys helping government clients transform their technologies and teaching best practices for keeping websites clean and healthy.

In this session, Steve demonstrates techniques to grab only the content that is needed from old legacy pages, fixing markup issues as part of the migration. Keeping just the good stuff allows agencies to save time and money — while making sure their content isn’t stale or outdated.

The approach described is platform-agnostic, but the resources and examples are from Drupal 8.

Highlights

1:45 — Types of “baggage” you find during large site migrations

2:33 — Reasons to address content cleanup during migration

4:20 — Why migrations are like moving from one house to another

7:00 — How to make the tough decisions on deciding what content to keep

7:20 — Using Google sheets for content audits (and using analytics data)

8:03 — Moving content via the Migrate API (hint: move only what you NEED)

10:20 — What to do when pages across the site have different markup

13:48 — Using Migration Tools module to obtain, normalize, and validate data

22:05 — Using DOM Modifiers to reduce content noise (clean-up what you migrate)

25:18 — Order of operations: timing of moving and cleanup activities using DOM Operations

31:38 — When hands-on cleanup is necessary, and how to do it

Resources

Connect with Steve

CivicActions

Open and Agile Government Digital Services

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store