Update gasbuddy_rssfeed_test_00a.rss
This commit is contained in:
@@ -1,18 +1,19 @@
|
||||
{
|
||||
"version": "https://jsonfeed.org/version/1",
|
||||
"title": "My Example Feed",
|
||||
"home_page_url": "https://example.org/",
|
||||
"feed_url": "https://example.org/feed.json",
|
||||
"items": [
|
||||
{
|
||||
"id": "2",
|
||||
"content_text": "This is a second item.",
|
||||
"url": "https://example.org/second-item"
|
||||
},
|
||||
{
|
||||
"id": "1",
|
||||
"content_html": "<p>Hello, world!</p>",
|
||||
"url": "https://example.org/initial-post"
|
||||
}
|
||||
]
|
||||
}
|
||||
<?xml version=1.0 encoding=UTF-8 ?>
|
||||
<rss version=2.0>
|
||||
<channel>
|
||||
<title>{{ page.title | xml_escape }}</title>
|
||||
<description>{{ page.description | strip_html | xml_escape }}</description>
|
||||
<link>{{ request.url | xml_escape }}</link>
|
||||
{% entityview logical_name:'adx_webpage', name:'News Articles', page_size:20 -%}
|
||||
{% for item in entityview.records %}
|
||||
<item>
|
||||
<title>{{ item.adx_name | xml_escape }}</title>
|
||||
<description>{{ item.adx_copy | escape }}</description>
|
||||
<link>{{ request.url | base | xml_escape }}{{ item.url | xml_escape }}</link>
|
||||
<guid>{{ item.id | xml_escape }}</guid>
|
||||
<pubDate>{{ item.createdon | date_to_rfc822 }}</pubDate>
|
||||
</item>
|
||||
{% endfor -%}
|
||||
{% endentityview %}
|
||||
</channel>
|
||||
</rss>
|
||||
Reference in New Issue
Block a user