ai_content_cleanup
AI Content Cleanup is a Drupal content optimization and modernization module that automatically detects, cleans, and standardizes messy or outdated content across Drupal websites using AI-assisted processing and intelligent cleanup workflows.
The module helps organizations improve content quality, accessibility, consistency, and maintainability by automatically fixing broken HTML, removing unnecessary inline styles, normalizing heading structures, and modernizing legacy markup.
Designed for Drupal 10 and Drupal 11, the module provides automated cleanup operations, bulk processing tools, side-by-side content comparison, AI-powered recommendations, rollback support, and configurable cleanup rules directly within the Drupal admin interface.
Features
Broken HTML Repair
- Detect and repair malformed HTML
- Fix unclosed tags
- Normalize invalid markup structures
- Repair deprecated HTML patterns
Inline Style Removal
- Remove inline CSS styles
- Convert styles into reusable classes
- Reduce unnecessary markup bloat
- Improve frontend consistency
Heading Structure Standardization
- Normalize heading hierarchy
- Fix skipped heading levels
- Improve semantic structure
- Enhance accessibility and SEO
Accessibility Cleanup
- Detect accessibility issues
- Add missing alt text placeholders
- Improve semantic markup
- Remove empty or inaccessible elements
Legacy Markup Modernization
- Replace deprecated HTML tags
- Normalize outdated formatting
- Modernize legacy content structures
- Improve compatibility with modern themes
AI-Assisted Recommendations
- Intelligent cleanup suggestions
- Automated issue prioritization
- Context-aware recommendations
- Confidence scoring for cleanup operations
Bulk Cleanup Operations
- Bulk content cleanup workflows
- Batch processing support
- Content filtering and targeting
- Dry-run preview mode
Content Comparison Editor
- Side-by-side content comparison
- Preview before applying changes
- Visual diff view
- Selective cleanup approval
Templates & Cleanup Rules
- Create reusable cleanup templates
- Configure cleanup rules
- Content-type specific processing
- Advanced cleanup customization
History & Rollback
- Cleanup history tracking
- Rollback previous cleanup operations
- Operation audit logs
- Cleanup reporting dashboard
Use Cases
Drupal Migration Cleanup
Clean migrated legacy content after Drupal upgrades or platform migrations.
Accessibility Improvements
Improve semantic structure and accessibility compliance across content.
Content Standardization
Ensure consistent formatting and markup across editorial teams.
SEO Optimization
Improve semantic HTML structure and heading hierarchy for better SEO.
Legacy Content Modernization
Update outdated markup and formatting for modern Drupal themes and frontend architectures.
Benefits
- Improve content consistency
- Reduce manual cleanup effort
- Enhance accessibility compliance
- Improve frontend rendering quality
- Reduce markup bloat
- Modernize legacy content
- Simplify editorial workflows
- Improve maintainability