Text field 

Defines how to specify a text field in an activity entry.

To specify a text field, the type attribute of the <snx:field> element must be set to text. For example:

<snx:field 
 ...
 type="text">
   ...
</snx:field>

An <snx:field> element of type="text" can contain the following child elements.

Table 1. Child elements of the <snx:field type="text"> element

Element How treated on input Description
<summary> Required The text contained in the field. The first 2 KB of text are stored in his element. If the description is larger than 2 KB, the remainder of the description is stored in an extended description file.
<link> Optional Specifies the URI from which the extended description file can be accessed. If the content of the text field is greater than 2 KB, the server stores the extended description as a file. This element specifies the URI of that file.

The <link> and <summary> elements are in the Atom namespace.


Example

<snx:field name="songtitle" fid="3EBG09219C7310DD5199A4DFF2D597000018" position="4000" type="text"> <summary type="text">In Rainbow</summary> </snx:field>


Parent topic

Activities field element


   

 

});

+

Search Tips   |   Advanced Search