J. King
7 years ago
7 changed files with 51 additions and 12 deletions
@ -0,0 +1,12 @@ |
|||
<?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://example.com/</link> |
|||
<description>Example newsfeed title</description> |
|||
</channel> |
|||
</rss> |
|||
MESSAGE_BODY |
|||
]; |
@ -0,0 +1,8 @@ |
|||
<?php return [ |
|||
'mime' => "text/html", |
|||
'content' => <<<MESSAGE_BODY |
|||
<html> |
|||
<title>Example article</title> |
|||
</html> |
|||
MESSAGE_BODY |
|||
]; |
@ -0,0 +1,9 @@ |
|||
<?php return [ |
|||
'mime' => "text/html", |
|||
'content' => <<<MESSAGE_BODY |
|||
<html> |
|||
<title>Example article</title> |
|||
<link rel="alternate" type="application/rss+xml" href="http://localhost:8000/Feed/Discovery/Feed"> |
|||
</html> |
|||
MESSAGE_BODY |
|||
]; |
Loading…
Reference in new issue