This forum is for churches and ministries using Web-Empowered Church tools or packages. If you are a WEC customer, please submit a ticket. If you are reporting a bug with one of our plugins, please email us. If you are a business entity and want help that you cannot find here, please look at our services.

Notice: we are using new forum software and most messages from last 2 years were transferred. If you had an account before, please login to post a message on the forum.

Topic with no new replies

RSS Feeds in SMS


Author Message
Written on: 03/09/2010
Brandon Ward
Topic creator
registered since: 03/09/2010
Posts: 1
I am trying to get our Sermons page setup for RSS Feeds/Podcasting and am having some trouble. I can get the page to display, however there are no items showing in the feed. Every one of our sermons has an embedded MP3 resource associated with it. When I run the xml checker I get the following result:
This feed does not validate.

line 10, column 2: XML parsing error: <unknown>:10:2: unbound prefix [help]

<itunes:author></itunes:author>

The url to the feed is: http://momey.wecbuilder.org/index.php?id=106&type=222

Any thoughts?
Written on: 02/23/2011
Kate Wheatley
registered since: 01/04/2011
Posts: 10
Sometimes this error can appear if the relevant namespace uri isn't included in the xml. Do you have the iTunes namespace uri in your xml near the top?
How you add this through Typoscript is another question - I haven't figured that one out yet and would very much like to before 11am tomorrow icon_smile.gif.
Written on: 02/23/2011
Kate Wheatley
registered since: 01/04/2011
Posts: 10
You can add the namespaces you need (in my case iTunes) using the Typoscript object browser to edit tx_wecapi_list. I've opened a can of worms though because once that parsing error was fixed a lot of other errors cropped up. I'm confused because I'm using the WEC Starter package and assumed it would work out of the box.
Written on: 02/24/2011
Kate Wheatley
registered since: 01/04/2011
Posts: 10
Still working on getting the podcast feed working from the SMS. I've added the itunes namespace (which I thought was odd, because surely the wec_api itunes files would do that?) and I can now see the feed in different RSS readers, and can play the audio file in my RSS reader - I'm using Google Reader to test this - and can even download the file from the RSS reader but the feed is unsuitable for iTunes and podcast receivers (I tested with Juice). The reason they can't use it is this: the url in the enclosure tag is the file url and not an http address. I can see in the iTunes setup.txt file (one of the static files for the wec_api extension) that the $constants.wec.siteURL is prepended to the resource location but something's not working so in the output the domain name is missing. I've got the siteURL set in Site Config - do I need to set it somewhere else? What am I doing wrong I wonder, I'm sure it's supposed to be more straightforward than this.
Written on: 02/24/2011
Kate Wheatley
registered since: 01/04/2011
Posts: 10
The setup file didn't recognise the variable $constants.wec.siteURL which was causing the problem. After hours of poring through the Typoscript Object Browser, templates, setup files etc I decided to just add the line
constants.wec.siteURL = {$siteURL}
to the setup section of the sermons template (List view). It's a hack, it seems so quick and dirty it's almost underhanded, but now the enclosure tag's URL property is an http address, iTunes accepts it, and my blood pressure is slowly returning to normal.
If anyone knows where I might have gone wrong originally (I still think I must have something wrong in the initial setup) I would really like to know too, please share!