Skip to content

Releases: ivbeg/newsworker

v1.3.0

Choose a tag to compare

@ivbeg ivbeg released this 05 Jul 15:52

Extraction quality, spec analysis, and language detection improvements.

Highlights

  • New docs/SPEC.md — YAML parsing spec format and analyze pipeline reference
  • HTML <time datetime="..."> support via the html:time pattern
  • Text-based feed language detection from item titles (Cyrillic, Ukrainian, French, …)
  • Smarter spec analyzer: rejects form/select UI clusters and WordPress taxonomy classes
  • analyze CLI now accepts the same fetch flags as extract
  • UTF-8/Cyrillic pages decode correctly with <meta charset>
  • 175+ offline tests

See CHANGELOG.md for full details.

v1.2.0

Choose a tag to compare

@ivbeg ivbeg released this 04 Jul 16:56

Platform release closing the audit roadmap.

Highlights

  • New output formats: JSON Feed 1.1, HTML, Markdown, YAML
  • CLI: --limit, date filters, fetch options, cache, batch, watch
  • Security: TLS verification and robots.txt on by default
  • Feed enrichment: author, categories, optional full-text
  • Plugins/bridges, async batch transport, Docker support
  • 145+ tests, GitHub Actions CI, PEP 621 packaging

See CHANGELOG.md for full details.

Release v1.1.0

Choose a tag to compare

@ivbeg ivbeg released this 03 Jul 12:42

News feed server, reusable parsing specs, caching, and multiple output formats.

Added

  • serve — local HTTP feed server (standard-library only) that turns any page URL into a feed on demand over GET (GET /feed?url=<page>&format=atom), plus /health and / endpoints. Feed URLs can be pasted straight into any RSS reader.
  • analyze — runs the dynamic heuristics once and distills them into a reusable YAML parsing spec; new --spec / -s option for extract runs fast, deterministic extraction from a pre-built spec.
  • Reusable parsing specs via newsworker.spec (FeedSpec, SpecAnalyzer, SpecExtractor) using deterministic CSS/XPath selectors.
  • Caching layer (newsworker.cache) with a spec cache and a content cache (configurable TTL). New --no-cache, --refresh, --config / -c options for extract, and --cache-dir / --content-ttl for serve.
  • Settings support (newsworker.settings) backed by a YAML config file at ~/.newsworker/config.yaml.
  • High-level newsworker.service.FeedService shared by extract and the server.
  • Multiple output formats: extract supports json/rss/atom/csv; scan supports json/rss/atom/csv/opml. New --format / -f and --output / -o options, plus a new newsworker.formats module.

Changed

  • Rewrote README.md with a modern structure and full CLI/caching documentation.
  • extract now builds and caches a parsing spec (plus page content) on first use for faster subsequent runs.
  • scan now emits structured, format-aware output.
  • Added cssselect, pyyaml, requests, urllib3 dependencies (and declared feedparser explicitly).

Fixed

  • Naive datetimes are normalized to UTC when rendering RSS/Atom feeds.

Full changelog: https://github.com/ivbeg/newsworker/blob/master/CHANGELOG.md

Release v1.0.2

Choose a tag to compare

@ivbeg ivbeg released this 26 Nov 05:31

Release version 1.0.2