summaryrefslogtreecommitdiff
path: root/export_xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'export_xml.c')
-rw-r--r--export_xml.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/export_xml.c b/export_xml.c
index 212b463..1f851d0 100644
--- a/export_xml.c
+++ b/export_xml.c
@@ -79,6 +79,14 @@ int export_xml(struct channel_t *channel, struct user_t *users) {
xmlTextWriterWriteFormatString(writer, "%llu", user->monologs);
xmlTextWriterEndElement(writer);
+ xmlTextWriterStartElement(writer, (const xmlChar*)"seen_first");
+ xmlTextWriterWriteFormatString(writer, "%lu", user->seen_first);
+ xmlTextWriterEndElement(writer);
+
+ xmlTextWriterStartElement(writer, (const xmlChar*)"seen_last");
+ xmlTextWriterWriteFormatString(writer, "%lu", user->seen_last);
+ xmlTextWriterEndElement(writer);
+
/* Add lines for this user. */
xmlTextWriterStartElement(writer, (const xmlChar*)"lines");
for(int h = 0; h < 24; h++) {