fix for rss/xml output for image search from AndreasB

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6523 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 15 years ago
parent b527d2ebfa
commit 2126dffea2

@ -177,6 +177,7 @@ public class yacysearchitem {
prop.put("content_item_attr", (ms.attr.equals("-1 x -1")) ? "" : "(" + ms.attr + ")"); // attributes, here: original size of image
prop.put("content_item_urlhash", ms.source.hash());
prop.put("content_item_source", ms.source.toNormalform(true, false));
prop.putXML("content_item_source-xml", ms.source.toNormalform(true, false));
prop.put("content_item_sourcedom", ms.source.getHost());
prop.put("content_item_nl", (item == 0) ? 0 : 1);
prop.put("content_item", 1);

@ -12,7 +12,7 @@
</item>::
#(item)#::<item>
<title>#[name]#</title>
<link>#[source]#</link>
<link>#[source-xml]#</link>
<description></description>
<pubDate></pubDate>
<guid isPermaLink="false">#[urlhash]#</guid>

Loading…
Cancel
Save