PDA

View Full Version : Podcast - failed to parse



mjb18
2006-09-07, 07:41
Potential bug.

Consistently get the following with the nightly build (and previous 6.5 nightlies)

There was an error loading the remote feed for : (Can't use string (" http://www.mbn.org/AllSites/Ima") as a HASH ref while "strict refs" in use at /PerlApp/Slim/Formats/XML.pm line 210. )

The URL for the podcast is:
http://www.mbn.org/Media/podcasts/midday_pods.asp
and works fine using Juice.

SlimServer Version: 6.5b1 - 9424 - Windows XP - EN - cp1252
Perl Version: v5.8.7 MSWin32-x86-multi-thread
MySQL Version: 5.0.22-community-nt

andyg
2006-09-07, 08:34
Well that feed is breaking RSS 2.0 by having a URL right in the image element like this:



<image>
http://www.mbn.org/AllSites/Images/midday_pod_graphic.jpg
</image>


When it should be:


<image>
<url>http://www.mbn.org/AllSites/Images/midday_pod_graphic.jpg</url>
<title>Image Title</title>
<link>http://www.mbn.org</link
</image>


More info: https://contact.indymedia.org/feedvalidator/docs/rss2.html#ltimagegtSubelementOfLtchannelgt

andyg
2006-09-07, 08:38
By the way, I fixed that crash, and in this feed's case it will use the itunes:image element instead.

mjb18
2006-09-07, 08:58
Great. I will look for the next nightly.

P.S. I've did notify the webadmin at this site that they might consider cleaning up their XML.