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

6 lines
537 B
XML

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title>Example Atom</title>
<entry><title type="html">Microsoft &amp;amp; OpenAI sign a new cloud deal</title><link rel="alternate" href="https://example.org/2026/11/14/microsoft-cloud-deal"/><id>tag:example.org,2026:1</id><published>2026-11-14T12:00:00Z</published><summary>Shares of Microsoft rose.</summary></entry>
<entry><title>No link at all</title><id>tag:example.org,2026:2</id><updated>2026-11-14T12:00:00Z</updated></entry>
</feed>