mirror of
				https://github.com/valentineus/popov.link.git
				synced 2025-11-04 06:49:45 +03:00 
			
		
		
		
	Fixed RSS whom 100% validated
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
		@@ -1,54 +1,46 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
 | 
					layout: null
 | 
				
			||||||
permalink: "atom.xml"
 | 
					permalink: "atom.xml"
 | 
				
			||||||
layout: compress
 | 
					 | 
				
			||||||
title: "RSS"
 | 
					title: "RSS"
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					<?xml version="1.0" encoding="utf-8"?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<feed xmlns="http://www.w3.org/2005/Atom">
 | 
					<feed xmlns="http://www.w3.org/2005/Atom">
 | 
				
			||||||
  <!-- Identifiers and references -->
 | 
					    <link href="{{ site.rss | absolute_url | xml_escape }}" rel="self" type="application/atom+xml"/>
 | 
				
			||||||
  <link href="{{ site.rss | absolute_url | xml_escape }}" rel="self" type="application/atom+xml" />
 | 
					    <link href="{{ site.url | xml_escape }}" rel="alternate" type="text/html"/>
 | 
				
			||||||
  <link href="{{ site.url | xml_escape }}" rel="alternate" type="text/html" />
 | 
					    <id>{{ site.url | absolute_url | xml_escape }}</id>
 | 
				
			||||||
  <id>{{ site.url | strip_newlines | strip_html | strip | normalize_whitespace | slugify | xml_escape }}</id>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <!-- Description and name -->
 | 
					    <icon>{{ "/assets/apple-touch-icon.png" | absolute_url | xml_escape }}</icon>
 | 
				
			||||||
  <icon>{{ "/assets/apple-touch-icon.png" | absolute_url | xml_escape }}</icon>
 | 
					    <title>{{ site.title | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</title>
 | 
				
			||||||
  <title>{{ site.title | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</title>
 | 
					    <subtitle>{{ site.description | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</subtitle>
 | 
				
			||||||
  <subtitle>{{ site.description | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</subtitle>
 | 
					    <updated>{{ site.time | date_to_xmlschema }}</updated>
 | 
				
			||||||
  <updated>{{ site.time | date_to_xmlschema }}</updated>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <!-- Author -->
 | 
					    <author>
 | 
				
			||||||
  <author>
 | 
					 | 
				
			||||||
    <email>{{ site.author.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</email>
 | 
					 | 
				
			||||||
    <name>{{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</name>
 | 
					 | 
				
			||||||
    <uri>{{ site.author.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</uri>
 | 
					 | 
				
			||||||
  </author>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  {% for item in site.posts %}
 | 
					 | 
				
			||||||
    <!-- Full size record -->
 | 
					 | 
				
			||||||
    <entry>
 | 
					 | 
				
			||||||
      <!-- Identifiers and references -->
 | 
					 | 
				
			||||||
      <link href="{{ item.url | absolute_url | xml_escape }}" rel="alternate" type="text/html" />
 | 
					 | 
				
			||||||
      <id>{{ item.id | strip_newlines | strip_html | strip | normalize_whitespace | slugify | xml_escape }}</id>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <!-- Description and name -->
 | 
					 | 
				
			||||||
      <title>{{ item.title | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</title>
 | 
					 | 
				
			||||||
      <summary>{{ item.description | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</summary>
 | 
					 | 
				
			||||||
      <updated>{{ item.latest_update | default: item.date | date_to_xmlschema }}</updated>
 | 
					 | 
				
			||||||
      <published>{{ item.date | date_to_xmlschema }}</published>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <!-- Author -->
 | 
					 | 
				
			||||||
      <author>
 | 
					 | 
				
			||||||
        <email>{{ site.author.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</email>
 | 
					        <email>{{ site.author.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</email>
 | 
				
			||||||
        <name>{{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</name>
 | 
					        <name>{{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</name>
 | 
				
			||||||
        <uri>{{ site.author.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</uri>
 | 
					        <uri>{{ site.author.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</uri>
 | 
				
			||||||
      </author>
 | 
					    </author>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <!-- Content -->
 | 
					    {% for item in site.posts %}
 | 
				
			||||||
      <content type="html" xml:base="{{ item.url | absolute_url | xml_escape }}">
 | 
					    <entry>
 | 
				
			||||||
        {{ item.content | strip_newlines | strip | xml_escape }}
 | 
					        <link href="{{ item.url | absolute_url | xml_escape }}" rel="alternate" type="text/html"/>
 | 
				
			||||||
      </content>
 | 
					        <id>{{ item.url | absolute_url | xml_escape }}</id>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        <title>{{ item.title | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</title>
 | 
				
			||||||
 | 
					        <summary>{{ item.description | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</summary>
 | 
				
			||||||
 | 
					        <updated>{{ item.latest_update | default: item.date | date_to_xmlschema }}</updated>
 | 
				
			||||||
 | 
					        <published>{{ item.date | date_to_xmlschema }}</published>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        <author>
 | 
				
			||||||
 | 
					            <email>{{ site.author.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</email>
 | 
				
			||||||
 | 
					            <name>{{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</name>
 | 
				
			||||||
 | 
					            <uri>{{ site.author.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</uri>
 | 
				
			||||||
 | 
					        </author>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        <content type="html" xml:base="{{ item.url | absolute_url | xml_escape }}">
 | 
				
			||||||
 | 
					            {{ item.content | strip_newlines | strip | xml_escape }}
 | 
				
			||||||
 | 
					        </content>
 | 
				
			||||||
    </entry>
 | 
					    </entry>
 | 
				
			||||||
  {% endfor %}
 | 
					    {% endfor %}
 | 
				
			||||||
</feed>
 | 
					</feed>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user