Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Fixed it! | 14 comments | Create New Account
Click here to return to the 'Fixed it!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Fixed it!
Authored by: terekkincaid on Aug 05, '06 10:03:15AM
Ok, there were some typos in the outputted file. I know nothing about coding XML, though I am familiar with HTML. I just figured these out from the errors the validator gave me and comparing the working .Mac RSS file to the not-working RSS file from this tip.
First, the line:
<rss version="2.0">
Should read:
<rss version="2.0" xmlns:iphoto="http://www.apple.com/iphoto/photocasts/techspecs.html">;

That got rid of all the "iphoto:" errors.

Then, for each photo, the line:
<enclosure url="http://web.mac.com/davidandmegumi/iPhoto/cast/4F7A48C1-29FE-48F6-A8C8-F81BD1113245.jpg"length="3212947"; type="image/jpeg"></enclosure>

has a typo. After the filename, it has "***.jpg"length
It needs to be "***.jpg" length, put a space in there.

Once I fixed that typo for each picture, it works just fine in any RSS reader.

So, my question now is, where is that typo? Is that in the Podcast template or is that in the CHTML plugin somewhere? I think it's in the plugin, but is there a way to fix it?

[ Reply to This | # ]