News Reader
@svendowideit/news-readerv2026.07.17.1
01README
Fetches RSS/Atom feeds, learns user preferences, and generates a static HTML news summary page ranked by predicted interest.
02Models
@svendowideit/news-readerv2026.07.17.1news_reader.ts
fn fetch(feeds: array, maxArticlesPerFeed: number)
Fetch RSS/Atom feeds and store articles
| Argument | Type | Description |
|---|---|---|
| feeds | array | RSS/Atom feed URLs to fetch — either string URLs or feed objects from feed-catalog |
| maxArticlesPerFeed | number | Maximum articles to keep per feed (default 25) |
fn generate(topN: number, title: string)
Generate static HTML report from latest articles, ranked by interest
| Argument | Type | Description |
|---|---|---|
| topN | number | Number of articles to include in the HTML report (0 = all articles, default 0) |
| title | string | Title 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)
| Argument | Type | Description |
|---|---|---|
| articleId | string | Article ID (hash of URL) |
| action | enum | Whether the user found this article interesting or ignored it |
| source? | string | Feed source name |
| title? | string | Article title |
| keywords? | array | Keywords/tags from the article |
Resources
snapshot(7d)— Latest fetched feed snapshot
preferences(infinite)— User article preferences and learned keyword weights
Files
report(text/html)— Static HTML news summary page
03Reports
@svendowideit/news-html-reportmethod
news_html_report.ts
Summary of the generated news HTML page with article count
newssummary
04Stats
B
85 / 100
Downloads
0
Archive size
19.0 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 repository0/2missing
05Platforms