Skip to main content

LEARN HOW to
CODE SVG DIAGRAM
SOURCE CODE and EXPLANATION of SOURCE CODE

Headless CMS Architecture Headless CMS Website (SSG) Webhook Server Blogger API


SOURCE CODE

<html lang="en">

<head>

  <meta charset="utf-8"></meta>

  <title>Headless CMS Architecture</title>

  <meta content="width=device-width, initial-scale=1" name="viewport"></meta>

  <style>

    svg { max-width: 720px; height: auto; font: 14px system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }

    .box { fill: #fff; stroke: #444; stroke-width: 2; rx: 8; }

    .label { text-anchor: middle; dominant-baseline: middle; }

    .edge { stroke: #444; stroke-width: 2; fill: none; }

  </style>

</head>

<body>

  <svg aria-label="Headless CMS flows to Website (SSG) and Webhook Server, which flows to Blogger API" role="img" viewbox="0 0 720 300">

    <rect class="box" height="48" width="160" x="280" y="20"></rect>

    <text class="label" x="360" y="44">Headless CMS</text>

    <rect class="box" height="48" width="160" x="80" y="140"></rect>

    <text class="label" x="160" y="164">Website (SSG)</text>

    <rect class="box" height="48" width="160" x="480" y="140"></rect>

    <text class="label" x="560" y="164">Webhook Server</text>

    <rect class="box" height="48" width="160" x="480" y="240"></rect>

    <text class="label" x="560" y="264">Blogger API</text>

    <path class="edge" d="M360,68 V104 H160 v36"></path>

    <path class="edge" d="M360,68 V104 H560 v36"></path>

    <path class="edge" d="M560,188 v52"></path>

  </svg>

</body>

</html>



CODE EXPLANATION

This SVG code creates a Headless CMS Architecture diagram showing how different components interact. Let me break down what each part does:

SVG Structure and Styling

· ViewBox: 0 0 720 300 - Sets the coordinate system (720px wide, 300px tall)
· CSS Classes:
  · .box: White rectangles with dark borders and rounded corners (rx: 8)
  · .label: Centers text both horizontally and vertically
  · .edge: Dark lines for connections (2px thick)

The Four Components (Rectangles + Text)

1. Headless CMS (top center)
   · Position: x=280, y=20 (160×48px rectangle)
   · Label centered at x=360, y=44
2. Website (SSG) (bottom left)
   · Position: x=80, y=140
   · Label centered at x=160, y=164
   · SSG = Static Site Generator
3. Webhook Server (bottom middle)
   · Position: x=480, y=140
   · Label centered at x=560, y=164
4. Blogger API (bottom right)
   · Position: x=480, y=240
   · Label centered at x=560, y=264

The Connections (Path elements)

1. CMS → Website (left arrow)
   · M360,68 V104 H160 v36
   · Starts at CMS bottom (360,68)
   · Goes down, then left to Website
2. CMS → Webhook Server (right arrow)
   · M360,68 V104 H560 v36
   · Starts at CMS bottom
   · Goes down, then right to Webhook Server
3. Webhook Server → Blogger API (vertical arrow)
   · M560,188 v52
   · Straight line down from Webhook Server to Blogger API

Architecture Flow Explained

This diagram illustrates:

· Content flows from the Headless CMS to both:
  1. A Website built with Static Site Generation (SSG)
  2. A Webhook Server that triggers actions
· The Webhook Server then communicates with the Blogger API (likely to publish or sync content to Blogger)

The SVG is well-structured for accessibility with proper aria-label and role="img" attributes, making it screen-reader friendly.

Comments

Popular posts from this blog

Utk yg mo Bantu2 Keuangan saya
..monggo ke Bank Central Asia BCA 5520166779 a.n. Andreas Tparlaungan Manurung (Indonesia)


For those who would like to help support my finances
..please feel free to send it to Bank Central Asia (BCA) account number 5520166779 under the name Andreas Tparlaungan Manurung (Indonesia)

ANDREAS TOMMY PARLAUNGAN MANURUNG SHARED POOLING ACCOUNT MY ANDROID APKs PAGE please download here! REFRESH PAGE aka CHECK LATEST UPDATE! DOWNLOAD "SHOWING" POOL OF MY ANDROID-APK(s) aka APK CONTAINING LIST OF ALL MY ANDROID-APK(s) APP CLICK HERE FOR ALWAYS BEING UPDATED FOR MY LATEST APK! CONTOH HASIL "PROGRAM" App: Prompts' Guide aka TEMPLATE-HELPERs click here to download! Youtube and Instagram EMBEDded to Blogger/Blogspot.com SOURCE CODE Click this box to download 📥 TikTok EMBEDded to Blogger/Blogspot.com SOURCE CODE Input: BrowserLINK (mandatory) Click this box to download SHORTCUT-APPs note :  "precise" click to download R8: ronin1985.blogspot.com R2M: ronin-manu.blogspot.com Helping Download(ing) OnlineVIDEO! ...

[ERROR BUG]
ChatGPT+Gemini: TikTok → Blogger Embed Converter using Cloudflare/Online Server

🔄 Refresh Page ERROR BUG: The connection is blocked because it was initiated by a public page to connect to devices or servers on your local network. Planning: Revise Program CODE Code USING Javascript/Online Server Code NOT USING Javascript Sample Working Code aka Already Repaired! Temporary Solution is by Asking AI Assistant to do REPAIR CODE of (Not yet Repaired) Current Conversion Program Code-Output TikTok Archive – Embedded Preview TikTok Embed ▶ View this video on TikTok ⚠️ DISCLAIMER: INPUT URL LIMITATION This program is currently restricted to processing Full Browser URLs only. It does not support TikTok’s mobile "short-link" format (e.g., vt.tiktok.com ). Required Action: Users must open the video in a web browser and copy the expanded URL from the address bar before pasting it into this program. URL Conversion Example ❌ UNSUPPORTED: https://vt.tiktok.com/ZSaXoFyov/ ✅ REQ...

REPOST: Studying WATER PUMP by ROMAN ENGINEERING

*^ Ini yg Asli Gan! Mekanisme pada Concrete Pump: Kok ky Sistem Mekanik Romawi ya?! Tapi malah bisa HANYA pake PER aka bukan "MATA BOR look a like" Mekanisme Drill yg Cost Pembuatan bikin REPOT aka harus Tool SUPER Khusus Dari Material Besi yg digunakan terlihat langsung secara kasat mata Jauh Lebih Banyak drpd Per Biasa seperti yg ditunjukkan pd Video Alternatif dgn Penggunaan PER Video dr Instagram: Source: YouTube Rome's drainage machines #history #romanempire #engineering