Files
Alby96andClaude Opus 5.5 f1ba452aba Collect news from the SPEC 4.4 feeds, group retold stories and link them to instruments (refs #56)
News is the first input of Phase 7. Every two minutes the "notizie" job asks each
enabled feed conditionally and backs off a failing one up to an hour.

- Parsing: RSS 2.0, RSS 1.0 and Atom are read without DTDs or entity expansion, so a
  hostile feed reads nothing from disk.
- Deduplication: articles are deduplicated by canonical URL.
- Grouping: retold titles join one story by word similarity within 48 hours, and
  independent publishers are counted by registrable domain.
- Linking: stories are linked to instruments by source symbols, cashtags, exchange
  tickers, coin tickers and capitalised company names; to the crypto or equity class
  or to the market by theme; to the source topic as a fallback.

ADR 0014 records the thresholds. The tests read a synthetic archive in each source's
real format and run on both engines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 18:57:49 +01:00

11 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:metadata="http://search.cnbc.com/rss/2.0/modules/siteContentMetadata" version="2.0">
<channel>
<title>Top News</title><link>https://www.cnbc.com/id/100003114/device/rss/rss.html</link><language>en-us</language>
<item><link>https://www.cnbc.com/2026/11/14/apple-shares-jump-after-record-iphone-sales.html</link><guid isPermaLink="false">108233001</guid><metadata:type>cnbcnewsstory</metadata:type><title>Apple shares jump after record iPhone sales in China</title><description>Apple (NASDAQ: AAPL) reported strong holiday demand.</description><pubDate>Sat, 14 Nov 2026 15:46:11 GMT</pubDate></item>
<item><link>https://www.cnbc.com/2026/11/14/fed-officials-signal-patience-on-rates.html</link><guid isPermaLink="false">108233002</guid><title>Fed officials signal patience on interest rates into December</title><description>Several policymakers said inflation is still too high.</description><pubDate>Sat, 14 Nov 2026 14:10:00 GMT</pubDate></item>
<item><link>https://www.cnbc.com/2026/11/14/target-cuts-outlook.html</link><guid isPermaLink="false">108233003</guid><title>Target cuts its holiday outlook as shoppers pull back</title><description>The retailer warned on margins.</description><pubDate>Sat, 14 Nov 2026 13:00:00 GMT</pubDate></item>
<item><link>https://www.cnbc.com/2026/11/14/nvidia-supplier-fire.html</link><guid isPermaLink="false">108233004</guid><title>Fire at a chip plant hits Nvidia supply, $NVDA slides</title><description>Production at a key supplier was halted.</description><pubDate>Sat, 14 Nov 2026 12:30:00 GMT</pubDate></item>
<item><link>https://www.cnbc.com/2026/11/09/old-story.html</link><guid isPermaLink="false">108230000</guid><title>An old story about Tesla deliveries in the third quarter</title><pubDate>Mon, 09 Nov 2026 09:00:00 GMT</pubDate></item>
</channel></rss>