ASP PICS attribute

response object reference manual

The PICS attribute can append values to the PICS tags in the response header.

Note:This attribute can accept any string value, whether it is a valid PICS tag or not.

What is PICS?

The PICS (Platform for Internet Content Selection) classification system is used to classify content within websites. It looks like this:

PICS-1.1 "http://www.rsac.org/ratingsv01.html" by "your@name.com" for
"http://www.somesite.com" on "2002.10.05T02:15-0800" r (n 0 s 0 v
0 l 0)
Part Description
PICS-1.1 PICS version number
"http://www.rsac.org/ratingsv01.html" Classification organization
by "your@name.com" Marked author
for "http://www.somesite.com" URL of the document that has been classified
on "2002.10.05T02:15-0800" Expiration date
r (n 0 s 0 v 0 l 0) Grade

One of the most popular classification systems is RSACi (Recreational Software Advisory Council on the Internet). RSACi uses four types: violence (violence), nudity (nudity), sex (sex) and language (profanity). Numbers from 0 to 4 are assigned to these four types. 0 indicates that the page does not contain any offensive content, and 4 indicates the highest level of potential offensive content.

Level Violence classification Nudity classification Sex classification Speech classification
0 None of the below or sports related None of the below None of the below or innocent kissing; romance None of the below
1 Injury to human being Revealing attire Passionate kissing Mild expletives
2 Destruction of realistic objects Partial nudity Clothed sexual touching Moderate expletives or profanity
3 Aggressive violence or death to humans Frontal nudity Non-explicit sexual acts Strong language or hate speech
4 Rape or wanton, gratuitous violence Frontal nudity (qualifying as provocative display) Explicit sexual acts or sex crimes Crude, vulgar language or extreme hate speech

You have two ways to get a rating for your website. You can rate your website yourself, or use a rating provider like RSACi. They will ask you to answer some questions. After completing the form, you will receive the rating tag for your website.

Microsoft IE 3.0 and higher versions and Netscape 4.5 and higher versions support content ratings. You can set ratings in IE 5 by selecting the Internet Options from the Tools menu. Select the Content tab, then click Enable. When the rating exceeds the defined level, the content advisor will block this website.

We can use the META tag or the response.PICS attribute to add ratings to a website.

Syntax

response.PICS(picslabel)
Parameters Description
picslabel A properly formatted PICS label

Example

ASP file contains the following code:

Note:Since the PICS tag contains quotes, you must replace the quotes with " & chr(34) & "

<% 
response.PICS("(PICS-1.1 <http://www.rsac.org/ratingv01.html>)
by " & chr(34) & "your@name.com" & chr(34) &
" for " & chr(34) & "http://www.somesite.com" & chr(34) &
" on " & chr(34) & "2002.10.05T02:15-0800" & chr(34) &
" r (n 2 s 0 v 1 l 2))") 
%>

Added header:

PICS-label:(PICS-1.1 <http://www.rsac.org/ratingv01.html>)
by "your@name.com"
for "http://www.somesite.com"
on "2002.10.05T02:15-0800"
r (n 2 s 0 v 1 l 2))

response object reference manual