Sha256: c96e9daeea7f98e5d2d29b88a14a2599740beb0173a815f779b3132bb0ec808c

Contents?: true

Size: 777 Bytes

Versions: 3

Compression:

Stored size: 777 Bytes

Contents

<%
  # NOTE: this file depends on constants defined in Rakefile

  require 'history'
  require 'date'
  require 'time'
%>
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
  <title><%= PROJECT_NAME %></title>
  <link><%= PROJECT_URL %></link>
  <description><%= PROJECT_DETAIL %></description>
<%
  @history[0,3].each do |entry|
    link = HISTORY_URL + '#' + entry['Version'].to_html_anchor

    stamp = Time.parse entry['Date'].to_s
    rfc822 = stamp.strftime "%a, %d %b %Y 00:00:00 %Z"
%>
  <item>
    <title>Version <%= entry['Version'] %> released</title>
    <link><%= link %></link>
    <guid><%= link %></guid>
    <description><%=ERB::Util.h entry.to_html %></description>
    <pubDate><%= rfc822 %></pubDate>
  </item>
<% end %>
</channel>
</rss>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-vpi-17.0.0 doc/rss.erb
ruby-vpi-18.0.0 doc/rss.erb
ruby-vpi-18.0.1 doc/rss.erb