ASP PICS Property
Complete Response object reference manual
The PICS property appends a value to the PICS tag in the response header.
**Note:** This property accepts any string value, whether or not it is a valid PICS tag.
What is PICS?
PICS (Platform for Internet Content Selection) is a rating system used to rate content on websites. It looks something 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)
| Section | Description |
|---|---|
| PICS-1.1 | PICS version number |
| "http://www.rsac.org/ratingsv01.html" | Rating agency |
| by "your@name.com" | Author of the tag |
| for "http://www.somesite.com" | URL of the rated document |
| on "2002.10.05T02:15-0800" | Expiration date |
| r (n 0 s 0 v 0 l 0) | Rating |
One of the most popular rating systems is RSACi (Recreational Software Advisory Council on the Internet). RSACi uses four categories: violence, nudity, sex, and language. Numbers from 0 to 4 are assigned to each of these categories. 0 means the page contains no offensive content, while 4 represents the highest level of potentially offensive content.
| Level | Violence rating | Nudity rating | Sex rating | Language rating |
|---|---|---|---|---|
| 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 obtain a rating for your website. You can rate your site yourself, or use a rating provider such as RSACi. They will ask you to fill out a questionnaire. Once completed, you will receive a rating tag for your website.
Microsoft IE 3.0 and later and Netscape 4.5 and later support content rating. You can set ratings in IE 5 by selecting Internet Options from the Tools menu. Select the Content tab, then click Enable. Content Advisor will block the site when the rating exceeds the defined level. In Netscape 4.7, you can set ratings by choosing Help and NetWatch.
We can add a rating to a website using a META tag or the response.PICS property.
Syntax
response.PICS(picslabel)
| Parameters | Description |
|---|---|
| picslabel | A properly formatted PICS tag. |
Example
The ASP file contains the following code:
**Note:** Because the PICS tag contains quotation marks, 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))")
%>
Header added:
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))
Complete Response object reference manual