Weekly AI Digest v3 – Automated Content Curation Script
π€ Weekly AI Digest v3 β Automated Content Curation Script
Python script that auto-curates arXiv papers, GitHub trending repos, and AI news RSS feeds into a ready-to-publish digest.
β
Operational
Python 3 / stdlib only
No API keys required
Python 3 / stdlib only
No API keys required
π What It Does
The weekly_digest_v3_curator.py script automatically gathers content from multiple sources and produces a formatted HTML digest ready to publish to WordPress via the dg/v1/publish endpoint.
Data Sources
- π arXiv API β Fetches top papers from cs.AI, cs.CL, cs.LG, cs.RO, cs.NE categories, sorted by submission date. Selects Paper of the Week + 3 runners-up.
- β GitHub Search API β Finds trending AI/ML repos created in the past week with 50+ stars. Filters by topics: machine-learning, artificial-intelligence, deep-learning, llm, transformers.
- π° RSS Feeds β Aggregates from 6 sources: arXiv CL Blog, arXiv AI Blog, Hugging Face Blog, OpenAI Blog, Google AI Blog, MIT Technology Review. Deduplicates by title hash.
ποΈ Architecture
βββββββββββββββ ββββββββββββββββ βββββββββββββββ
β arXiv API β β GitHub Searchβ β RSS Feeds β
β (Atom XML) β β (JSON API) β β (RSS/Atom) β
ββββββββ¬βββββββ ββββββββ¬ββββββββ ββββββββ¬βββββββ
β β β
βΌ βΌ βΌ
βββββββββββββββββββββββββββββββββββββββββββββββ
β weekly_digest_v3_curator.py β
β β’ Parse & deduplicate β
β β’ Generate HTML (Paper of Week, Papers, β
β GitHub Trending, News, Trend Analysis) β
β β’ Output JSON + HTML β
ββββββββββββββββββββββ¬βββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββ
β dg/v1/publish β
β (WordPress) β
βββββββββββββββββββ
β arXiv API β β GitHub Searchβ β RSS Feeds β
β (Atom XML) β β (JSON API) β β (RSS/Atom) β
ββββββββ¬βββββββ ββββββββ¬ββββββββ ββββββββ¬βββββββ
β β β
βΌ βΌ βΌ
βββββββββββββββββββββββββββββββββββββββββββββββ
β weekly_digest_v3_curator.py β
β β’ Parse & deduplicate β
β β’ Generate HTML (Paper of Week, Papers, β
β GitHub Trending, News, Trend Analysis) β
β β’ Output JSON + HTML β
ββββββββββββββββββββββ¬βββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββ
β dg/v1/publish β
β (WordPress) β
βββββββββββββββββββ
π Usage
___PRE_BLOCK___
π Output Format
The script outputs a JSON file with the following structure:
___PRE_BLOCK___
β Live Test Results
Script tested successfully on May 27, 2026:
- β arXiv: 4 papers fetched from cs.AI, cs.CL, cs.LG categories
- β RSS News: 6 items aggregated from 6 feeds, deduplicated
- β GitHub: Rate-limited on free API (422). Falls back gracefully with empty repos list.
- β HTML Generation: Full digest HTML produced with all sections
π§ Integration with Digest Publishing
To publish a digest edition, the WordPress dg/v1/publish endpoint reads the html field from the JSON output and creates a new post:
___PRE_BLOCK___
π Notes
- Requires only Python 3 stdlib β no pip install needed
- arXiv API has rate limits; script fetches max 8 papers to stay within bounds
- GitHub Search API may rate-limit unauthenticated requests (60/hour)
- RSS feeds that fail to load are skipped gracefully
- Output HTML is self-contained with inline styles β works in WordPress without external CSS
Schreibe einen Kommentar