|
|
|
@ -11,6 +11,7 @@ require 'neinomat.lib.rb'
|
|
|
|
|
# Constants
|
|
|
|
|
|
|
|
|
|
RFC822 = "%a, %d %b %Y %T %z" # for Date::strftime
|
|
|
|
|
RSS_FILENAME = "/home/webroot/entropia.de/podcast.xml"
|
|
|
|
|
require "#{$0}.templates.rb"
|
|
|
|
|
|
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
@ -103,6 +104,6 @@ end
|
|
|
|
|
rss = ERB.new(TPL_RSS).result;
|
|
|
|
|
#puts rss #DEBUG
|
|
|
|
|
|
|
|
|
|
rssfile = File.new("/home/neingeist/public_html/chaotica.xml", "w")
|
|
|
|
|
rssfile = File.new(RSS_FILENAME, "w")
|
|
|
|
|
rssfile.puts rss
|
|
|
|
|
rssfile.close
|
|
|
|
|