c9fe15c90c
Universal: Cascade Main → Dev / Cascade main → branches (push) Successful in 2s
Joomla package (pkg_mokoog) with three sub-extensions: - com_mokoog: Admin component with tag manager, MVC, database schema - plg_system_mokoog: OG + Twitter Card meta tag injection via onBeforeCompileHead - plg_content_mokoog: Per-article and per-menu-item OG fields in editor Includes CI/CD workflows, issue templates, 12 feature issues, and full Joomla 4/5 DI container architecture. Authored-by: Moko Consulting Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1.2 KiB
1.2 KiB
title, labels, milestone
| title | labels | milestone |
|---|---|---|
| [FEATURE] Structured Data / JSON-LD Output | enhancement, priority: medium | v01.02 |
Feature Description
In addition to Open Graph meta tags, generate JSON-LD structured data (<script type="application/ld+json">) for improved SEO and rich search results.
Problem or Use Case
Open Graph is for social sharing, but Google and other search engines primarily use JSON-LD structured data for rich results (breadcrumbs, article info, FAQ, product reviews, etc.). A comprehensive SEO extension should provide both.
Proposed Solution
Add optional JSON-LD output alongside OG tags:
- Article schema —
@type: Articlewith headline, datePublished, author, image - WebPage schema — For non-article pages
- BreadcrumbList schema — Based on Joomla menu hierarchy
- Organization schema — Site-wide, configured in plugin settings
- Product schema — When VirtueMart/HikaShop adapter is active
Implementation Details
- New
JsonLdBuilderhelper class inplg_system_mokoog - Output in
onBeforeCompileHeadalongside OG tags - Plugin configuration toggle: Enable/disable JSON-LD per schema type
- Validate output against Google's Structured Data Testing Tool format