Minor bug in News RSS feed

I just noticed a minor bug in the FlightAware News RSS feed (FlightAware > News) last night. The dates seemed incorrect (the post on the Colgan 3407 crash was listed as from “Tue, Sep 12, 2000 5:00 PM” in Firefox and today in Safari). I took a look at the source and it seems the pubDate field has a unix timestamp instead of an RFC822 formatted date:


<title>Colgan Flight 3407 from Newark/New York to Buffalo crashes into a house - 50 dead.</title>
<link>http://flightaware.com/news/story/95</link>
<guid>http://flightaware.com/news/story/95</guid>
<pubDate>1234501200</pubDate>


Thanks for all the work you guys do make FlightAware such a great site!

There’s a slightly larger bug that all of the markup is double escaped.

Thanks for the bug report, Mark. Want to fix it??

When I looked at the code (I was bored waiting for pictures to upload :slight_smile: ) it just looked like < and > were being escaped incorrectly:


&lt;strong&gt;FLIGHTAWARE BREAKING NEWS&lt;/STRONG&gt;

instead of:


<strong>FLIGHTAWARE BREAKING NEWS</STRONG>

Other than the pubDate bug the feed still validates though: http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fflightaware.com%2Fnews%2Frss.xml

-Andrew