diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2008-02-09 09:32:19 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2008-02-09 09:32:19 +0000 |
commit | f9bddb5b33d01ef9528acd2185396f8f61711913 (patch) | |
tree | 383297e7eaae4d4206a0087fea0edddbc9045f1e | |
parent | 0f15c19f5fb6095a01ceb45ea2e7d181ecbf8a40 (diff) |
contrib/angstrom/rss2.php: Add date of build to subject.
* To help with simple-minded browsers which don't show pubDate (like Firefox).
* Per RFC on the list.
-rw-r--r-- | contrib/angstrom/rss2.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/angstrom/rss2.php b/contrib/angstrom/rss2.php index 995c344e14..2e1f49c4cc 100644 --- a/contrib/angstrom/rss2.php +++ b/contrib/angstrom/rss2.php @@ -47,7 +47,7 @@ foreach($builder_log_date as $build) $data = explode(' ', $build); $rss_xml->startElement('item'); - $rss_xml->writeElement('title', "{$data[1]} ({$data[2]}) built for {$data[3]}"); + $rss_xml->writeElement('title', "{$data[1]} ({$data[2]}) built for {$data[3]} (" . date('c', $data[0]) . ")"); $rss_xml->writeElement('link', "{$build_link_base}{$data[3]}/"); $rss_xml->writeElement('pubDate', date('r', $data[0])); |