Relevant

 

ICRA Tools

How can I label content created using PHP?

If you are using PHP, you will need to modify the Link tag we sent you. Please follow the example of the script below. (It is quite straightforward: just an echo" statement and a backslash in front of " and then a final \n";)

Link Tag

echo "<link rel=\"meta\" href=\"http://www.example.org/labels.rdf\" type=\"application/rdf+xml\" title=\"ICRA labels\" />\n";

PICS Tag (to support legacy systems)

echo "<meta http-equiv=\"pics-Label\" content='(pics-1.1 \"https://icra.org/pics/vocabularyv03/\" l gen true for \"http://example.org\" r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 0) gen true for \"http://www.example.org\" r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 0))' />\n";

Please note: We welcome advice on using PHP and other Web technologies in order that we might share it with others. If you would like to submit information, please do so using the contact page.

Related topics: