An open API service indexing awesome lists of open source software.

https://github.com/oxy86/drupal-embed-migrate


https://github.com/oxy86/drupal-embed-migrate

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# Embed Migrate

A Drush command to migrate legacy video embeds (e.g. ``, Instagram URLs, old `

` formats) in Drupal node bodies to the modern `` format.

## Features

- Converts:
- JSON video embed blobs
- `

` wrappers
- ``
- `` embeds
- Keeps YouTube, Instagram, Facebook etc. URLs
- Logs node IDs and what was converted
- Skips already updated entries

## Installation

Place the module in `web/modules/custom/embed_migrate/`

Then enable it with:

```bash
drush en embed_migrate
```

## Usage

```bash
drush embed-migrate
```

You can also limit by node type or run in dry-run mode:

```bash
drush embed-migrate --type=article --dry-run
```

## Author

Dimitris Kalamaras – https://github.com/oxy86/

## LICENSE

MIT