Automating the Migration of Content From FeedBurner Feeds to Kaltura (XML Bulk Upload and PHP)
June 26, 2012
In the past, we have discussed how to use both CSV and XML bulk upload options and their respective advantages. For Kaltura, XML is the preferred method so it is the one we are going to address. Our Director of Community and Developer Relations, Zohar Babin, needing some good content fast, wrote a script to generate a Kaltura XML Bulk upload of all Ted.com talks from their latest feed. The script provides a much more simplified approach to upload content to the KMC. It works by taking your feed from FeedBurner and generating the code into the preferred Kaltura schema: importing videos, thumbnails, descriptions, categories, and tags. This allows you to upload content without going through the meticulous labor of individually creating new entries and uploads.
2. Copy the Zend folder (under library) to the same folder of latesttedtalksimport.php.
3. Open command-line and run:
a. php latesttedtalksimport.php > importfromted.xml
4. Login to the KMC, submit importfromted.xml to the XML Bulk Upload.
It is important to note that this is just one small use case of the script. By making a few simple changes to the script, you can use the code for any feed, not just Ted.com talks. Hopefully, this will save you a good chunk of time that you can dedicate to other activities (like reading this blog). For more information visit the knowledge center, post in the forums, comment below, and check back on the blog. Also, if you try it out, let us know how it goes!
Kaltura's mission is to power any video experience. Our wide array of video solutions are deployed globally across thousands of enterprises, media companies, service providers, and educational institutions, leveraging video to teach, learn, communicate, collaborate, and entertain.