Website with one age rating
If your website contains only one age rating for all pages, you are done labeling your website within a couple of minutes. You can use our label generator (see: "Tools") or just copy and change the code below to make an age.xml file.
We recommend using our label generator because it’s easier. This prevents mistakes and you get a MIRACLE file together with the age.xml.
Be sure to use only text editors (NO Microsoft Word!) and save as UTF-8. Then use an ftp software such as Filezilla to transfer the age.xml file to the root of your webserver where, e.g., robots.txt or googlesitemap is already located.
Example of a short age.xml
In this example the website example.com including www.example.com and all other subdomains is not suitable for minors under 18 years.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- age classification (age-label.com) -->
<age-declaration>
<ageblock-basic>
<age-issuer>your company or name</age-issuer>
<last-change>2015-03-01</last-change>
<label-version>2.0</label-version>
<revisit-after>1days</revisit-after>
</ageblock-basic>
<ageblock-country>
<country class="age.xml">
<country-code>all</country-code>
</country>
<country-default>age.xml</country-default>
</ageblock-country>
<ageblock-labeltype>
<httpheader>false</httpheader>
<htmlmeta>false</htmlmeta>
<phraselabel>false</phraselabel>
<agesubmit>false</agesubmit>
<label-z>false</label-z>
<xmlfile>true</xmlfile>
<default-age>18</default-age>
</ageblock-labeltype>
<ageblock-labeltype-definition>
<labeltype-xmlfile>
<label class="website">
<scope>*.example.com/*</scope>
<age>18</age>
</label>
</labeltype-xmlfile>
</ageblock-labeltype-definition>
</age-declaration>
You must at least change to your data:
- <age-issuer>your company or name</age-issuer>
- <last-change>2015-03-01</last-change>
- <default-age>18</default-age>
- <scope>*.example.com/*</scope>
- <age>18</age>