From: Adam Dickmeiss Date: Thu, 25 Aug 2011 18:52:59 +0000 (+0200) Subject: zoom: urlRecipe creates X-Git-Tag: v1.3.9~1 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=2fe982495d9b13a132a2c488622602f6a3c43e87;p=metaproxy-moved-to-github.git zoom: urlRecipe creates --- diff --git a/src/filter_zoom.cpp b/src/filter_zoom.cpp index 8447a92..f36b14a 100644 --- a/src/filter_zoom.cpp +++ b/src/filter_zoom.cpp @@ -1167,7 +1167,9 @@ Z_Records *yf::Zoom::Frontend::get_records(Odr_int start, while (ptr && ptr->type != XML_ELEMENT_NODE) ptr = ptr->next; xmlNode *c = - xmlNewChild(ptr, 0, BAD_CAST "generated-url", 0); + xmlNewChild(ptr, 0, BAD_CAST "metadata", 0); + xmlNewProp(c, BAD_CAST "type", BAD_CAST + "generated-url"); xmlNode * t = xmlNewText(BAD_CAST res.c_str()); xmlAddChild(c, t);