Sha256: 6328d6024f3ce34e2a882df84ebac63bfed49ec45498a13965546d22627f57b5

Contents?: true

Size: 702 Bytes

Versions: 24

Compression:

Stored size: 702 Bytes

Contents

# frozen_string_literal: true

xml.instruct! :xml, version: "1.0", encoding: "UTF-8"
xml.instruct! "xml-stylesheet", type: "text/css", href: url_for("/stylesheets/rss.css")

xml.rss "version" => "2.0", "xmlns:dc" => "http://purl.org/dc/elements/1.1/",
        "xmlns:atom" => "http://www.w3.org/2005/Atom" do
  xml.channel do
    xml.title feed_title
    xml.link this_blog.base_url
    xml.atom :link, href: request.url, rel: "self", type: "application/rss+xml"
    xml.language this_blog.lang.tr("_", "-").downcase
    xml.ttl "40"
    xml.description this_blog.blog_subtitle

    @feedback.each do |item|
      render "shared/rss_item_#{item.type.downcase}", feed: xml, item: item
    end
  end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
publify_core-10.0.2 app/views/feedback/index.rss.builder
HornsAndHooves-publify_core-10.5.0 app/views/feedback/index.rss.builder
HornsAndHooves-publify_core-10.4.0 app/views/feedback/index.rss.builder
HornsAndHooves-publify_core-10.3.0 app/views/feedback/index.rss.builder
HornsAndHooves-publify_core-10.2.0 app/views/feedback/index.rss.builder
publify_core-10.0.1 app/views/feedback/index.rss.builder
publify_core-10.0.0 app/views/feedback/index.rss.builder
publify_core-9.2.10 app/views/feedback/index.rss.builder
HornsAndHooves-publify_core-10.1.1 app/views/feedback/index.rss.builder
HornsAndHooves-publify_core-10.1.0 app/views/feedback/index.rss.builder
HornsAndHooves-publify_core-10.0.3 app/views/feedback/index.rss.builder
HornsAndHooves-publify_core-10.0.2 app/views/feedback/index.rss.builder
HornsAndHooves-publify_core-10.0.1 app/views/feedback/index.rss.builder
HornsAndHooves-publify_core-10.0.0 app/views/feedback/index.rss.builder
publify_core-9.2.9 app/views/feedback/index.rss.builder
publify_core-9.2.8 app/views/feedback/index.rss.builder
publify_core-9.2.7 app/views/feedback/index.rss.builder
publify_core-9.2.6 app/views/feedback/index.rss.builder
publify_core-9.2.5 app/views/feedback/index.rss.builder
publify_core-9.2.4 app/views/feedback/index.rss.builder