date to xmlschema
This commit is contained in:
parent
01c9fa7663
commit
2432def0e7
|
@ -13,12 +13,12 @@
|
|||
<sy:updateFrequency>6</sy:updateFrequency>
|
||||
<link>{{ site.url }}/alink47.xml</link>
|
||||
<atom:link href="{{ site.url }}/{{ page.path }}" rel="self" type="application/rss+xml" />
|
||||
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
|
||||
<lastBuildDate>{{ site.time | date_to_xmlschema }}</lastBuildDate>
|
||||
{% assign feed_items = site.feed_items | default: 10 %}{% for post in site.data.alink47.alink47 reversed %}{% assign sitetimexml = site.time | date: "%s" %}{% assign now = post.date | date: "%s" %}{% if now <= sitetimexml %}
|
||||
<item>
|
||||
<title>{{ post.name | xml_escape }}</title>
|
||||
<description>{{ post.content | xml_escape }}</description>
|
||||
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
|
||||
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
|
||||
<link>{{ post.link }}</link>
|
||||
<guid isPermaLink="false">{{ now }}</guid>
|
||||
</item>{% endif %}{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue