Gibt es ein Standardformat für die Site-Struktur?

Gibt es ein Standardformat für die Site-Struktur? Dies kann zum Exportieren und Importieren in ein CMS oder Framework verwendet werden, um die URLs, Inhalte und Metadaten für eine Website zu definieren. Etwas Werkzeugunabhängiges wäre das Ziel.

JSON, YAML, XML, was auch immer. Vielleicht so etwas wie:

{
  'baseurl': 'http://example.com',
  'site': [
    {'slug': '/', 'title': 'ExampleCo. Inc.', 'content': 'Lorem ipsum\n\nEtc'},
    {'slug': '/about', 'title': 'About Our Company', 'content': 'Lorem ipsum\n\nEtc'},
    {'slug': '/services', 'title': 'Our Services', 'content': 'Lorem ipsum\n\nEtc'},
    {'slug': '/products', 'title': 'Products', 'content': 'Lorem ipsum\n\nEtc'},
    {'slug': '/products/purchase', 'title': 'Purchase Products Now', 'content': 'Lorem ipsum\n\nEtc', 'content': 'Lorem ipsum\n\nEtc'},
    {'slug': '/products/downloads', 'title': 'Downloads', 'content': 'Lorem ipsum\n\nEtc'},
    {'slug': '/contact', 'title': 'Contact Us', 'content': 'Lorem ipsum\n\nEtc'}
   ]
}

Meiner Meinung nach können Sie damit schnell ein Content-Management-System oder ein Framework mit einer generischen Site-Navigationsstruktur füllen.

Gibt es so etwas?

Antworten auf die Frage(4)

Ihre Antwort auf die Frage