Skip to main content

DEPRECATED

Use @svendowideit/news instead

Superseded by @svendowideit/news

News Reader

@svendowideit/news-readerv2026.08.01.1· 1d agoMODELSREPORTS
01README

Fetches RSS/Atom feeds, learns user preferences, and generates a static HTML news summary page ranked by predicted interest.

02Models1
@svendowideit/news-readerv2026.07.17.1news_reader.ts
fn fetch(feeds: array, maxArticlesPerFeed: number)
Fetch RSS/Atom feeds and store articles
ArgumentTypeDescription
feedsarrayRSS/Atom feed URLs to fetch — either string URLs or feed objects from feed-catalog
maxArticlesPerFeednumberMaximum articles to keep per feed (default 25)
fn filterByAge(newsAge: string)
Filter articles by age and store filtered snapshot for HTML generation
ArgumentTypeDescription
newsAgestringTime range of news to show (e.g., 2h, 7d, 4w, 1m). Supports h (hours), d (days), w (weeks), m (months). Defaults to 3 days.
fn generate(topN: number, title: string)
Generate static HTML report from latest articles, ranked by interest
ArgumentTypeDescription
topNnumberNumber of articles to include in the HTML report (0 = all articles, default 0)
titlestringTitle for the HTML report page
fn feedback(articleId: string, action: enum, source?: string, title?: string, keywords?: array)
Record user feedback on an article (interested or ignored)
ArgumentTypeDescription
articleIdstringArticle ID (hash of URL)
actionenumWhether the user found this article interesting or ignored it
source?stringFeed source name
title?stringArticle title
keywords?arrayKeywords/tags from the article

Resources

snapshot(7d)— Latest fetched feed snapshot
filteredSnapshot(7d)— Age-filtered snapshot for HTML generation
preferences(infinite)— User article preferences and learned keyword weights

Files

report(text/html)— Static HTML news summary page
03Reports1
@svendowideit/news-html-reportmethod
news_html_report.ts

Summary of the generated news HTML page with article count

newssummary
04Previous Versions1
2026.07.17.1
05Stats
A
100 / 100
Downloads
0
Archive size
22.9 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms