Anyways to feed multiple users in one xml on google apps?

12 views
Skip to first unread message

Tony

unread,
Aug 3, 2012, 4:15:28 PM8/3/12
to google-app...@googlegroups.com
I'm trying to do something like this where I can create one feed for multiple users.
 
<?xml version="1.0" encoding="UTF-8"?>
<atom:feed  xmlns:apps="http://schemas.google.com/apps/2006" xmlns:atom="http://www.w3.org/2005/Atom">
<atom:entry>
<atom:category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/apps/2006#user"/>
<apps:login userName="SusanJones" password="51eea05d46317fadd5cad6787a8f562be90b4446" hashFunctionName="SHA-1" suspended="false"/>  <apps:quota limit="2048"/><apps:name familyName="Jones1" givenName="Susan1"/>  
</atom:entry>
<atom:entry>
<atom:category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/apps/2006#user"/>
<apps:login userName="SusanJones-1321" password="51eea05d46317fadd5cad6787a8f562be90b4446" hashFunctionName="SHA-1" suspended="false"/> <apps:quota limit="2048"/> <apps:name familyName="Jones" givenName="Susan"/>
</atom:entry>
</atom:feed>
 
Also is this the best or shortest CURL command for posting?  curl  --header "Authorization: GoogleLogin auth=very long" --request POST --data-binary "@data.xml" --header "Content-Type: application/atom+xml"  "https://apps-apis.google.com/a/feeds/domain/user/2.0" -k
Reply all
Reply to author
Forward
0 new messages