Skip to main content

Migrate

Migrate Process Extract Regex

Submitted by daniel on

Migrate Process Extract Regex

This module provides a Migrate process plugin to enable you to parse and extract a $needle (string) from a $haystack (string). This will either return

$match[1] or the orignal $haystack if no match is found.

Use Case

This migrate_process_extract_regex module is useful where developers are handling remote images with the remote_steam_wrapper module. Sometimes remote media assets (pictures etc.) do not contain a valid query string and will fail to import.

Date Created

Migrate Process Remote Image Check

Submitted by daniel on

This module provides a Migrate process plugin to enable you to check whether a migrated remote image url/string is in fact a valid address for a media asset such as an image. It does this by requesting each image and see if it returns a valid response.

If this fails, it will attempt to remove any query string to that has been appended to an image to see if removing this helps to generate a successful response.

If the response is not ok, it will fallback to using an empty string so as to avoid any exceptions when trying to migrate the remote image asset.

Date Created

Croner-i

Submitted by daniel on

Croner-i Tax Audit and Accounting

Agile based development for online publishing platform of HR, Accounting and Legal Professions News and Information

Croner-i App

Date Created