Skip to main content
Version: Next

WordPress

WordPress

Reads published posts from one public WordPress.com site using the WordPress.com Posts API. It performs unauthenticated HTTPS reads against public-api.wordpress.com; it does not write to the site or connect directly to a self-hosted WordPress installation.

Supported behavior​

  • Bounded batch reads only; set job parallelism to 1.
  • This connector does not support private sites, drafts, pages, comments, custom post types, or streaming/CDC.
  • The window filters the publication timestamp, not the timestamp of later edits. It does not report deletes.
  • Reads are ordered by ascending post ID. Changing totals, inconsistent page sizes, out-of-order or repeated IDs, malformed responses, HTTP failures (including 429), and results above the page limit fail the job. Stable totals and order cannot detect every concurrent edit; this is not a transactional snapshot. Prefer an older, stable window.
  • Restarting a job replays the window. There is no remote checkpoint or exactly-once guarantee; a nontransactional sink may have committed rows before a failure. For replay-safe loads, use the site and post ID as a destination key.
  • Zeta BATCH jobs enable periodic engine checkpoints only when checkpoint.interval is set in env. Those checkpoints do not persist remote page progress; restored readers replay the configured window.
  • Each response is fully validated before output, and the reader yields after each accepted row so a decoded page does not monopolize checkpoint injection under row throttling. One downstream collection can still block; checkpointing does not make the mutable publication window a remote snapshot.

HTTP response headers are limited to 100 entries and 16 KiB per status/header line. Report pages remain limited to 4 MiB after decompression; proxy CONNECT refusal bodies have a separate 4 MiB encoded-byte limit before native tunnel buffering or authentication cleanup. Oversized refusal content shuts down its connection before unread cleanup. These are dedicated admission limits, not a universal JVM heap or exact wire-consumption guarantee.

Options​

NameTypeRequiredDefaultDescription
sitestringYesNoneA numeric WordPress.com site ID or public site hostname, without a scheme, path, port, or query. Prefer the site ID if a domain can change.
start_datestringYesNoneInclusive lower publication-time limit as UTC ISO 8601 with second precision (for example, 2005-09-01T00:00:00Z).
end_datestringYesNoneInclusive upper publication-time limit, same format and at or after start_date.
page_sizeintNo50Posts to request per page, from 1 to 100.
max_pagesintNo1000Maximum number of pages, from 1 to 10000. The connector fails instead of truncating a larger result.

Both bounds are inclusive. Use nonoverlapping second-precision windows or deduplicate at the sink when composing exports.

Output schema​

FieldTypeDescription
idBIGINTWordPress post ID, unique within the site.
slugSTRINGPost slug.
titleSTRINGAPI display title, which may contain HTML entities.
urlSTRINGPublic post URL.
published_atTIMESTAMPPublication timestamp normalized to UTC.
modified_atTIMESTAMPLast modification timestamp normalized to UTC.

Example​

env {
job.mode = "BATCH"
parallelism = 1
}

source {
WordPress {
site = "en.blog.wordpress.com"
start_date = "2005-09-01T00:00:00Z"
end_date = "2005-09-30T23:59:59Z"
page_size = 1
}
}

sink {
Console {}
}

Changelog​

Changelog

next version​

  • Add a bounded source for public WordPress.com posts.