Feature: Map authors as tags in Vorname_Nachname format
- Added format_author_as_tag() function to convert author names to tag format - Author names automatically added to tags with spaces replaced by underscores - Example: 'Jörg Lohrer' → 'Jörg_Lohrer' tag - Enables author filtering via WordPress tag taxonomy - Updated documentation to reflect new author handling approach - Version bump to 0.3.0
This commit is contained in:
parent
141b847e97
commit
85f58e2528
3 changed files with 72 additions and 3 deletions
31
CHANGELOG.md
31
CHANGELOG.md
|
|
@ -1,5 +1,36 @@
|
|||
# Changelog
|
||||
|
||||
## Version 0.3.0 (2025-10-01)
|
||||
|
||||
### Feature - Autor-zu-Tag-Mapping 🏷️
|
||||
|
||||
**Neues Feature:** Autoren werden automatisch als Tags hinzugefügt!
|
||||
|
||||
**Funktion:**
|
||||
- Autor aus Frontmatter wird extrahiert (`author`, `#staticSiteGenerator.author`, `#commonMetadata.creator`)
|
||||
- Autor-Name wird automatisch als Tag im Format `Vorname_Nachname` hinzugefügt
|
||||
- Leerzeichen werden durch Unterstriche ersetzt
|
||||
- Mehrfache Unterstriche werden konsolidiert
|
||||
|
||||
**Beispiel:**
|
||||
```yaml
|
||||
author: Jörg Lohrer
|
||||
tags:
|
||||
- OER
|
||||
- Community
|
||||
```
|
||||
|
||||
**Ergebnis:**
|
||||
- Tags in WordPress: `OER`, `Community`, `Jörg_Lohrer`
|
||||
- Filterung nach Autoren über WordPress-Tag-Taxonomie möglich
|
||||
|
||||
**Technische Details:**
|
||||
- Neue Funktion `format_author_as_tag()` in `markdown_parser.py`
|
||||
- Autor-Tag wird nur hinzugefügt, wenn Autor vorhanden und noch nicht in Tags
|
||||
- Integration in `extract_wordpress_metadata()` nach Autor-Extraktion
|
||||
|
||||
---
|
||||
|
||||
## Version 0.2.2 (2025-10-01)
|
||||
|
||||
### Bugfix - Kritisch! 🐛
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue