projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31c9b04
)
zoom: urlRecipe creates <pz:metadata type="generated-url">
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 25 Aug 2011 18:52:59 +0000
(20:52 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 25 Aug 2011 18:52:59 +0000
(20:52 +0200)
src/filter_zoom.cpp
patch
|
blob
|
history
diff --git
a/src/filter_zoom.cpp
b/src/filter_zoom.cpp
index
8447a92
..
f36b14a
100644
(file)
--- 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);