From d10d8af29517bff31669f983eeb6ab4f490040d4 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Mon, 26 Jan 2009 21:31:21 +0000 Subject: adding XML sniplet generation (start of) --- .../Modules/Avatar/Concierge/ConciergeModule.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs index 38aaf72..74d1f82 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs @@ -358,6 +358,22 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Concierge attendees = _sceneAttendees[scene]; } + // create XML sniplet + StringBuilder list = new StringBuilder(); + if (0 == attendees.Count) + { + list.Append("", + scene.RegionInfo.RegionName, scene.RegionInfo.RegionID, + System.DateTime.UtcNow); + } + else + { + list.Append("", + attendees.Count, scene.RegionInfo.RegionName, scene.RegionInfo.RegionID, + System.DateTime.UtcNow); + + } + // post via REST to broker } -- cgit v1.1