feat/16/support-tags #18

Merged
blacklight merged 13 commits from feat/16/support-tags into main 2026-03-06 01:19:42 +01:00
Owner

Closes: #16

Closes: #16
The previous implementation was too coupled with Webmentions.

Instead, we need to be able to hook to filesystem modifications for any
purposes (tags processing, ActivityPub notifications etc.), and the
`BlogApp` should be as agnostic as possible about the consumer types,
and decoupled from their implementation logic.

- Added `ContentMonitor` to watch for file changes
- Integrated content monitoring with `WebmentionsHandler`
- Refactored `FileWebmentionsStorage` to handle content updates
- Updated app.py and uwsgi.py for new monitoring functionality
- Added tag storage and management in madblog/storage/tags.py
- Supports indexing of posts with tags and efficient retrieval
- Includes metadata, body, and mentions tag parsing
- Persisted tag index as JSON

Context: #16
- Implemented hashtag extraction and normalization
- Added `TagPreprocessor` for converting hashtags to links
- Created `MarkdownTags` extension for integration
- Initialize `TagIndex` in `BlogApp`
- Build tag index on start
- Register content change listener for tags
- Parse and pass metadata tags during content creation

Context: #16
Context: #16
docs(tags): Added examples of tags usage and declaration
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
ea324cc519
blacklight deleted branch feat/16/support-tags 2026-03-06 01:19:42 +01:00
Sign in to join this conversation.
No description provided.