I'm trying to automatically create podcast posts by scraping data from my SoundCloud podcast RSS feed, then using it to build the wordpress post. Getting the data and creating a wordpress post is straight forward enough. However, I'm having issues when it comes to creating the enclosure custom field.
I can't get the data to format correctly. PowerPress creates a new line for file size, format, length, and the embed code. When I add a string into the custom field, it's all one long line that PowerPress doesn't like at all.
Does anyone have any experience or advice when it comes to automatically creating the enclosure field in a way that PowerPress will understand?
I have written a more complex explanation of my problem here - http://wordpress.stackexchange.com/questions/135392/custom-fields-soundcloud-and-powerpress