Model the editorial facts first

Before writing JSON-LD, decide who wrote the article, when it was published, what its headline is and which image represents it. Put those facts in the content record used by the visible page. Structured data becomes easier to maintain when it is an output of that record rather than a second, manually edited version of the article.

Use an appropriate article type

A technical journal entry can be represented with BlogPosting, a subtype of Article. Include supported properties that accurately describe the page, such as headline, author, datePublished, dateModified and image. Do not choose a type simply because it appears to offer more prominent search presentation. The content and the markup need to tell the same story.

Work through a publication example

Suppose a guide is first published on 26 October and substantially revised later to add tested deployment steps. Preserve the original publication date and record the later modification date. If a rebuild changes only a stylesheet, leave the article’s editorial dates alone. This distinction helps readers understand the age of the advice and why it was updated.

Link the author to a real profile page that explains the person’s relevant background, and identify the publisher consistently. A personal portfolio should not invent an editorial team or organization to make the site sound larger. When the author is known, use that verified identity; when information is missing, do not fabricate credentials to complete a field.

Keep images and content accessible

The representative image should resolve at its public URL and make sense for the article. Avoid pointing every article to a nonexistent route or a private asset. Escape serialized JSON safely when inserting it into HTML. Readers should still be able to understand the article when the structured-data script is removed because the script is descriptive metadata, not the content itself.

Check syntax and correspondence

Parse generated JSON-LD during the build, then compare headline, dates and byline with the visible page. Test representative URLs in a structured-data validation tool after deployment. Fix both syntax errors and factual mismatches. Correct markup can support understanding and eligibility, but it does not guarantee a rich result or compensate for an article that fails to answer its stated question.

Further reading

Put the idea to work.

Explore free browser tools for images, text and developer workflows.

Try a free tool