diff options
author | Orangerot <purple@orangerot.dev> | 2024-06-19 00:14:49 +0200 |
---|---|---|
committer | Orangerot <purple@orangerot.dev> | 2024-06-27 12:11:14 +0200 |
commit | 5b8851b6c268d0e93c158908fbfae9f8473db5ff (patch) | |
tree | 7010eb85d86fa2da06ea4ffbcdb01a685d502ae8 /pse-server/testfeeds |
Diffstat (limited to 'pse-server/testfeeds')
-rw-r--r-- | pse-server/testfeeds/dirtest.txt | 1 | ||||
-rw-r--r-- | pse-server/testfeeds/multipleEnclosuresFeed.xml | 17 | ||||
-rw-r--r-- | pse-server/testfeeds/newTestSubscription1.xml | 28 | ||||
-rw-r--r-- | pse-server/testfeeds/newTestSubscription2.xml | 28 | ||||
-rw-r--r-- | pse-server/testfeeds/template.txt | 33 | ||||
-rw-r--r-- | pse-server/testfeeds/testPodcast0.xml | 35 | ||||
-rw-r--r-- | pse-server/testfeeds/testPodcast1.xml | 28 | ||||
-rw-r--r-- | pse-server/testfeeds/timeTestPodcast.xml | 42 |
8 files changed, 212 insertions, 0 deletions
diff --git a/pse-server/testfeeds/dirtest.txt b/pse-server/testfeeds/dirtest.txt new file mode 100644 index 0000000..28c9395 --- /dev/null +++ b/pse-server/testfeeds/dirtest.txt @@ -0,0 +1 @@ +Lol
\ No newline at end of file diff --git a/pse-server/testfeeds/multipleEnclosuresFeed.xml b/pse-server/testfeeds/multipleEnclosuresFeed.xml new file mode 100644 index 0000000..52a6630 --- /dev/null +++ b/pse-server/testfeeds/multipleEnclosuresFeed.xml @@ -0,0 +1,17 @@ +<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" + xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"> + <channel> + <title>doubleEnclosurePodcast</title> + <item> + <title>doubleEnclosureEpisode</title> + <itunes:duration>00:03:20</itunes:duration> + <enclosure + url="/testfeeds/doubleEnclosurePodcast/enclosure1.mp3" + type="audio/mp3" /> + <enclosure + url="/testfeeds/doubleEnclosurePodcast/enclosure2.mp3" + type="audio/mp3" /> + </item> + </channel> +</rss>
\ No newline at end of file diff --git a/pse-server/testfeeds/newTestSubscription1.xml b/pse-server/testfeeds/newTestSubscription1.xml new file mode 100644 index 0000000..a6ab832 --- /dev/null +++ b/pse-server/testfeeds/newTestSubscription1.xml @@ -0,0 +1,28 @@ +<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" + xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"> + <channel> + <title>newTestSubscription1</title> + <item> + <title>newTestEpisode0</title> + <itunes:duration>00:01:40</itunes:duration> + <enclosure + url="/testfeeds/newTestSubscription1/episode0.mp3" + type="audio/mp3" /> + </item> + <item> + <title>newTestEpisode1</title> + <itunes:duration>00:03:20</itunes:duration> + <enclosure + url="/testfeeds/newTestSubscription1/episode1.mp3" + type="audio/mp3" /> + </item> + <item> + <title>newTestEpisode2</title> + <itunes:duration>00:05:00</itunes:duration> + <enclosure + url="/testfeeds/newTestSubscription1/episode2.mp3" + type="audio/mp3" /> + </item> + </channel> +</rss>
\ No newline at end of file diff --git a/pse-server/testfeeds/newTestSubscription2.xml b/pse-server/testfeeds/newTestSubscription2.xml new file mode 100644 index 0000000..a014e5e --- /dev/null +++ b/pse-server/testfeeds/newTestSubscription2.xml @@ -0,0 +1,28 @@ +<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" + xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"> + <channel> + <title>newTestSubscription2</title> + <item> + <title>newTestEpisode0</title> + <itunes:duration>00:01:40</itunes:duration> + <enclosure + url="/testfeeds/newTestSubscription2/episode0.mp3" + type="audio/mp3" /> + </item> + <item> + <title>newTestEpisode1</title> + <itunes:duration>00:03:20</itunes:duration> + <enclosure + url="/testfeeds/newTestSubscription2/episode1.mp3" + type="audio/mp3" /> + </item> + <item> + <title>newTestEpisode2</title> + <itunes:duration>00:05:00</itunes:duration> + <enclosure + url="/testfeeds/newTestSubscription2/episode2.mp3" + type="audio/mp3" /> + </item> + </channel> +</rss>
\ No newline at end of file diff --git a/pse-server/testfeeds/template.txt b/pse-server/testfeeds/template.txt new file mode 100644 index 0000000..1b4a8eb --- /dev/null +++ b/pse-server/testfeeds/template.txt @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<rss version="2.0" + xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"> + <channel> + <title>Dafna's Zebra Podcast</title> + <itunes:owner> + <itunes:email>dafna@example.com</itunes:email> + </itunes:owner> + <itunes:author>Dafna</itunes:author> + <description>A pet-owner's guide to the popular striped equine.</description> + <itunes:image href="https://www.example.com/podcasts/dafnas-zebras/img/dafna-zebra-pod-logo.jpg"/> + <language>en-us</language> + <link>https://www.example.com/podcasts/dafnas-zebras/</link> + <item> + <title>Top 10 myths about caring for a zebra</title> + <description>Here are the top 10 misunderstandings about the care, feeding, and breeding of these lovable striped animals.</description> + <pubDate>Tue, 14 Mar 2017 12:00:00 GMT</pubDate> + <enclosure url="https://www.example.com/podcasts/dafnas-zebras/audio/toptenmyths.mp3" + type="audio/mpeg" length="34216300"/> + <itunes:duration>30:00</itunes:duration> + <guid isPermaLink="false">dzpodtop10</guid> + </item> + <item> + <title>Keeping those stripes neat and clean</title> + <description>Keeping your zebra clean is time consuming, but worth the effort.</description> + <pubDate>Fri, 24 Feb 2017 12:00:00 GMT</pubDate> + <enclosure url="https://www.example.com/podcasts/dafnas-zebras/audio/cleanstripes.mp3" + type="audio/mpeg" length="26004388"/> + <itunes:duration>22:48</itunes:duration> + <guid>dzpodclean</guid> + </item> + </channel> +</rss>
\ No newline at end of file diff --git a/pse-server/testfeeds/testPodcast0.xml b/pse-server/testfeeds/testPodcast0.xml new file mode 100644 index 0000000..c7656eb --- /dev/null +++ b/pse-server/testfeeds/testPodcast0.xml @@ -0,0 +1,35 @@ +<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" + xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"> + <channel> + <title>testPodcast0</title> + <item> + <title>testEpisode0</title> + <itunes:duration>00:01:40</itunes:duration> + <enclosure + url="/testfeeds/testPodcast0/episode0.mp3" + type="audio/mp3" /> + </item> + <item> + <title>testEpisode1</title> + <itunes:duration>00:03:20</itunes:duration> + <enclosure + url="/testfeeds/testPodcast0/episode1.mp3" + type="audio/mp3" /> + </item> + <item> + <title>testEpisode2</title> + <itunes:duration>00:05:00</itunes:duration> + <enclosure + url="/testfeeds/testPodcast0/episode2.mp3" + type="audio/mp3" /> + </item> + <item> + <title>testEpisode3</title> + <itunes:duration>01:00:00</itunes:duration> + <enclosure + url="/testfeeds/testPodcast0/episode3.mp3" + type="audio/mp3" /> + </item> + </channel> +</rss>
\ No newline at end of file diff --git a/pse-server/testfeeds/testPodcast1.xml b/pse-server/testfeeds/testPodcast1.xml new file mode 100644 index 0000000..a7eeb63 --- /dev/null +++ b/pse-server/testfeeds/testPodcast1.xml @@ -0,0 +1,28 @@ +<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" + xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"> + <channel> + <title>testPodcast1</title> + <item> + <title>testEpisode0</title> + <itunes:duration>00:01:40</itunes:duration> + <enclosure + url="/testfeeds/testPodcast1/episode0.mp3" + type="audio/mp3" /> + </item> + <item> + <title>testEpisode1</title> + <itunes:duration>00:03:20</itunes:duration> + <enclosure + url="/testfeeds/testPodcast1/episode1.mp3" + type="audio/mp3" /> + </item> + <item> + <title>testEpisode2</title> + <itunes:duration>00:05:00</itunes:duration> + <enclosure + url="/testfeeds/testPodcast1/episode2.mp3" + type="audio/mp3" /> + </item> + </channel> +</rss>
\ No newline at end of file diff --git a/pse-server/testfeeds/timeTestPodcast.xml b/pse-server/testfeeds/timeTestPodcast.xml new file mode 100644 index 0000000..0f24193 --- /dev/null +++ b/pse-server/testfeeds/timeTestPodcast.xml @@ -0,0 +1,42 @@ +<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" + xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"> + <channel> + <title>timeTestPodcast</title> + <item> + <title>anInteger</title> + <itunes:duration>123</itunes:duration> + <enclosure + url="/testfeeds/timeTestPodcast/anInteger.mp3" + type="audio/mp3" /> + </item> + <item> + <title>notAnInteger</title> + <itunes:duration>00-2*</itunes:duration> + <enclosure + url="/testfeeds/timeTestPodcast/notAnInteger.mp3" + type="audio/mp3" /> + </item> + <item> + <title>miutesAndSeconds</title> + <itunes:duration>10:50</itunes:duration> + <enclosure + url="/testfeeds/timeTestPodcast/minutesAndSeconds.mp3" + type="audio/mp3" /> + </item> + <item> + <title>noMinutes</title> + <itunes:duration>01::01</itunes:duration> + <enclosure + url="/testfeeds/timeTestPodcast/noMinutes.mp3" + type="audio/mp3" /> + </item> + <item> + <title>emptyDurationTag</title> + <itunes:duration></itunes:duration> + <enclosure + url="/testfeeds/timeTestPodcast/emptyDurationTag.mp3" + type="audio/mp3" /> + </item> + </channel> +</rss>
\ No newline at end of file |