[Yanel-commits] rev 43875 -
public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search
michi at wyona.com
michi at wyona.com
Sun Jul 26 20:31:31 CEST 2009
Author: michi
Date: 2009-07-26 20:31:30 +0200 (Sun, 26 Jul 2009)
New Revision: 43875
Modified:
public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search/SearchResource.java
Log:
xml fixed
Modified: public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search/SearchResource.java
===================================================================
--- public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search/SearchResource.java 2009-07-26 18:23:50 UTC (rev 43874)
+++ public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search/SearchResource.java 2009-07-26 18:31:30 UTC (rev 43875)
@@ -34,7 +34,7 @@
org.wyona.yarep.core.Node[] nodes = getRealm().getRepository().search(query);
if (nodes != null && nodes.length > 0) {
//sb.append("<provider source-name=\"" + "Wyona-FOAF" + "\" source-domain=\"" + "http://foaf.wyona.org" + "\" numberOfResults=\"" + pNodes.length + "\">");
- sb.append("<y:results provider=\"google\"/>");
+ sb.append("<y:results provider=\"google\">");
for (int i = 0; i < nodes.length; i++) {
sb.append("<result repo-path=\""+nodes[i].getPath()+"\">");
sb.append("</result>");
More information about the Yanel-commits
mailing list