2

I want to add 200 videos from YouTube playlist to my WordPress blog. Each video iframe add as each post to particular category. I searched many plugins but that's not meet my requirement.

0

The Youtube playlist have a xml strema, RSS feed.

You can parse this and create post via wp_insert_post() and add as content the URL to the video. Publish this and you have wich each new video from the playlist a new post.

The best way is, that you write a custom plugin. But you can aslo use a auto publisher plugin for feeds.

0

Two steps:

  • Fetch the playlist XML. Use that as import file.
  • Write a custom importer. Look at the native WXR importer to see how that works. Should be very similar.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.