Permalink
Browse files

Test Atom with both published and updated dates

  • Loading branch information...
romlok committed Feb 2, 2018
1 parent 9ff8df2 commit b07d7c6bac292b1fd8631517111a2ccb36d76de5
Showing with 30 additions and 0 deletions.
  1. +9 −0 tests/data/atom_published_updated.json
  2. +21 −0 tests/data/atom_published_updated.rss
@@ -0,0 +1,9 @@
{"episodes": [{"description": "",
"enclosures": [],
"guid": "urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a",
"link": "http://example.org/2003/12/13/atom03",
"payment_url": null,
"published": 1071340202,
"title": "Atom-Powered Robots Run Amok",
"total_time": 0}],
"title": "Example Feed"}
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Example Feed</title>
<link href="http://example.org/"/>
<updated>2003-12-13T18:30:02Z</updated>
<author>
<name>John Doe</name>
</author>
<id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id>
<entry>
<title>Atom-Powered Robots Run Amok</title>
<link href="http://example.org/2003/12/13/atom03"/>
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
<published>2003-12-13T18:30:02Z</published>
<updated>2017-12-13T18:30:02Z</updated>
<summary>Some text.</summary>
</entry>
</feed>

0 comments on commit b07d7c6

Please sign in to comment.