~/talk

Handling HTML Markup with Drupal's Migrate API

Talkat DrupalCamp NJ 2020 · 2020-01-31..02-01· [php]
links:none on file
slides:none on file

Migrations switch from brittle regex to a DOM-based pipeline: PHP DOMDocument + XPath parses HTML reliably, and Migrate Plus now includes a Dom process plugin to import/export DOM objects, a dom_string_replace for attribute-level replacements, dom_apply_styles to map external formatting into CKEditor styles, and a migration lookup plugin that rewrites in-text links to new entity IDs. These plugins come from an Isovera/Pega project, appear in current Migrate Plus releases, and are used in live demos.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 2:13Migrate API overview
  3. 6:12HTML parsing with regex
  4. 18:35DOM parsing for HTML
  5. 27:22DOM in Migrate API
  6. 31:57New process plugins
  7. 40:00Future improvements
  8. 41:26Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.