-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathatom.xml
28 lines (25 loc) · 962 Bytes
/
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
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title><![CDATA[{{ siteName }}]]></title>
<link href="{{ siteURL }}atom.xml" rel="self"/>
<link href="{{ siteURL }}"/>
<updated>{{ lastBuildDate }}</updated>
<id>{{ siteURL }}</id>
<author>
<name><![CDATA[{{ext_username}}]]></name>
</author>
<generator uri="http://www.coderforart.com/">CoderForArt</generator>
{% for p in posts %}
<entry>
<title type="html"><![CDATA[{{ p.title }}]]></title>
<link href="{{ siteURL }}{{ p.url }}"/>
{% if ext_username.length %}<meta name="description" content="{{ext_username}}" /><author><name><![CDATA[{{ext_username}}]]></name></author>{% /if %}
<updated>{{ p.artDate }}</updated>
<id>{{ siteURL }}{{ p.url }}</id>
<content type="html"><![CDATA[
<img src="{% if p.ext_featureimg.length %}{{p.ext_featureimg}}{% /if %}" />
{{ p.content }}
]]></content>
</entry>
{% /for %}
</feed>