Sha256: 2918fb4813c21992ef16544d1511ad7be1f31ecae83b6a625b39715df4702569

Contents?: true

Size: 586 Bytes

Versions: 3

Compression:

Stored size: 586 Bytes

Contents

<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
  <head>
    <title><%= @schema.title.encode(xml: :text) %></title>
  </head>
  <body>
    <outline text=<%= @schema.title.encode(xml: :attr) %> title=<%= @schema.title.encode(xml: :attr) %>>
      <% page_schemata.each do |page_schema| %>
        <outline type="rss" attr=<%= page_schema.title.encode(xml: :attr) %> title=<%= page_schema.title.encode(xml: :attr) %> xmlUrl="<%= "#{request.base_url}#{feed_path(page_id: page_schema.id)}" %>" htmlUrl="<%= page_schema.url %>"/>
      <% end %>
    </outline>
  </body>
</opml>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
weneedfeed-0.20.0 templates/show_opml.xml.erb
weneedfeed-0.19.3 templates/show_opml.xml.erb
weneedfeed-0.19.2 templates/show_opml.xml.erb