A WordPress plugin that displays a map of Icecast listeners on your website.
- WordPress 5.0 or higher
- PHP 7.4 or higher
- Composer (for development/installation)
- Clone or download this repository to your WordPress plugins directory
- Navigate to the plugin directory and run:
composer install - Activate the plugin through the WordPress admin interface
This plugin uses the following PHP libraries (automatically installed via Composer):
- symfony/dom-crawler: For XML parsing
- symfony/css-selector: Required by the DOM Crawler
- masterminds/html5: HTML5 parser used by the DOM Crawler
- Go to Settings > Icemap in your WordPress admin
- Enter your Icecast server details:
- Server URL
- Mount point
- Username
- Password
- Configure map settings:
- Google Maps API Key (if using Google Maps)
- Default latitude/longitude
- Map ID (for Google Maps styling)
Use the Icemap block in the WordPress block editor, or add the following shortcode to your posts or pages:
[icemap height="400px"]
If you encounter any issues with the plugin, check the following:
- Make sure you've run
composer installin the plugin directory - Verify your Icecast server credentials are correct
- Check your server's error logs for any PHP errors
This plugin is licensed under the GPL v2 or later.