Skip to content

Instantly share code, notes, and snippets.

@scripting
Created March 15, 2026 01:28
Show Gist options
  • Select an option

  • Save scripting/cca499d44f8bdf2e117dbb5876e1a72d to your computer and use it in GitHub Desktop.

Select an option

Save scripting/cca499d44f8bdf2e117dbb5876e1a72d to your computer and use it in GitHub Desktop.
This is the basic data that WordPress keeps for each post
{
"idPost": 1653,
"idSite": 237777565,
"title": "An example for the docs",
"guid": "http://daveverse.org/2025/07/05/an-example-for-the-docs/",
"content": "<p>I enjoy working on the <a href=\"https://github.com/scripting/wpIdentity\">wpIdentity</a> package, esp a design-heavy, code-lite feature like the metadata. </p>\n<p>This is an example post for the docs on the metadata feature that has been added today. </p>\n<p>Here&#39;s a list of seven things whose names begin with O.</p>\n<ol>\n<li><a href=\"https://en.wikipedia.org/wiki/Oreo\">Oreo cookies</a></li>\n<li>Optimism</li>\n<li><a href=\"https://en.wikipedia.org/wiki/Organic_food\">Organic food</a></li>\n<li>Opportunity knocks</li>\n<li>Oregon</li>\n<li>Ooops!</li>\n<li>Offred</li>\n</ol>\n",
"type": "post",
"categories": [
"Uncategorized"
],
"metadata": {
"activitypub_status": "federated",
"wordland_apiVersion": "0.4.0",
"wordland_idDraft": "3931",
"wordland_linksTo": "https://github.com/scripting/wpIdentity/issues/6",
"wordland_markdowntext": "I enjoy working on the [wpIdentity](https://github.com/scripting/wpIdentity) package, esp a design-heavy, code-lite feature like the metadata. \n\nThis is an example post for the docs on the metadata feature that has been added today. \n\nHere's a list of seven things whose names begin with O.\n\n1. [Oreo cookies](https://en.wikipedia.org/wiki/Oreo)\n2. Optimism\n3. [Organic food](https://en.wikipedia.org/wiki/Organic_food)\n4. Opportunity knocks\n5. Oregon\n6. Ooops!\n7. Offred",
"wordland_title": "An example for the docs",
"_wpas_done_all": "1"
},
"url": "https://daveverse.org/2025/07/05/an-example-for-the-docs/",
"urlShort": "https://wp.me/pg5GO1-qF",
"whenCreated": "2025-07-05T16:54:10.000Z",
"author": {
"id": 21807,
"username": "scripting",
"name": "Dave Winer"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment