Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

up vote 0 down vote accepted

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.

share|improve this answer

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.
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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