I imported a series of blogger posts (via xml) into WordPress, and the YouTube embed tags were removed.
YouTube URLs in posts are not identified. Instead, just the text of the url is left. Possibly as opposed to full embed tags.
I’m trying to restore the embed codes so it’s seen.
Another fact that is notable in the XML import is that [EMBLED CONTENT] appears instead of the url, that is, the video…
Source: http://jasongriffey.net/wp/2010/06/21/moving-to-wordpress-3-0/ and http://wordpress.org/support/topic/youtube-embeds-not-working-after-import
I think you have a couple of options here:
re-import using another means, from
RSS for instance. The value of this
depends on how much effort you have
in the posts as they are in
WordPress now – are you willing to
dump the posts and try again?
trac, go to the IRC channel and try
to find some more information;
you’re apparently not the only
person to have this problem
(unless, of course, that’s you)
update the posts table to add the
appropriate code back in.
codes (obviously).
How many posts are we talking about?
This all really depends on HOW you imported the blog posts. What was your method?
When you view the raw source of the posts in wordpress (plain text view) – what does the post look like (a copy of the HTML would be nice)
— Note – edit your original post to give the answers, a reply doesn’t really work if other people answer too.
When I moved from blogger to wordpress my YouTube videos moved over just fine. Martin is right, a view of the post source code is probably required to be helpful.
One thing to note on a side issue though. When you use the wordpress “blogger importer” the image links will not be updated. When you view your blog everything will look ok, but in fact the images will still be referencing the blogger site.
There is a plugin on wordpress.org that will help with this, but some manual updating may / will be required for a 100% perfect move.
I think this is the one I used.
http://wordpress.org/extend/plugins/blogger-image-import/
Here’s the solution I found on a wordpress forums.
Find in
/wp-includes
a file calledkses.php
. Inkses.php
, you’ll want to scroll down to line 1309 and comment out the three lines under//Post filtering
so that they look like this:This will prevent the filter from removing all your YouTube videos, SlideShare embed, Scribd documents, etc.