<% header=File.open("template/header.tmpl") footer=File.open("template/footer.tmpl") %><%= header.read %>
<%= yield %>

お知らせ

<% require 'rss' url = 'news/news.rdf' rss = RSS::Parser.parse(url, false) count = 0 max_count = 5 rss.items.each do |i| %> <%= "\t" %> <%= "\t " %> <%= "\t " %> <% count += 1 if count == max_count break end end %>
#{i.title}#{i.date.strftime("%Y/%m/%d")}
もっと読む...

Vine Linux Magazine

<% require 'rss' url = 'vlmagazine/vlmagazine.rdf' rss = RSS::Parser.parse(url, false) count = 0 max_count = 5 rss.items.each do |i| %> <%= "\t" %> <%= "\t " %> <%= "\t " %> <% count += 1 if count == max_count break end end %>
#{i.title}#{i.date.strftime("%Y/%m/%d")}
もっと読む...

イベント・勉強会等

<% require 'rss' url = 'events/events.rdf' rss = RSS::Parser.parse(url, false) count = 0 max_count = 5 rss.items.each do |i| %> <%= "\t" %> <%= "\t " %> <%= "\t " %> <% count += 1 if count == max_count break end end %>
#{i.title}#{i.date.strftime("%Y/%m/%d")}
もっと読む...
<%= footer.read %>