You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
2.3 KiB
85 lines
2.3 KiB
# This file tests extensions primarily designed for RSS 2
|
|
|
|
iPod expiration marker 1:
|
|
input: >
|
|
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
|
|
<channel>
|
|
<itunes:complete>Yes</itunes:complete>
|
|
</channel>
|
|
</rss>
|
|
output:
|
|
format: rss
|
|
sched:
|
|
expired: true
|
|
|
|
iPod expiration marker 2:
|
|
input: >
|
|
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
|
|
<channel>
|
|
<itunes:complete>No</itunes:complete>
|
|
<itunes:complete>Yes</itunes:complete>
|
|
</channel>
|
|
</rss>
|
|
output:
|
|
format: rss
|
|
sched:
|
|
expired: true
|
|
|
|
iPod expiration marker 3:
|
|
input: >
|
|
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
|
|
<channel>
|
|
<itunes:complete>yes</itunes:complete>
|
|
</channel>
|
|
</rss>
|
|
output:
|
|
format: rss
|
|
|
|
iPod canonical URL:
|
|
input: >
|
|
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
|
|
<channel>
|
|
<itunes:new-feed-url/>
|
|
<itunes:new-feed-url>http://example.com/</itunes:new-feed-url>
|
|
</channel>
|
|
</rss>
|
|
output:
|
|
format: rss
|
|
url: 'http://example.com/'
|
|
|
|
iPod title:
|
|
input: >
|
|
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
|
|
<channel>
|
|
<itunes:title/>
|
|
<itunes:title> Plain text</itunes:title>
|
|
</channel>
|
|
</rss>
|
|
output:
|
|
format: rss
|
|
title:
|
|
plain: 'Plain text'
|
|
|
|
iPod summary: # Apple's own documentation doesn't mention a namespaced summary element, but Google's does
|
|
input: >
|
|
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
|
|
<channel>
|
|
<itunes:summary> Plain text</itunes:summary>
|
|
</channel>
|
|
</rss>
|
|
output:
|
|
format: rss
|
|
summary:
|
|
plain: 'Plain text'
|
|
|
|
Google Play summary:
|
|
input: >
|
|
<rss xmlns:play="http://www.google.com/schemas/play-podcasts/1.0">
|
|
<channel>
|
|
<play:description> Plain text</play:description>
|
|
</channel>
|
|
</rss>
|
|
output:
|
|
format: rss
|
|
summary:
|
|
plain: 'Plain text'
|
|
|