neingeist
/
neinomaten
Archived
1
0
Fork 0

sendungen nummerieren

master
neingeist 17 years ago
parent 9fa9bf6a75
commit fb19db3dde

@ -97,8 +97,10 @@ end
# Generate RSS
items = ""
i = episodes.size
episodes.each do |episode|
items += ERB.new(TPL_ITEM).result(binding);
i -= 1
end
rss = ERB.new(TPL_RSS).result;

@ -53,7 +53,7 @@ http://entropia.de/wiki/Radio_Chaotica
'
TPL_ITEM = '
<item>
<title><%= CGI::escapeHTML(episode["title"]) %></title>
<title><%= i %>. <%= CGI::escapeHTML(episode["title"]) %></title>
<link><%= episode["url"] %></link>
<description><%= CGI::escapeHTML(episode["description"]) %></description>
<category>Talk Radio</category>