Internet Content Rating Association
DeutschEspañolFrançaisItaliano
  Home | Contact | Sitemap |
Associate Members | Members  
   
Webmasters
Label your site
Label tester
ICRAchecked
System specification
Watermarks
Support
Parents
ICRAplus
Kids
Support
About ICRA
The Vocabulary
Press/info
Projects
Diary
Blog
Trust ICRA?
People
ICRA community
Members
Associate Members
Value Proposition
Affiliates
Hotlines
Links

How can I label multiple sites with the same label?

You can label as many sites as you wish with a single labels file if you:

  1. include the domain names of the sites to be labelled in the labels file
  2. include links from all your sites to the single labels file.

The labels file includes a section like this:

<label:Ruleset>
  <label:hasHostRestrictions>
    <label:Hosts>
      <label:hostRestriction>example.org
        </label:hostRestriction>...

This is written on a single line, but we're limited for space here!

Simply repeat the hostRestriction line as many times as you need to cover your domains:

<label:Ruleset>
  <label:hasHostRestrictions>
    <label:Hosts>
      <label:hostRestriction>example.org
        </label:hostRestriction>...
      <label:hostRestriction>example2.org
        </label:hostRestriction>...
      <label:hostRestriction>example3.org
        </label:hostRestriction>...
      <label:hostRestriction>example4.org
        </label:hostRestriction>...

If the URL of the labels file is http://www.example.org/labels.rdf you can include the following tag in all your sites:

<link rel="meta" href="http://www.example.org/labels.rdf" type="application/rdf+xml" title="ICRA labels" />

Perhaps you already share a stylesheet between different sites? The same thinking applies here.

If you have hundreds of sites

Some production companies run hundreds of sites with an ever-changing list of domains. The hostRestrictions can be held in a separate file if required. Edit the main labels.rdf file so that the hostRestriction entry is analogous to the example below:

<label:Ruleset>
  <label:hasHostRestrictions 
    rdf:resource="http://www.example.com/hosts.rdf/#hosts" />

http://www.example.org/hosts.rdf may then be the front end of a dynamic system that returns a list of host restrictions thus:

<label:Hosts rdf:ID="hosts">
  <label:hostRestriction>
    example.org</label:hostRestriction>
  <label:hostRestriction>
    example2.org</label:hostRestriction>
  <label:hostRestriction>
    example3.org</label:hostRestriction>
  <label:hostRestriction>
    example4.org</label:hostRestriction>
  ...
  </label:Hosts>

Note: For instructions on how to manually add further domain names to the PICS version of your ICRA label (which was delivered along with your Link tag), please see the PICS support section.

Related topics:


 Powered by    
Powered by Kingston Communications ICRA