Technische Workflow

Componenten

  1. WordPress + Plugin (port 8090) – Frontend & admin interface
  2. Research Service (port 3100) – Node.js backend voor scraping & AI
  3. Ollama (port 11434) – Lokale LLM voor categorisatie
  4. Claude API – Extern, voor artikel herschrijving

Workflow

  1. FETCH FEEDS
    User klikt “Fetch” → Plugin haalt RSS/Atom feeds op → Nieuwe artikelen opgeslagen met status ‘pending’ 2a. REWRITE (Simple Mode)
    Plugin → Claude API → POST naar Anthropic met prompt + originele content → Response parsed (TITEL/EXCERPT/ARTIKEL) → Status ‘ready_for_review’ 2b. REWRITE (Research Mode)
    Plugin → Research Service (POST /research) → SERP API zoekt bronnen → Puppeteer scraped top 5 URLs → Ollama analyseert → Plugin → Claude API (met research context) → Status
    ‘ready_for_review’
  2. CATEGORISATIE (automatisch)
    Plugin → Research Service (POST /categorize) → Ollama bepaalt categorie + confidence score → Opgeslagen bij artikel
  3. REVIEW & PUBLISH
    User reviewt in admin → Edit/Approve/Reject → Bij Approve: bronvermelding toegevoegd → WordPress post aangemaakt → Status ‘published’

API Calls

  • Plugin → Research Service POST /research – Volledige research pipeline
  • Plugin → Research Service POST /categorize – AI categorisatie
  • Plugin → Research Service POST /fetch – URL scrapen
  • Plugin → Claude API POST /messages – Artikel herschrijven
  • Research Service → Ollama POST /api/generate – Lokale LLM taken
  • Research Service → SERP API GET /search – Google zoekresultaten

API Calls

VanNaarEndpointDoel
PluginResearch ServicePOST /researchVolledige research pipeline
PluginResearch ServicePOST /categorizeAI categorisatie
PluginResearch ServicePOST /fetchURL scrapen
PluginClaude APIPOST /messagesArtikel herschrijven
Research ServiceOllamaPOST /api/generateLokale LLM taken
Research ServiceSERP APIGET /searchGoogle zoekresultaten