Precision Data Formatting: JSON Conversion for Article Drafts

JSON data structure representing a formatted article draft.

Image Source

This tool converts plain text article drafts into a single, clean, valid JSON object. It structures data for optimal SEO and readability.

The output includes an SEO-optimized title, meta description, HTML-formatted content, relevant tags, and more, all within a strict JSON format.

The task is to convert the provided plain text article draft into a single, clean, valid JSON object, adhering to a predefined structure. This ensures data precision and facilitates seamless integration with web applications and content management systems.

The JSON output must include the following keys, each populated with specific data extracted or generated from the draft article:

  • seoTitle: The SEO-optimized title from the draft, limited to 60-65 characters.
  • metaDescription: A compelling meta description, limited to 150-155 characters.
  • introSummary: The first 1-2 paragraphs, formatted as an HTML string with <p> tags.
  • fullContent: The entire main body (excluding the intro), in structured HTML with <p>, <h2>, etc.
  • tags: An array of 3-5 specific, entity-based tags, such as the game's series, developer, or publisher. Avoid generic tags like 'Action', 'RPG', or release years.
  • breadcrumbTitle: A very short version of the title for breadcrumbs (3-5 words).
  • suggestedSlug: A keyword-rich slug for the URL, formatted like 'a-keyword-rich-slug-for-the-url-like-this'.
  • imageAltText: A descriptive, SEO-friendly alt text for the main image.

Related Posts