fix: myriad feed updates
This commit is contained in:
parent
27f8268e2b
commit
393dc8d2b9
7 changed files with 35 additions and 16 deletions
|
@ -11,7 +11,7 @@
|
|||
"title": "{{ entry.title }}",
|
||||
"url": "{{ entry.url }}",
|
||||
"content_text": "{{ entry.title }}{% if tagMap %} {{ entry.url | tagLookup: tagMap }}{% endif %} {{ entry.url }}",
|
||||
"date_published": "{{ entry.date | stringToDate | dateToRfc822 }}"
|
||||
"date_published": "{{ entry.date | stringToRFC822Date }}"
|
||||
}{% if not forloop.last %},{% endif %}
|
||||
{%- endfor %}
|
||||
]
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<rss version="2.0">
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<atom:link href="{{ permalink | absoluteUrl: meta.url }}" rel="self" type="application/rss+xml" />
|
||||
{%- assign entries = data | normalizeEntries -%}
|
||||
<title>{{ title }}</title>
|
||||
<description>{{ description }}</description>
|
||||
<link>{{ permalink | absoluteUrl: meta.url }}</link>
|
||||
<lastBuildDate>{{ updated }}</lastBuildDate>
|
||||
<lastBuildDate>{{ updated | stringToRFC822Date }}</lastBuildDate>
|
||||
<image>
|
||||
<title>{{ title }}</title>
|
||||
<link>{{ permalink | absoluteUrl: meta.url }}</link>
|
||||
|
@ -17,7 +18,7 @@
|
|||
<item>
|
||||
<title>{{ entry.title | escape }}</title>
|
||||
<link>{{ entry.url | stripUtm | encodeAmp }}</link>
|
||||
<pubDate>{{ entry.date | stringToDate | dateToRfc822 }}</pubDate>
|
||||
<pubDate>{{ entry.date | stringToRFC822Date }}</pubDate>
|
||||
<guid>{{ entry.url | stripUtm | encodeAmp }}</guid>
|
||||
<description>{{ entry.excerpt | escape }}</description>
|
||||
</item>
|
||||
|
|
Reference in a new issue