View Full Version : Content-type issue for Diggnation ep 203 in quicktime-high-definition feed.
stradenko
05-21-2009, 12:38 PM
Episode 203 of Diggnation in the http://revision3.com/diggnation/feed/Quicktime-High-Definition feed is missing it's content-type (the 'type' element in the enclosure tag is blank).
For me, this screws up my podcast aggregator in flagging video feeds. Will this be a permanent change?
stradenko
05-21-2009, 12:39 PM
Episode 203 of Diggnation in the http://revision3.com/diggnation/feed/Quicktime-High-Definition feed is missing it's content-type (the 'type' element in the enclosure tag is blank).
Scam school also seems affected, I would expect others are as well.
im a little unclear on which tag is missing- are you still seeing the issue?
rylab
05-21-2009, 06:39 PM
I'm not able to reproduce any problems with the Content-Type response headers. They are set to text/xml with a charset of utf-8 in every browser I can test with. Feed reader applications shouldn't act any differently.
What specific feed reader are you having the problem with? Also, can you reproduce it in your web browser?
EDIT: i discovered that sometimes there is no space between the Content-Type and charset. Although this shouldn't matter, common practice is to have a space there and the w3 spec does have one in their example, so one shall be added very soon. Hopefully this solves your issue.
stradenko
05-21-2009, 11:16 PM
im a little unclear on which tag is missing- are you still seeing the issue?
Sorry I wasn't clear -- it's not the http content-type, it's the type attribute of the enclosure tag in the RSS xml..
examples from http://revision3.com/diggnation/feed/Quicktime-High-Definition
incorrect (type=""):
<enclosure url="http://www.podtrac.com/pts/redirect.mp4/bitcast-a.bitgravity.com/revision3/web/diggnation/0203/diggnation--0203--nakedwizard--hd.h264.mp4" length="742840964" type="" />
correct (type="video/mp4"):
<enclosure url="http://www.podtrac.com/pts/redirect.mp4/bitcast-a.bitgravity.com/revision3/web/diggnation/0202/diggnation--0202--piracy7--hd.h264.mp4" length="1052625458" type="video/mp4" />
rylab
05-22-2009, 12:15 AM
Ooooh, I see, yes that one I can reproduce. A little more work is involved in re-generating all the recent media lists to fix that type omission, but they will definitely all be fixed by late tonight / early morning. Thanks for the quick catch.