~/talk

COPE with WordPress

speakerdeck:leoloso
slides:none on file

Claims a workable COPE pipeline that turns Gutenberg post HTML into a single-source JSON feed and exposes it via API endpoints. It parses editor output with WordPress’s parse_blocks, flattens nested/reusable blocks, strips nonsemantic HTML, extracts missing fields with regex, and maps per-block metadata into a block metadata endpoint (REST, GraphQL as JSON string, and PoP). Proof-of-concept code lives on GitHub and demonstrates filtered queries (e.g., “only images” or “only videos”); limitations include HTML-heavy captions, some block types unsuitable, and GraphQL type proliferation.

AI-written summary · about

  1. 0:00Introduction
  2. 0:56What is COPE
  3. 1:37How does it work
  4. 2:29How to do it
  5. 3:54Why WordPress
  6. 5:13Blob vs Blow
  7. 5:53What is Blow
  8. 7:31How Gutenberg stores the information
  9. 16:25GitHub repo
  10. 16:41Data transformation
  11. 17:39Other blog types
  12. 19:28API
  13. 22:22GraphQL
  14. 23:13Popup Library
  15. 23:37Block Metadata
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.