当前位置: 首页 > 网络学院 > 服务端脚本教程 > ASP > ASP PICS 属性

ASP
ASP 介绍
ASP Install
ASP 语法
ASP 变量
ASP Procedures
ASP Forms
ASP Cookies
ASP Session
ASP Application
ASP #include
ASP Global.asa
ASP Send e-mail
ASP Response
ASP Request
ASP Application
ASP Session
ASP Server
ASP Error
ASP FileSystem
ASP TextStream

ASP PICS 属性


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 342 ::
收藏到网摘: n/a

The PICS property appends a value to the PICS label response header.
PICS属性是向PICS标签中追加一个值。

Note: This property will accept any string value, regardless of whether it is a valid PICS label or not.
注意:这个属性将接受任何一个字符串的值,无论这个PICS标签是否有效。

What is PICS?
什么是PICS?

The PICS (Platform for Internet Content Selection) rating system is used to rate the content in a web site. It looks something like this:
PICS(Platform for Internet Content Selection,互联网内容选择平台)评估系统是用来评估网站的内容的。具体如下:

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)

Part Description
PICS-1.1 PICS version number
"http://www.rsac.org/ratingsv01.html" Rating organization
by "[email protected]" Author of the label
for "http://www.somesite.com" The URL or the document that has been rated
on "2002.10.05T02:15-0800" Expiration date
r (n 0 s 0 v 0 l 0) Rating

One of the most popular rating system is RSACi (Recreational Software Advisory Council on the Internet). RSACi rating system uses four categories: violence, nudity, sex, and language. A number between 0 to 4 is assigned to each category. 0 means that the page does not contain any potentially offensive content and 4 means that the page contains the highest levels of potentially offensive content.
其中,其中一个最著名的检测系统就是RSACi(Recreational Software Advisory Council on the Internet)。RSACi监测系统使用了四个检测标准:暴力、裸体、性、语言。它用“0-4”四个数字来给每个目录评级。“0”是指网页中不含有任何潜在的冒犯性的语言,“4”意味着网页中的内容含有高度冒犯性的潜在内容。

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
极度暴力粗鲁的语言以及充满极端憎恨的谩骂

There are two ways you can obtain rating for your site. You can either rate your site yourself or use a rating provider, like RSACi. They'll ask you fill out some questions. After filling out the questions, you will get the rating label for your site.
你可以通过两种方法获取你网站的评级。你可以自己通过上述的标准对自己的网站进行评级或者通过RSACi进行评级。首先,它会让你回答一些问题。在你回答完毕后,你将获得一个关于你的网站的一个评级标签。

Microsoft IE 3.0 and above and Netscape 4.5 and above support the content ratings. You can set the ratings in IE 5, by selecting Tools and Internet Options. Select the Content tab and click the Enable. When the rating exceeds the defined levels the Content Advisor will block the site. You can set the ratings in Netscape 4.7, by selecting Help and NetWatch.
微软 IE 3.0或更高版本以及Netscape 4.5或更高版本都支持上述内容评级。你可以通过选择工具或Internet选项设置IE 5的评级。选择内容标签,然后点击“Enable”。如果评级超过所限定的等级,则内容评估系统将屏蔽网站。你也可以通过选择“Help(帮助)”及“NetWatch”来设定Netscape 4.7的评级。

We can use the META tag or the response.PICS property to add a rating to our site.
我们可以使用META标签或者Response.PICS属性来添加网站评级

Syntax
语法

response.PICS(picslabel)

Parameter
参数
Description
描述
picslabel A properly formatted PICS label
用来规定PICS标签的

Examples
举例

For an ASP file that includes:

Note: Because PICS labels contain quotes, you
must replace quotes with " & 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))")
%>

the following header is added:

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))

评论 (0) All

登陆 | 还没注册?