mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-23 09:02:41 +00:00
41 lines
1.4 KiB
PHP
41 lines
1.4 KiB
PHP
<?php return [
|
|
'mime' => "application/rss+xml",
|
|
'content' => <<<MESSAGE_BODY
|
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
|
<channel>
|
|
<title>Test feed</title>
|
|
<link>http://localhost:8000/</link>
|
|
<description>Example newsfeed title</description>
|
|
|
|
<item>
|
|
<dc:identifier>urn:uuid:43fb1908-42ec-11e7-b61b-2b118faca2f2</dc:identifier>
|
|
<guid>http://example.com/1</guid>
|
|
<atom:id>urn:uuid:4c8dbc84-42eb-11e7-9f61-6f83db96854f</atom:id> <!-- Correct ID -->
|
|
</item>
|
|
<item>
|
|
<dc:identifier>urn:uuid:43fb1908-42ec-11e7-b61b-2b118faca2f2</dc:identifier>
|
|
<guid>http://example.com/1</guid> <!-- Correct ID -->
|
|
</item>
|
|
<item>
|
|
<dc:identifier>urn:uuid:43fb1908-42ec-11e7-b61b-2b118faca2f2</dc:identifier> <!-- Correct ID -->
|
|
<enclosure url="http://example.com/svg" type="image/svg"/>
|
|
<category>HLN</category>
|
|
</item>
|
|
<item>
|
|
<link>http://example.com/2</link>
|
|
</item>
|
|
<item>
|
|
<title>Example title</title>
|
|
</item>
|
|
<item>
|
|
<description>Example content</description>
|
|
<enclosure url="http://example.com/text" type="text/plain"/>
|
|
<category>Men</category>
|
|
<atom:category term="Beams"/>
|
|
<atom:category term="Hoo! Haa!" label="Aniki!"/>
|
|
<dc:subject>Bodybuilders</dc:subject>
|
|
</item>
|
|
</channel>
|
|
</rss>
|
|
MESSAGE_BODY
|
|
];
|