How do I label different sections and individual pages?

You can create as many different labels as you like. They can go in one file or several, cover one site or thousands, cover one page or millions. There is a lot of flexibility.

The system makes a distinction between a "default label" and a "label." Having set up a default label for your site(s), you can then either create rules that define when the default should be overridden, or just include a link to a specific label that will be used instead of the default for a given page.

Rule-based defaults and overrides

The ICRA label generator allows you to define a default label and then set rules that will override this. These rules are based on the URLs of the labelled resources. These might be web pages, images or anything else.

For example, you might define "label 1" as saying "none of the above" in all categories of the ICRA vocabulary. This could be set as the default label for your site(s). You might then define a second label to declare that unmoderated user-generated content is present and a rule that any URL on your site(s) that included the term "messageboard" should be described by label 2, not label 1.

Furthermore - you can define a rule that says any page with a URL that includes either messageboard or chatroom is described by label 2 and so on.

If needs be, you can write much more complicated rules such as "if the URL includes the word 'nude' and ends with '.jpg' then use label 3".

The label generator does its best to make this process easy.

Ignoring rules, linking straight to labels

If you prefer you can override a default label by simply including a link to a different one.

For example. Imagine you had used the label generator to define two labels. Label 1 was the default that said "none of the above in all sections of the ICRA vocabulary" and another that said that there was artistic nudity present which you applied to all URLs containing the word "nude."

The link tag on all your pages would be similar to that shown below:

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

But, you included a nude image on a page that didn't have "nude" in the URL In this instance you should just add in a tag that says:

<link rel="meta" href="http://www.example.org/labels.rdf#label_2"...

Note the #label_2 at the end. Here, the link is to a specific label so the rules are ignored.

If you have set up a system to include the same tag in all your pages, don't worry. You can just add the second tag to the relevant page - it will take priority even if both tags are present.

Incidentally, the label generator won't allow you to define a label without defining a rule for where to apply it, but this is just to try and make the process transparent for all users.

If you want to include a label in your labels.rdf file without a rule so you can link to it directly (and you don't feel confident enough to edit the RDF/XML yourself!) use the ICRA label generator but set up a rule that can never be matched. The simplest one would be "any URL beginning with #" since this (and several others) can never be the first character in a valid URL.

Note: The PICS version of your label that accompanied your Link tag will contain the rules for different sections and should therefore be placed on all of your pages.

Related topics:

ICRA DeutschEspañolFrançaisItaliano
Home | Contact | Sitemap | Associate Members | Members