Browse Source
- At the moment this is a completely manual setting: feed deduplication makes the setting very hard to handle for multiple users - Improves #60microsub
J. King
7 years ago
7 changed files with 77 additions and 15 deletions
@ -0,0 +1,13 @@ |
|||
<?php return [ |
|||
'mime' => "text/html", |
|||
'content' => <<<MESSAGE_BODY |
|||
<html> |
|||
<title>Example article</title> |
|||
<body> |
|||
<article> |
|||
<p>Partial content, followed by more content</p> |
|||
</article> |
|||
</body> |
|||
</html> |
|||
MESSAGE_BODY |
|||
]; |
@ -0,0 +1,18 @@ |
|||
<?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> |
|||
|
|||
<item> |
|||
<guid>http://localhost:8000/Feed/Scraping/Document</guid> |
|||
<title>Example article</title> |
|||
<description>Partial content</description> |
|||
</item> |
|||
</channel> |
|||
</rss> |
|||
MESSAGE_BODY |
|||
]; |
Loading…
Reference in new issue