feat(sources): add managed RSS feeds (#41)
This commit is contained in:
5
backend/internal/scraper/quanwenrss/testdata/bloomberg.xml
vendored
Normal file
5
backend/internal/scraper/quanwenrss/testdata/bloomberg.xml
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- Synthetic fixture only. Representative approved content:encoded full-text contract. -->
|
||||
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<channel><item><title>Synthetic Bloomberg headline</title><link>https://www.bloomberg.com/news/articles/2026-01-02/synthetic-fixture</link><dc:date>2026-01-02T03:04:05Z</dc:date><content:encoded><![CDATA[<article><p>Synthetic first paragraph.</p><p>Final synthetic paragraph.</p></article>]]></content:encoded></item></channel>
|
||||
</rss>
|
||||
7
backend/internal/scraper/quanwenrss/testdata/investing.xml
vendored
Normal file
7
backend/internal/scraper/quanwenrss/testdata/investing.xml
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- Synthetic fixture only; no publisher HTML or article text. -->
|
||||
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
|
||||
<channel>
|
||||
<item><title>Synthetic editorial headline</title><link>https://www.investing.com/news/stock-market-news/synthetic-fixture</link><pubDate>Fri, 02 Jan 2026 03:04:05 GMT</pubDate><description>Synthetic teaser.</description><content:encoded><![CDATA[<article><h2>Synthetic heading.</h2><p>Synthetic first paragraph.</p><script>EXCLUDED script</script><nav>EXCLUDED navigation</nav><aside>EXCLUDED sidebar</aside><div class="advertisement">EXCLUDED ad</div><p>Final synthetic paragraph.</p></article>]]></content:encoded></item>
|
||||
<item><title>Synthetic second headline</title><link>https://www.investing.com/news/economy-news/synthetic-second</link><pubDate>unreliable fixture date</pubDate><description><![CDATA[<p>Synthetic teaser only.</p>]]></description></item>
|
||||
</channel></rss>
|
||||
Reference in New Issue
Block a user