forked from mkiser/WTFJHT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnews.xml
23 lines (22 loc) · 786 Bytes
/
news.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
layout:
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
{% for post in site.posts %}
<url>
<loc>{{ site.url }}{{ site.baseurl }}{{ post.url }}</loc>
<news:news>
<news:publication>
<news:name>WTF Just Happened Today</news:name>
<news:language>en</news:language>
</news:publication>
<news:publication_date>{{ post.date | date_to_xmlschema }}</news:publication_date>
<news:title>{{ post.title | xml_escape }}: {{ post.description | xml_escape }}</news:title>
<news:genres>Blog</news:genres>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</news:news>
</url>
{% endfor %}
</urlset>