J. King
7 years ago
7 changed files with 37 additions and 3 deletions
@ -1,6 +1,7 @@ |
|||||
<?php return [ |
<?php return [ |
||||
'code' => 200, |
'code' => 200, |
||||
'cache' => false, |
'cache' => false, |
||||
|
'mime' => "application/rss+xml", |
||||
'content' => <<<MESSAGE_BODY |
'content' => <<<MESSAGE_BODY |
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> |
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> |
||||
<channel> |
<channel> |
@ -0,0 +1,24 @@ |
|||||
|
<?php return [ |
||||
|
'code' => 200, |
||||
|
'cache' => false, |
||||
|
'mime' => "application/rss+xml", |
||||
|
'content' => <<<MESSAGE_BODY |
||||
|
<rss version="2.0"> |
||||
|
<channel> |
||||
|
<title>Test feed</title> |
||||
|
<link>http://example.com/</link> |
||||
|
<description>A basic feed for testing</description> |
||||
|
|
||||
|
<item> |
||||
|
<description>Sample article 1</description> |
||||
|
</item> |
||||
|
<item> |
||||
|
<description>Sample article 2</description> |
||||
|
</item> |
||||
|
<item> |
||||
|
<description>Sample article 3</description> |
||||
|
</item> |
||||
|
</channel> |
||||
|
</rss> |
||||
|
MESSAGE_BODY |
||||
|
]; |
@ -1,6 +1,7 @@ |
|||||
<?php return [ |
<?php return [ |
||||
'code' => 200, |
'code' => 200, |
||||
'cache' => false, |
'cache' => false, |
||||
|
'mime' => "application/rss+xml", |
||||
'content' => <<<MESSAGE_BODY |
'content' => <<<MESSAGE_BODY |
||||
<rss version="2.0"> |
<rss version="2.0"> |
||||
<channel> |
<channel> |
@ -1,6 +1,7 @@ |
|||||
<?php return [ |
<?php return [ |
||||
'code' => 200, |
'code' => 200, |
||||
'cache' => false, |
'cache' => false, |
||||
|
'mime' => "application/rss+xml", |
||||
'content' => <<<MESSAGE_BODY |
'content' => <<<MESSAGE_BODY |
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> |
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> |
||||
<channel> |
<channel> |
Loading…
Reference in new issue