lib/sitemap_news.xml in jekyll-news-sitemap-0.1.1 vs lib/sitemap_news.xml in jekyll-news-sitemap-0.1.2
- old
+ new
@@ -1,8 +1,13 @@
<?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">
+ xmlns:news="http://www.google.com/schemas/sitemap-news/0.9"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
+ http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd
+ http://www.google.com/schemas/sitemap-news/0.9
+ http://www.google.com/schemas/sitemap-news/0.9/sitemap-news.xsd">
{% assign timeframe = 172800 %}
{% assign posts = site.posts | where_exp:'doc','doc.sitemap != false' %}
{% for post in posts %}
\ No newline at end of file