neingeist
/
neinomaten
Archived
1
0
Fork 0

nice urls

master
neingeist 18 years ago
parent ac916569f2
commit 30c54ca0e0

@ -50,8 +50,8 @@ episodes = []
if erste_sendung = episode_info["erste_sendung"] if erste_sendung = episode_info["erste_sendung"]
episode = { episode = {
"title" => page.gsub(/Radio Chaotica - /, ""), "title" => page.gsub(/Radio Chaotica - /, ""),
"url" => @wiki.full_article_url(page), "url" => @wiki.article(page).url,
"discussion" => @wiki.full_article_url("Diskussion:#{page}"), "discussion" => @wiki.article("Diskussion:#{page}").url,
"enclosure_url" => episode_info["download"].chomp, "enclosure_url" => episode_info["download"].chomp,
"date" => Date.today(), # fallback "date" => Date.today(), # fallback