Created
August 1, 2013 09:54
-
-
Save 130db/6130022 to your computer and use it in GitHub Desktop.
How to split Icecast config file in smaller chunks and include them as entities
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lets say you have a lots of predefined mountpoints. Move them to separate XML file mount-points.xml | |
At the beggining of icetcast.xml add | |
<!DOCTYPE icecast [ | |
<!ENTITY mounts SYSTEM "mount-points.xml"> | |
]> | |
and then add reference to mounts somewhere within your configuration file | |
&mounts; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment