index/rss: Fix base url for results
PATCH 1/1 index/rss: Fix base url for results
This commit fixes the base url previously pointing at
http://buildroot.humanoidz.org to the right base url
http://autobuild.buildroot.org.
Signed-off-by Lionel Orry <[email protected]>
--- web/rss.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
web/rss.php +3 -3
@@ -26,7 +26,7 @@ $results = bab_get_results(0, 50); echo " <items>\n"; echo " <rdf:Seq>\n"; while ($current = mysql_fetch_object($results)) - echo "<rdf:li rdf:resource=\"http://buildroot.humanoidz.org/results/" . + echo "<rdf:li rdf:resource=\"http://autobuild.buildroot.org/results/" . $current->identifier . "\"/>\n"; echo " </rdf:Seq>\n"; echo " </items>\n";
@@ -35,7 +35,7 @@ echo "</channel>\n"; mysql_data_seek($results, 0); while ($current = mysql_fetch_object($results)) { - echo " <item rdf:about=\"http://buildroot.humanoidz.org/results/" . + echo " <item rdf:about=\"http://autobuild.buildroot.org/results/" . $current->identifier . "\">\n"; if ($current->status == 0)
@@ -46,7 +46,7 @@ while ($current = mysql_fetch_object($results)) { $status = "timed out"; echo " <title>Build " . $status . " at " . $current->builddate . "</title>\n"; - echo " <link>http://buildroot.humanoidz.org/results/" . + echo " <link>http://autobuild.buildroot.org/results/" . $current->identifier . "</link>\n"; echo " <description>\n"; if ($current->status == 0) {
Signature · 1 line
2.1.0