1
0
Fork 0

Erf hardcoded infos in rss

This commit is contained in:
root 2013-08-06 23:01:37 +02:00
parent cc703c9200
commit 906742e8fd
1 changed files with 5 additions and 5 deletions

10
rss.php
View File

@ -42,15 +42,15 @@ echo '<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel> <channel>
<title>Xdcc Mooo !</title> <title>Xdcc Mooo !</title>
<atom:link href="http://xdcc.mooo.com/rss.php?nick='.rawurlencode($bots[$i]['nick']).'" rel="self" type="application/rss+xml"/> <atom:link href="'.URL.'rss.php?nick='.rawurlencode($bots[$i]['nick']).'" rel="self" type="application/rss+xml"/>
<link>http://xdcc.mooo.com</link> <link>'.URL.'</link>
<description></description> <description></description>
<language>en</language>'; <language>en</language>';
for($j=0;isset($bots[$i]['packs'][1][$j]);$j++){ for($j=0;isset($bots[$i]['packs'][1][$j]);$j++){
echo ' <item> echo ' <item>
<title>'.$bots[$i]['packs'][5][$j].'</title> <title>'.$bots[$i]['packs'][5][$j].'</title>'."\n";
<link>irc://irc.recycled-irc.net/arcadian-project</link> echo '<link>'.URL.'?nick='.rawurlencode($bots[$i]['nick']).'</link>'."\n";
<guid>urn:uuid:'.md5( echo '<guid>urn:uuid:'.md5(
$bots[$i]['packs'][1][$j]. $bots[$i]['packs'][1][$j].
$bots[$i]['packs'][2][$j]. $bots[$i]['packs'][2][$j].
$bots[$i]['packs'][3][$j]. $bots[$i]['packs'][3][$j].