Terence Eden on Nostr: Hello #SemanticWeb & #SchemaOrg people - I have a conundrum. My blog posts' #HTML is, ...
Hello #SemanticWeb & #SchemaOrg people - I have a conundrum.
My blog posts' #HTML is, essentially:
```
<main>
<article itemprop="blogPost">
<header>
<h1 itemprop="headline">…</h1>
</header>
<div itemprop="articleBody">
Content
…
```
Given that "div is the element of last resort" - what should I use instead?
It isn't a sub-<article> (and wouldn't have a separate heading).
The <header> isn't part of the articleBody (I think).
I guess it is a <section>?
Published at
2023-08-17 16:31:37Event JSON
{
"id": "662a644d5f83c817e81edf66c7827b19323677aa3bfea5204f13c86bb699bb72",
"pubkey": "fddf487eea9db57a6e320f80e5cb63de50bedf539695a41c0d447be6c23643e1",
"created_at": 1692289897,
"kind": 1,
"tags": [
[
"t",
"semanticweb"
],
[
"t",
"schemaorg"
],
[
"t",
"html"
],
[
"proxy",
"https://mastodon.social/users/Edent/statuses/110905910708126372",
"activitypub"
]
],
"content": "Hello #SemanticWeb \u0026 #SchemaOrg people - I have a conundrum.\n\nMy blog posts' #HTML is, essentially:\n```\n\u003cmain\u003e\n \u003carticle itemprop=\"blogPost\"\u003e\n \u003cheader\u003e\n \u003ch1 itemprop=\"headline\"\u003e…\u003c/h1\u003e\n \u003c/header\u003e\n \u003cdiv itemprop=\"articleBody\"\u003e\n Content \n …\n```\n\nGiven that \"div is the element of last resort\" - what should I use instead?\n\nIt isn't a sub-\u003carticle\u003e (and wouldn't have a separate heading).\n\nThe \u003cheader\u003e isn't part of the articleBody (I think).\n\nI guess it is a \u003csection\u003e?",
"sig": "a44c3739d30ee0a15a0ca7216ec46790c5ef5370e277e38b9a383108bfe3e41dd88ee52e7fa3b6938cdabe40c7c27d4bb04f8d1b709820c33dfdb7e71ad00a1e"
}