I noticed on import all my [youtube=YOUTUBE-URL] tags are no longer embedded video. Perhaps you could leverage the emfield module to do the processing?

CommentFileSizeAuthor
#2 wordpress_import-644900.patch1.12 KBkmonty

Comments

kmonty’s picture

Or perhaps convert it to the video filter shorthand: http://drupal.org/project/video_filter

kmonty’s picture

Status: Active » Needs work
StatusFileSize
new1.12 KB

Attached is a patch that processes wordpress code to work with the video_filter module. Please note that this is a starting point ONLY because it does not address all allowed embed short codes (it only used the ones I needed to import). It also makes no notice anywhere in the code / README of the functionality being available.

That said you could probably commit as-is with just a little additional documentation without any complaints.

lavamind’s picture

Category: bug » feature
Status: Needs work » Needs review

Thanks for the patch, I will review this as soon as I can. If others could also test this, it would be appreciated.

I think we could apply this patch but it should also be documented absolutely as this introduces an (optional) dependency.

sampaioprimo’s picture

Hi kmonty,

There is a standard for Wordpress video tags?

I saw that your patch expect them to be [vimeo=url] but in my Wordpress installation the syntax is [vimeo]url[/url].

I'm using Viper's Video Quicktags plugin.

Thanks, Rodrigo.