Example feed with groups, Example feed with empty groups – Google Search Appliance Feeds Protocol Developers Guide User Manual
Page 23

Google Search Appliance: Feeds Protocol Developer’s Guide
23
Example Feed with Groups
The following code shows an example of a feed XML file with groups.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE gsafeed PUBLIC "-//Google//DTD GSA Feeds//EN" "">
<xmlgroups>
<membership>
<principal namespace="Default"
case-sensitivity-type="EVERYTHING_CASE_INSENSITIVE" scope="GROUP">
abc.com/group1
</principal>
<members>
<principal namespace="Default"
case-sensitivity-type="EVERYTHING_CASE_INSENSITIVE" scope="GROUP">
subgroup1
</principal>
<principal namespace="Default"
case-sensitivity-type="EVERYTHING_CASE_INSENSITIVE" scope="USER">
user1
</principal>
</members>
</membership>
<membership>
<principal namespace="Default"
case-sensitivity-type="EVERYTHING_CASE_INSENSITIVE" scope="GROUP">
subgroup1
</principal>
<members>
<principal namespace="Default"
case-sensitivity-type="EVERYTHING_CASE_INSENSITIVE" scope="USER">
example.com/user2
</principal>
</members>
</membership>
</xmlgroups>
Example Feed with Empty Groups
The following code shows an example of a feed XML file with empty groups.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE gsafeed PUBLIC "-//Google//DTD GSA Feeds//EN" "">
<xmlgroups>
</xmlgroups>