ASP PICSプロパティ


Response 对象参考手册完全な Response オブジェクトリファレンス

PICS プロパティは、応答ヘッダーの PICS タグに値を追加できます。

注意:このプロパティは、有効な PICS タグであるかどうかに関係なく、任意の文字列値を受け入れることができます。

PICS とは何ですか?

PICS(Platform for Internet Content Selection)格付けシステムは、Webサイト内のコンテンツを格付けするために使用されます。それは次のようになります:

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)

部分 説明
PICS-1.1 PICS バージョン番号
"http://www.rsac.org/ratingsv01.html" 格付け機関
by "your@name.com" タグの作者
for "http://www.somesite.com" 格付けされたドキュメントの URL
on "2002.10.05T02:15-0800" 有効期限
r (n 0 s 0 v 0 l 0) レベル

最も人気のある格付けシステムの一つは RSACi(Recreational Software Advisory Council on the Internet)です。RSACi は 4 つのタイプを使用します:violence(暴力)、nudity(裸体)、sex(性)、そして language(不適切な言葉)です。0 から 4 までの数字がこれら 4 つのタイプにそれぞれ割り当てられています。0 はページに不快なコンテンツが含まれていないことを示し、4 は潜在的に不快なコンテンツの最高レベルを示します。

レベル 暴力格付け 裸体格付け 性格付け 言語格付け
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

Webサイトの格付けを取得するには、2 つの方法があります。自分で Webサイトを格付けするか、RSACi などの格付けプロバイダーを利用することができます。彼らはあなたにいくつかの質問に答えるよう求めます。回答が完了すると、Webサイトに使用する格付けタグが得られます。

Microsoft IE 3.0 以降のバージョンと Netscape 4.5 以降のバージョンは、コンテンツの格付けをサポートしています。IE 5 では、ツールメニューのインターネットオプションを選択して格付けを設定できます。[コンテンツ] タブを選択し、[有効にする] をクリックします。レベルが定義されたレベルを超えると、コンテンツアドバイザーがこの Webサイトをブロックします。Netscape 4.7 では、Help と NetWatch を選択して格付けを設定できます。

Webサイトに格付けを追加するには、META タグまたは response.PICS プロパティを使用できます。

構文

response.PICS(picslabel)

パラメータ 説明
picslabel 正しい形式の PICS タグ。

例

ASP ファイルには次のコードが含まれています:

注意:PICS タグには引用符が含まれているため、引用符を " & 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))")
%>

追加されるヘッダー:

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 对象参考手册完全な Response オブジェクトリファレンス その他の拡張