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>
This commit is contained in:
1 parent
25e71b679f
commit
f1ba452aba
21 files changed
+1549
No files matched your search
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Il Sole 24 ORE - Finanza</title><link>https://www.ilsole24ore.com</link><language>it-IT</language>
|
||||
<item><title>Il Bitcoin scende sotto i 90mila dollari, attesa per i dati Usa</title><link>https://www.ilsole24ore.com/art/bitcoin-scende-sotto-90mila-dollari-AH1234</link><guid isPermaLink="false">AH1234</guid><description>Vendite sulle criptovalute in attesa dell&#39;inflazione americana.</description><pubDate>Sat, 14 Nov 2026 17:51:00 GMT</pubDate></item>
|
||||
<item><title>Borse europee in rialzo, Piazza Affari guida</title><link>https://www.ilsole24ore.com/art/borse-europee-rialzo-AH1235</link><guid isPermaLink="false">AH1235</guid><pubDate>Sat, 14 Nov 2026 15:00:00 GMT</pubDate></item>
|
||||
</channel></rss>
|
||||
Reference in new issue
Block a user