Latest web development tutorials

ASP Pics property

Response Object Reference Complete Response Object Reference

PICS PICS tag attribute to respond to the additional value of the head.

Note: This property accepts any string value, regardless of whether it is legitimate PICS tags.

What is PICS?

PICS (Platform for Internet Content Selection) rating system used to classify content within a site. It looks like this:

PICS-1.1 "http://www.rsac.org/ratingsv01.html" by "[email protected]" for "http://www.somesite.com" on "2002.10.05T02: 15-0800" r ( n 0 s 0 v 0 l 0)

部分 描述
PICS-1.1 PICS 版本号
"http://www.rsac.org/ratingsv01.html" 分级机构
by "[email protected]" 标签的作者
for "http://www.somesite.com" 已被分级的文档的 URL
on "2002.10.05T02:15-0800" 失效日期
r (n 0 s 0 v 0 l 0) 等级

One of the most popular rating system is RSACi (Recreational Software Advisory Council on the Internet). RSACi uses four types: violence (violence), nudity (naked), sex (sex) and language (indecent remarks). Number from 0-4 respectively assigned to these four types. 0 indicate that the page does not contain any offensive content, 4 represents the highest level of potentially offensive content.

级别 暴力分级 裸体分级 性分级 言论分级
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 for your site to get ratings. You can own a website rating, rating or with a provider, such as RSACi. They will ask you to fill out some problems. After filling is complete, you will get to your site's classification label.

Microsoft IE and higher and higher versions and version 3.0 Netscape 4.5 support content ratings. You can set the rating in IE 5, select Internet Options from the Tools menu. Select the Content tab, and then click Enable. When the level exceeds the level defined by the consultancy will prevent this site. In Netscape 4.7, you can set the grade by selecting the Help and NetWatch.

We can use the META tag or response.PICS property added for a site grading.

grammar

response.PICS(picslabel)

参数 描述
picslabel 格式正确的 PICS 标签。

Examples

ASP file contains the following code:

Note: Because PICS labels contain quotes, you must replace the quotes "& chr (34) &" .

<%
response.PICS("(PICS-1.1 <http://www.rsac.org/ratingv01.html>
by " & chr(34) & "[email protected]" & 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 the head:

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


Response Object Reference Complete Response Object Reference