feat: support itunes namespace in top channel feed (#3776)

Also preserves other properties.
This commit is contained in:
Dag 2024-01-09 20:18:33 +01:00 committed by GitHub
parent ea58c8d2bc
commit 3ce94409ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 298 additions and 203 deletions

View file

@ -2,15 +2,15 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>Sample feed with common data</title>
<link>https://example.com/blog/</link>
<description>Sample feed with common data</description>
<link>https://example.com/blog/</link>
<atom:link href="https://example.com/blog/" rel="alternate" type="text/html"/>
<atom:link href="https://example.com/feed?type=common&amp;items=4" rel="self" type="application/atom+xml"/>
<image>
<url>https://example.com/logo.png</url>
<title>Sample feed with common data</title>
<link>https://example.com/blog/</link>
</image>
<atom:link href="https://example.com/blog/" rel="alternate" type="text/html"/>
<atom:link href="https://example.com/feed?type=common&amp;items=4" rel="self" type="application/atom+xml"/>
<item>
<title>Test Entry</title>

View file

@ -2,8 +2,8 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>Sample feed with minimum data</title>
<link>https://github.com/RSS-Bridge/rss-bridge/</link>
<description>Sample feed with minimum data</description>
<link>https://github.com/RSS-Bridge/rss-bridge/</link>
<atom:link href="https://github.com/RSS-Bridge/rss-bridge/" rel="alternate" type="text/html"/>
<atom:link href="https://example.com/feed" rel="self" type="application/atom+xml"/>
</channel>

View file

@ -2,8 +2,8 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>Sample feed with minimum data</title>
<link>https://github.com/RSS-Bridge/rss-bridge/</link>
<description>Sample feed with minimum data</description>
<link>https://github.com/RSS-Bridge/rss-bridge/</link>
<atom:link href="https://github.com/RSS-Bridge/rss-bridge/" rel="alternate" type="text/html"/>
<atom:link href="https://example.com/feed" rel="self" type="application/atom+xml"/>

View file

@ -2,15 +2,15 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>Sample microblog feed</title>
<link>https://example.com/blog/</link>
<description>Sample microblog feed</description>
<link>https://example.com/blog/</link>
<atom:link href="https://example.com/blog/" rel="alternate" type="text/html"/>
<atom:link href="https://example.com/feed" rel="self" type="application/atom+xml"/>
<image>
<url>https://example.com/logo.png</url>
<title>Sample microblog feed</title>
<link>https://example.com/blog/</link>
</image>
<atom:link href="https://example.com/blog/" rel="alternate" type="text/html"/>
<atom:link href="https://example.com/feed" rel="self" type="application/atom+xml"/>
<item>
<guid isPermaLink="false">1918f084648b82057c1dd3faa3d091da82a6fac2</guid>