From 2fe982495d9b13a132a2c488622602f6a3c43e87 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 25 Aug 2011 20:52:59 +0200 Subject: [PATCH] zoom: urlRecipe creates --- src/filter_zoom.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 1.7.10.4