-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeed.xml
More file actions
executable file
·46 lines (46 loc) · 1.39 KB
/
feed.xml
File metadata and controls
executable file
·46 lines (46 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
layout: compress
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Max Base - مکس بیس</title>
<link href="{{ site.url }}/sitemap.xml" rel="self"/>
<link href="{{ site.url }}/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.url }}/</id>
<author>
<name>Max Base</name>
<email>maxbasecode@gmail.com</email>
<uri>{{ site.url }}/</uri>
</author>
{% for post in site.posts %}
{% if post.private %}
{% else %}
<entry>
<title>{{ post.title }}</title>
<link href="{{ site.url }}{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ site.url }}{{ post.url }}</id>
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% endif %}
{% endfor %}
{% comment %}
{% for category in site.categories %}
{% capture category_name %}{{ category | first }}{% endcapture %}
<entry>
<title>{{ category_name }}</title>
<link href="{{ site.url }}/category/{{ category_name }}/"/>
<updated>{% for post in site.categories[category_name] limit:1 %}{{post.date | date_to_xmlschema}}{% endfor %}</updated>
<id>{{ site.url }}/category/{{ category_name }}/</id>
<content type="html">
{% for post in site.categories[category_name] %}
<li>
<h4><a href="{{ site.url }}{{ post.url }}">{{post.title}}</a></h4>
</li>
{% endfor %}
</content>
</entry>
{% endfor %}
{% endcomment %}
</feed>