MantisBT - CDash
View Issue Details
0011711CDash(No Category)public2011-01-17 05:052012-01-17 09:50
Michael Wild 
Julien Jomier 
0011711: cdash/createRSS.php creates invalid RSS output
The RSS feed created by CDash does not validate and has several other issues.


- The <pubDate> element requires a RFC822 formatted date
- The <dc:date> element a W3C formatted date.


- Do not provide both, <pubDate> and <dc:date>
- A <guid> element in each <item> would allow feed readers to identify items uniquely.
- A <atom:link href="..." rel="self"> element would allow a cached feed to refer back to itself.
See e.g. the W3C validator here for an example (the CMake dashboard): [^]
Since CDash requires PHP 5.2 you can use date(DATE_W3C) for the <dc:date> and date(DATE_RFC822) for the <pubDate> elements, respectively.

Also, adding a <guid> element (e.g. "$currentURI/buildSummary.php?buildid=$buildid" should fit the bill) would be nice to feed readers so they can distinguish items uniquely.

Adding the <atom:link href="..." rel="self"> element is trivial, just requires a namespace declaration. See [^]
No tags attached.
Issue History
2011-01-17 05:05Michael WildNew Issue
2011-01-17 05:16Michael WildNote Added: 0024732
2012-01-17 09:40Julien JomierAssigned To => Julien Jomier
2012-01-17 09:40Julien JomierStatusnew => assigned
2012-01-17 09:40Julien JomierProduct Version => 1.8
2012-01-17 09:50Julien JomierNote Added: 0028340
2012-01-17 09:50Julien JomierStatusassigned => resolved
2012-01-17 09:50Julien JomierFixed in Version => 2.0
2012-01-17 09:50Julien JomierResolutionopen => fixed

Michael Wild   
2011-01-17 05:16   
Attached patch (against current trunk) fixes the issue.
Julien Jomier   
2012-01-17 09:50   
Should be fixed in CDash 2.0. Thanks a lot for the clear bug report!