View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011711CDash(No Category)public2011-01-17 05:052012-01-17 09:50
ReporterMichael Wild 
Assigned ToJulien Jomier 
PlatformOSOS Version
Product Version1.8 
Target VersionFixed in Version2.0 
Summary0011711: cdash/createRSS.php creates invalid RSS output
DescriptionThe 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.
Steps To ReproduceSee e.g. the W3C validator here for an example (the CMake dashboard): [^]
Additional InformationSince 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 [^]
TagsNo tags attached.
Attached Files


Michael Wild (reporter)
2011-01-17 05:16

Attached patch (against current trunk) fixes the issue.
Julien Jomier (manager)
2012-01-17 09:50

Should be fixed in CDash 2.0. Thanks a lot for the clear bug report!

 Issue History
Date Modified Username Field Change
2011-01-17 05:05 Michael Wild New Issue
2011-01-17 05:16 Michael Wild Note Added: 0024732
2012-01-17 09:40 Julien Jomier Assigned To => Julien Jomier
2012-01-17 09:40 Julien Jomier Status new => assigned
2012-01-17 09:40 Julien Jomier Product Version => 1.8
2012-01-17 09:50 Julien Jomier Note Added: 0028340
2012-01-17 09:50 Julien Jomier Status assigned => resolved
2012-01-17 09:50 Julien Jomier Fixed in Version => 2.0
2012-01-17 09:50 Julien Jomier Resolution open => fixed

Copyright © 2000 - 2018 MantisBT Team