Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn embedded videos back into a shortcode when pulling #83

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

philipjohn
Copy link
Contributor

When posts containing videos are pulled from another WP site, the RSS feed contains the HTML output.

We need to convert this into a video shortcode to save the post in the destination site and ensure the video works.

This PR achieves that by detecting embedded videos, pulling out the video URL and replacing the HTML with the shortcode.

@GaryJones GaryJones changed the base branch from master to develop February 11, 2024 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants