<commit_before>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:trackback" => "http://madskills.com/public/xml/rss/module/trackback/" do
  xml.channel do
    xml.title feed_title
    xml.link this_blog.base_url
    xml.language this_blog.lang.gsub("_", "-").downcase
    xml.ttl "40"
    xml.description this_blog.blog_subtitle

    rss20_feed.each do |value|
      value.to_rss(xml)
    end
  end<commit_msg>Add valid atom:link tag to RSS feed.<commit_after>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",
        "xmlns:trackback" => "http://madskills.com/public/xml/rss/module/trackback/" do
  xml.channel do
    xml.title feed_title
    xml.link this_blog.base_url
    xml.atom :link, :href => this_blog.url_for(params), :rel => 'self', :type => 'application/rss+xml'
    xml.language this_blog.lang.gsub("_", "-").downcase
    xml.ttl "40"
    xml.description this_blog.blog_subtitle

    rss20_feed.each do |value|
      value.to_rss(xml)
    end
  end
{'fraction_non_alphanumeric': 0.192057761732852, 'fraction_numerical': 0.019494584837545126, 'mean_word_length': 3.604651162790698, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 33}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3094689', 'n_tokens_mistral': 544, 'n_tokens_neox': 529, 'n_words': 87}