Welcome, Guest
Username Password: Remember me

Bad podcast xml?
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Bad podcast xml?

Bad podcast xml? 28 May 2009 21:08 #895

Ack!

I just tried submitting our podcast to iTunes, and I got:

Error parsing feed: Invalid XML

I'm using the Bible Study Podcast Publish plugin, version 1.3. The podcast shows up fine in Firefox, but iTunes is having trouble.

Can anyone take a look?

My url: listeningtohope.com/sermons.xml

Re:Bad podcast xml? 29 May 2009 07:38 #896

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
You are missing a length attribute in your studies. I validated your xml here: validator.w3.org/feed/check.cgi?url=http...pe.com%2Fsermons.xml

Put in a time length in the study record in com_biblestudy and you should be fine.
"You shall know the truth and the truth shall set you free." JC

Re:Bad podcast xml? 29 May 2009 08:30 #897

Oh, thanks. I didn't realize it was necessary to fill out the length.

That'll take me some time! I've got 2-3 years worth of sermons, all of which are missing the length. I'll have to look up the length of each file to fill it in. (Hmm... As a temporary measure, I could just fill in 0... Do you know if that would cause a problem?)

Oh, dang. I just realized something else: The length parameter is on the study, not on the media file. I've been attaching the mp3s for both the 9am and the 11am service--to the same study. So I can't enter a different length for each one! I may have to split out each one into two studies. Ugh.

Re:Bad podcast xml? 29 May 2009 08:48 #898

Correct, Tom: The length parameter gets filled in with the filesize from the Media File entry--not with the sermon length from the Study.

Which is good news for me, with the 9am vs 11am issue. I won't have to split the sermons out into separate Studies.

Re:Bad podcast xml? 29 May 2009 08:51 #899

Now I have a new problem:

validator.w3.org/feed/check.cgi?url=http...hope.com/sermons.xml


It's complaining about the following length parameter--I think because of the commas.

<enclosure url="content.screencast.com/users/jkdorman/fo...he.Journey.mp3" length="24,527,268" type="audio/mpeg3" />

I can go through and delete the commas. But would it be possible for you to strip commas out of the number before you write the data to the database?

Re:Bad podcast xml? 29 May 2009 09:33 #900

Whoops, I meant to say "Correction, Tom"--not "Correct, Tom".


As for the lengths: If not an auto-stripper for the commas, how about an ERROR message when it's anything other than a plain integer?
  • Page:
  • 1
  • 2
Moderators: Darren Vandermyde, Kyle
Time to create page: 1.26 seconds