A REDAXO addon for monitoring changes on websites and RSS feeds. DiffDetect automatically creates snapshots of specified URLs and helps editors track modifications in various web sources over time.
- URL Monitoring: Track changes on HTML web pages
- RSS Feed Monitoring: Monitor updates in RSS feeds with specialized diff view
- Automatic Snapshots: Create snapshots automatically via cronjob
- Visual Diff Display: Compare different versions with highlighted changes
- HTTP Authentication: Support for password-protected pages
- Console Command: Manual execution via command line
- Dashboard: Central overview of all monitored URLs with their status
- Flexible Intervals: Configure individual check intervals for each URL
- Categories: Organize URLs with tags/categories
- REDAXO >= 5.15.1
- PHP >= 8.2
- YForm Addon >= 3.2
- Cronjob Addon >= 2.10.0
- Install the addon via REDAXO backend under "AddOns"
- The addon will automatically install required dependencies
- Configure cronjobs for automatic monitoring (see Configuration section)
- Navigate to AddOns > Diff Detection
- Click on "URL hinzufügen" (Add URL)
- Configure the following settings:
- Name: A descriptive name for the URL
- URL: The full URL to monitor
- Type: Choose between HTML or RSS
- Interval: Check interval in minutes
- Categories: Optional tags for organization
- HTTP Authentication: Optional login credentials
- Go to the Dashboard to see all monitored URLs
- Click on a URL to see its snapshot history
- Select two snapshots to compare
- The diff view will highlight all changes between versions
You can manually trigger snapshot creation:
- Via Backend: Click "Snapshot abrufen" for a specific URL
- Via Console:
./redaxo/bin/console diff_detect:execute
The addon uses REDAXO's cronjob system for automatic monitoring:
- Go to AddOns > Cronjobs
- Create a new cronjob
- Select "DiffDetect: Snapshots erstellen und CleanUp durchführen"
- Configure the execution interval (recommended: every 5-15 minutes)
- Status: Active/Inactive - temporarily disable monitoring
- Interval: Minimum time between checks (in minutes)
- Type:
- HTML: For regular web pages
- RSS: For RSS/Atom feeds (uses specialized diff algorithm)
- HTTP Authentication: For password-protected pages
The addon creates two main tables:
rex_diff_detect_url
: Stores URL configurationsrex_diff_detect_index
: Stores snapshots and their content
- The cronjob checks for URLs that need updating based on their interval
- For each URL, it fetches the current content
- If changes are detected, a new snapshot is created
- Old snapshots are kept for comparison
- The diff algorithm highlights changes between versions
- HTML Pages: Line-by-line comparison with whitespace normalization
- RSS Feeds: Item-based comparison that tracks new, changed, and removed feed items
# Execute diff detection manually
./redaxo/bin/console diff_detect:execute
- Monitor legal pages for compliance updates
- Track competitor websites for changes
- Watch news portals for specific topics
- Monitor RSS feeds for new content
- Check fact-checker websites for updates
- Track documentation pages for changes
- GitHub: https://github.com/FriendsOfREDAXO/diff_detect
- Issues: Report bugs and feature requests on GitHub
- REDAXO Slack: Get help in the REDAXO community
This addon is licensed under the MIT License. See LICENSE file for details.
Developed by Friends Of REDAXO