Sha256: 4e17519245d1ade6873911ac54c3f5447de9e7408a27b03d98ac4fa217e645a2
Contents?: true
Size: 734 Bytes
Versions: 1
Compression:
Stored size: 734 Bytes
Contents
<?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"> {% assign posts = site.posts | where_exp:'doc','doc.sitemap != false' %} {% for page in posts %} <url> <loc>{{ page.url | replace:'/index.html','/' | absolute_url | xml_escape }}</loc> <news:news> <news:publication> <news:name>{{page.publisher}}</news:name> <news:language>en</news:language> </news:publication> <news:publication_date>{{ page.date | date_to_xmlschema }}</news:publication_date> <news:title>{{ page.title }}</news:title> </news:news> </url> {% endfor %} </urlset>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jekyll-news-sitemap-0.0.2 | lib/sitemap_news.xml |