afs:skin - AFS

AFS Integration Guide

Product
AFS
AFS_Version
7.9
Category
Reference Guide

Role

Serializes the output feed, in order to make it intelligible.

Status

Optional. Unset by default.

Set it to protobuf and query a document that output in a protobuf to enhance readability of the output feed.

Example

afs:skin=protobuf

If the protobuf is from an official AFS layer, even fields name will be available in addition of values. Example:

http_headers: "HTTP/1.1 304 Not Modified\r\nVary: Accept-Encoding\r\nContent-Type: text/html\r\nAccept-Ranges: bytes\r\nETag: \"2541763235\"\r\nLast-Modified: Wed, 28 Mar 2012 14:34:01 GMT\r\nDate: Mon, 23 Apr 2012 14:39:36 GMT\r\nServer: lighttpd/1.4.28\r\n\r\n"
last_modified: "Wed, 28 Mar 2012 14:34:01 GMT\r\nDate: Mon, 23 Apr 2012 14:39:36 GMT\r\nServer: lighttpd/1.4.28"
status: h304

If the protobuf is from a user layer, values are displayed and field names are replaced by numbers. Example:

1: "afs:lang"
2 {
1: "afs:lang"
3 {
1: 999
2: "fr"
}
4: 1
5: 0