+ rti.name = Glib::path_get_basename (*i);
+ rti.path = *i;
+
+ if (read_xml) {
+ XMLTree tree;
+ if (!tree.read (file.c_str())) {
+ continue;
+ }
+
+ string created_with = "(unknown)";
+ XMLNode *pv = tree.root()->child("ProgramVersion");
+ if (pv != 0) {
+ pv->get_property (X_("created-with"), created_with);
+ }
+
+ string description = "No Description";
+ XMLNode *desc = tree.root()->child("description");
+ if (desc != 0) {
+ description = desc->attribute_value();
+ }
+
+ rti.created_with = created_with;
+ rti.description = description;