1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-27 02:52:40 +00:00
Arsse/tests/docroot/Feed/Fetching/TooLarge.php

19 lines
462 B
PHP
Raw Normal View History

2018-10-26 18:58:04 +00:00
<?php
2017-05-27 22:15:52 +00:00
$item = '
<item>
<description>'.str_repeat("0", 1024).'</description>
2017-08-29 14:50:31 +00:00
</item>';
2017-05-27 22:15:52 +00:00
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>
2017-05-27 22:15:52 +00:00
<description>Example newsfeed title</description>
$item
</channel>
</rss>
MESSAGE_BODY
2017-08-29 14:50:31 +00:00
];