Home > How To??, Tech > iTunes RSS and WordPress

iTunes RSS and WordPress

September 16th, 2009 Leave a comment Go to comments

I will try to make this as complete as possible, forgive me if I miss something. This is a hack for WordPress and uses several plugins along with the code below to show podcast information. I wrote this hack because after much searching I could not find the “controllable” answer I was looking for. I am sure that someone out there has either done this before or has a much simpler way to do this, but this is MY way of handling this problem.

Problem:
Parse an iTunes RSS feed into a WordPress page or post.

Solution:
The use of a few plugins along with the code below. Hopefully I have documented the code enough to answer any questions, but please feel free to ask any questions you may have. I do however fully expect you to know basic HTML along with moderate PHP. I do not wish to teach you how to program. Please forgive that statement, I just don’t have the time to teach the basics.

Plugins Needed:
Exec-PHP plugin for WordPress
Audio Player WordPress plugin
Force Download (This is not my code and I cannot find who it belongs to again if you find it or know who it belongs to please let me know so I can give proper credit)

Code:
View code HERE

Sample Output:
http://www.newlifechapel.com/sermons

My remarks:
If you read this, look at the code and still go “HUH?!?!” then you need to move on. I am sure there must be a more elegant way of doing this, if so PLEASE post it here so we all can learn from your expertise. Anything beyond that feel free to post your questions and I will attempt to answer them to the best of my ability. Thanks for taking the time to read this post, I appreciate it!


Categories: How To??, Tech Tags:
  1. No comments yet.
  1. No trackbacks yet.