Extraction recipe

Syndication Feed

RSS 2.0 and Atom 1.0 feed title, link, update timestamp, author, summary and entries.

id: feed mode: static */feed*/feed.xml*/rss*/rss.xml*/atom*/atom.xml*/index.xml

Field extractors

Each field names the extractor that produces it and the target it reads from.

Field Extractor Target Transforms Required
title regex <title>([\s\S]*?)</title> — required
link regex <link>([\s\S]*?)</link> — required
updated regex <(?:pubDate|updated)>([\s\S]*?)</(?:pubDate|updated)> — required
author regex <author>([\s\S]*?)</author> — required
summary regex <(?:description|subtitle)>([\s\S]*?)</(?:description|subtitle)> — required
items regex <(?:item|entry)>([\s\S]*?)</(?:item|entry)> — required

Zod rules

The output schema is projected to JSON Schema to build this table, so the documentation always matches the runtime validation.

Field Type Constraints Required
title string string, min length 1 yes
link string | null string, nullable yes
updated string | null string, nullable yes
author string | null string, nullable yes
summary string | null string, nullable yes
items array array, min items 1, items: object yes

JSON output

The real record produced by the real engine for the sample document of this recipe. The Zod schema accepted it.

{
  "title": "CrawlForge Changelog",
  "link": "https://crawl.cesarcai.dev/changelog",
  "updated": "2026-11-20T09:30:00Z",
  "author": "CrawlForge Team",
  "summary": "Release notes of the CrawlForge static-first scraping engine.",
  "items": [
    {
      "title": "v0.3.0 — Local Workbench and static showcase",
      "link": "https://crawl.cesarcai.dev/blog/v0-3-0",
      "updated": "2026-11-20T09:30:00Z",
      "author": null,
      "summary": "The 3-pane Local Workbench and the Astro 5 showcase ship together."
    },
    {
      "title": "v0.2.0 — Chromium fallback and the crawl queue",
      "link": "https://crawl.cesarcai.dev/blog/v0-2-0",
      "updated": "2026-10-08T14:05:00Z",
      "author": null,
      "summary": "Bounded breadth-first crawling, Sitemap seeding and the five built-in Recipes."
    }
  ]
}

CLI invocation

crawlforge fetch https://crawl.cesarcai.dev/changelog.xml --recipe feed --json

Add --db to store the Snapshot, then use crawlforge diff to compare two revisions of the same page.