w3schools    w3Schools
Search W3Schools :
   
HOME HTML CSS XML JAVASCRIPT ASP PHP SQL MORE...   References Examples Forum About
ADVERTISEMENTS

XML Certification
Download XML editor
Custom Programming
 
Table of contents
ASP Tutorial
ASP HOME
ASP Introduction
ASP Install
ASP Syntax
ASP Variables
ASP Procedures
ASP Forms
ASP Cookies
ASP Session
ASP Application
ASP #include
ASP Global.asa
ASP Send e-mail

ASP Objects
ASP Response
ASP Request
ASP Application
ASP Session
ASP Server
ASP Error

ASP FileSystem
ASP TextStream
ASP Drive
ASP File
ASP Folder
ASP Dictionary
ASP ADO

ASP Components
ASP AdRotator
ASP BrowserCap
ASP Content Linking
ASP Content Rotator

ASP Quick Ref
ASP Summary

Examples/Quiz
ASP Examples
ASP Quiz
ASP Exam

Selected Reading
Web Statistics
Web Glossary
Web Hosting
Web Quality

W3Schools Tutorials
W3Schools Forum

Helping W3Schools

 

ASP PICS Property


Response Object Reference Complete Response Object Reference

The PICS property appends a value to the PICS label response header.

Note: This property will accept any string value, regardless of whether it is a valid PICS label or not.

What is 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-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.

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.

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.

We can use the META tag or the response.PICS property to add a rating to our site.

Syntax

response.PICS(picslabel)

Parameter Description
picslabel A properly formatted PICS label

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


Response Object Reference Complete Response Object Reference


DreamTemplate



diploma   

Get Your Diploma!

W3Schools' Online Certification Program is the perfect solution for busy professionals who need to balance work, family, and career building.

The HTML Certificate is for developers who want to document their knowledge of HTML, XHTML, and CSS.

The JavaScript Certificate is for developers who want to document their knowledge of JavaScript and the HTML DOM.

The XML Certificate is for developers who want to document their knowledge of XML, XML DOM and XSLT.

The ASP Certificate is for developers who want to document their knowledge of ASP, SQL, and ADO.

The PHP Certificate is for developers who want to document their knowledge of PHP and SQL (MySQL).


 
WEB HOSTING
Web charting
Web based charting
for ASP.NET
$15 Domain Name
Registration
Save $20 / year!
Buy UK Domain Names
Register Domain Names
Cheap Domain Names
Cheap Web Hosting
Best Web Hosting
PHP MySQL Hosting
Top 10 Web Hosting
UK Reseller Hosting
Web Hosting
FREE Web Hosting
WEB BUILDING
Website Templates
Flash Templates
Website Builder
Internet Business Opportunity
Custom Programming
FREE Trial or Demo
Web Content Manager
Forms,Web Alerts,RSS
Download XML editor
FREE Flash Website
FREE Web Templates
EDUCATION
US Web Design Schools
HTML Certification
JavaScript Certification
XML Certification
PHP Certification
ASP Certification

Home HOME or Top of Page Validate   Validate   W3C-WAI level A conformance icon Printer Friendly  Printer Friendly

W3Schools is for training only. We do not warrant the correctness of its content. The risk from using it lies entirely with the user.
While using this site, you agree to have read and accepted our terms of use and privacy policy.
Copyright 1999-2009 by Refsnes Data. All Rights Reserved.