-
Notifications
You must be signed in to change notification settings - Fork 2
/
atom.xml
executable file
·46 lines (33 loc) · 1.09 KB
/
atom.xml
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: null
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>ArabSpatial Blog</title>
<link href="http://50.62.145.200/arabspatialblog/atom.xml" rel="self"/>
<link href="http://50.62.145.200"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>http://50.62.145.200</id>
<author>
<name>ArabSpatial Blog</name>
</author>
{% for post in site.posts %}
{% if post.category =='blog' %}
<entry>
<title>{{ post.title }}</title>
<link href="http://50.62.145.200/?blog_title={{ post.title }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>http://50.62.145.200{{ post.id }}</id>
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% else %}
<entry>
<title>{{ post.title }}</title>
<link href="http://50.62.145.200/?event_title={{ post.title }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>http://50.62.145.200{{ post.id }}</id>
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% endif %}
{% endfor %}
</feed>