xref: /web-bugs/www/rss/xml.php (revision 9d47b05f)
1<?php
2echo "<bug>\n";
3foreach ($bug as $key => $value) {
4    if (is_int($key)) continue;
5    echo "  <$key>", clean($value), "</$key>\n";
6}
7foreach ($comments as $comment) {
8    if (empty($comment['registered'])) continue;
9    echo "  <comment>\n";
10    foreach ($comment as $key => $value) {
11        if (is_int($key)) continue;
12        echo "    <$key>", clean($value), "</$key>\n";
13    }
14    echo "  </comment>\n";
15}
16echo "</bug>\n";
17