Initial commit: WordPress News Import System
This commit is contained in:
commit
5f923d8ece
8 changed files with 948 additions and 0 deletions
50
posts.yaml
Normal file
50
posts.yaml
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# Beispiel-Konfiguration für WordPress-Beiträge
|
||||
# Diese YAML-Datei definiert Beiträge, die aus Markdown-Dateien erstellt werden sollen
|
||||
|
||||
posts:
|
||||
- title: "Einführung in die WordPress REST-API"
|
||||
markdown_url: "https://raw.githubusercontent.com/example/repo/main/docs/wordpress-api.md"
|
||||
status: "draft" # draft, publish, pending, private
|
||||
categories:
|
||||
- "Tutorials"
|
||||
- "WordPress"
|
||||
tags:
|
||||
- "REST-API"
|
||||
- "Entwicklung"
|
||||
featured_image: "images/wordpress-api-header.jpg"
|
||||
author: "admin"
|
||||
excerpt: "Ein umfassender Leitfaden zur Verwendung der WordPress REST-API"
|
||||
|
||||
- title: "Best Practices für WordPress-Plugins"
|
||||
markdown_url: "https://raw.githubusercontent.com/example/repo/main/docs/plugin-best-practices.md"
|
||||
status: "draft"
|
||||
categories:
|
||||
- "WordPress"
|
||||
- "Best Practices"
|
||||
tags:
|
||||
- "Plugins"
|
||||
- "Entwicklung"
|
||||
- "Sicherheit"
|
||||
|
||||
- title: "Lokale Markdown-Datei verwenden"
|
||||
markdown_file: "content/local-post.md" # Lokale Datei statt URL
|
||||
status: "publish"
|
||||
categories:
|
||||
- "News"
|
||||
tags:
|
||||
- "Update"
|
||||
featured_image: "images/news-header.png"
|
||||
|
||||
# Globale Einstellungen (optional)
|
||||
settings:
|
||||
default_status: "draft"
|
||||
default_author: "admin"
|
||||
# Wenn true, werden vorhandene Beiträge übersprungen
|
||||
skip_duplicates: true
|
||||
# Wenn true, werden vorhandene Medien übersprungen
|
||||
skip_duplicate_media: true
|
||||
# Markdown zu HTML Konvertierung
|
||||
markdown_extensions:
|
||||
- tables
|
||||
- fenced_code
|
||||
- footnotes
|
||||
Loading…
Add table
Add a link
Reference in a new issue