Showing the site label to the
users
The nature of the site is determined by
the labels created by the content providers. The web masters can provide link,
picture or text to the users to see what type of webpage they are viewing. To do
so, provide a link to http://www.icra.org/sitelabel/ and
users need to type-in the website address to see the labels as shown
below:
Labelled with
ICRA
http://h1.ripway.com/bbmurali_2000
is labelled
· Nudity
may be, but is not known to be, present
· Sexual
material may be, but is not known to be, present
· Violence may be, but is not known to be, present
· Potentially offensive language may be, but is not known to be,
present
· Potentially harmful activities may be, but are not known to be,
depicted
· No
user-generated content
· This
material appears in a news context
The label declares that it was issued on 2008-6-25
What is PICS?
PICS stands for Platform for Internet
Content Selection. It is a World Wide Web Consortium (W3C) standard for content
labelling. Though PICS is essentially a language for creating a ratings system,
any value can be a PICS label as the ASP.NET engine does not validate the label.
The maximum length of the string is 255 characters.
PICS-Label is one of the HTTP headers
that identifies the page with its content type(not the format such as PDF, DOC
or XLS). The PICS Label tells you the type of content (sexual, adult, violent,
gambling or news) and you must incorporate it in each of the webpage in your
site.
Alternative to the tags specified in
the previous paragraph to link the labels to your website, you may use ASP.NET
Response object’s Pics method to append a HTTP PICS-Label header to the output
stream. It takes a single string parameter to specify the generated
label.
Sample Code
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD
XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
// When this page is loaded, the Pics
method sets the PICS-Label header for the response.
private void Page_Load(object sender,
EventArgs e)
{
Response.Pics( "(pics-1.1
<http://www.icra.org/ratingsv02.html> " + "comment <ICRAonline EN
v2.0> " +
"l r (nz 1 vz 1 lz 1 oz 1 cz 1)
" + "<http://www.rsac.org/ratingsv01.html> " + " l r (n 0 s 0 v 0 l
0))");
}
</script>
<html
xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>ASP.NET Pics
Example</title>
</head>
<body>
.............
.............
</body>
</html>
Summary
Many people who may like to make use of
those labels, such as parents, search engines and filter manufacturers have
assurance and motivation to check the websites using ICRA. ASP.NET allows us to
link labels to the site so easily and provide security to our children.
|