mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 18:14:44 +02:00
[MrssFormat] Rework to make it valid RSS 2.0 + Media RSS (#996)
This commit is contained in:
parent
32d4da8b76
commit
80f6a8b3d4
6 changed files with 300 additions and 45 deletions
26
tests/samples/expectedMrssFormat/feed.microblog.xml
Normal file
26
tests/samples/expectedMrssFormat/feed.microblog.xml
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0"?>
|
||||
<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>
|
||||
<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>
|
||||
<pubDate>Sun, 07 Oct 2018 16:53:03 +0000</pubDate>
|
||||
<description>Oh 😲 I found three monkeys 🙈🙉🙊</description>
|
||||
</item>
|
||||
<item>
|
||||
<guid isPermaLink="false">e62189168a06dfa74f61c621c79c33c4c8517e1f</guid>
|
||||
<pubDate>Sun, 07 Oct 2018 16:38:17 +0000</pubDate>
|
||||
<description>Something happened</description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
Loading…
Add table
Add a link
Reference in a new issue