Profile feed 

The Profile feed contains information about a single user's profile.

All elements are in the http://www.w3.org/2005/Atom namespace, except those that are prefixed as follows:

snx

The feed contains the standard atom elements, including <updated> and <link rel=self> tags that you can use. The following tables define unique elements in the feed.

Table 1. Child elements of the <feed> element

Element Description
<link rel="http://www.ibm.com/xmlns/prod/sn/tag-cloud"> Use the value of the href attribute of this element to obtain the Profiles tags category document which lists the tags assigned to this user. See Work with profile extensions for information about how to obtain and update extension values.
<link rel="http://www.ibm.com/xmlns/prod/sn/ext-attr"> Represents a single profile custom extension. See Table 2 for information about the attributes of this element.
<entry> Contains the profile entry for the user. See Profile entry content for information about the profile entry. See Work with profiles for information about how to update the information in a profile entry.

Table 2. The <link rel="http://www.ibm.com/xmlns/prod/sn/ext-attr"> element

Attribute Description
snx:extensionId Specifies the ID of the extension. Use this attribute to identify which link element represents the custom extension that you want to obtain or update.
type Represents the content of the extension. The optional values are as follows:
text/plain

    A simple text expression.

text/xml

    Multiple values defined by an XML schema.

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
   <id>tag:profiles.ibm.com,2006:feed</id>
   <generator 
   version="2.0" 
   uri="http://www.ibm.com/xmlns/prod/sn">IBM Connections - Profiles</generator>
   <title type="text">profile for the user Jane Doe</title>
   <author>
      <name>IBM Connections - Profiles</name>
   </author>
   <updated>2008-05-27T20:54:38.267Z</updated>
   <link 
   href="http://profiles.enterprise.example.com/profiles/atom/profileTags.do?
    targetKey=c007e7e2-9322-4021-9426-136b0411796f&amp;lastMod=1211914524313" 
    rel="http://www.ibm.com/xmlns/prod/sn/tag-cloud" 
   type="application/atomcat+xml">
   </link>
   <link 
   href="http://profiles.enterprise.example.com/profiles/atom/profileExtension.do?
    key=c007e7e2-9322-4021-9426-136b0411796f&amp;extensionId=
   property1&amp;lastMod=1211914524313"
   rel="http://www.ibm.com/xmlns/prod/sn/ext-attr" 
   type="text/plain" 
   xmlns:snx="http://www.ibm.com/xmlns/prod/sn" 
   snx:extensionId="property1">
     <link 
     href="http://profiles.enterprise.example.com:9080/profiles/atom/profile.do?
     email=jdoe%40example.com&amp;format=full" 
     rel="self" 
     type="application/atom+xml">
   </link>
   <entry>
      <!-- entry content omitted from example -->
   </entry>
</feed>


Parent topic

Profiles API


   

 

});

+

Search Tips   |   Advanced Search