diff --git a/htroot/yacysearch.java b/htroot/yacysearch.java index e5d7ab202..6b8b2ab23 100644 --- a/htroot/yacysearch.java +++ b/htroot/yacysearch.java @@ -381,6 +381,7 @@ public class yacysearch { // adding some additional properties needed for the rss feed String hostName = (String) header.get("Host", "localhost"); if (hostName.indexOf(":") == -1) hostName += ":" + serverCore.getPortNr(env.getConfig("port", "8080")); + prop.put("searchBaseURL", "http://" + hostName + "/yacysearch.html"); prop.put("rssYacyImageURL", "http://" + hostName + "/env/grafics/yacy.gif"); } diff --git a/htroot/yacysearch.rss b/htroot/yacysearch.rss index c5b4960f8..1334a0336 100644 --- a/htroot/yacysearch.rss +++ b/htroot/yacysearch.rss @@ -2,19 +2,22 @@ + xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" + xmlns:atom="http://www.w3.org/2005/Atom"> YaCy P2P-Search for #[former]# Search for #[former]# + #[searchBaseURL]#?search=#[former]#&resource=#[input_resource]#&contentdom=#[input_contentdom]# #[rssYacyImageURL]# Search for #[former]# + #[searchBaseURL]#?search=#[former]#&resource=#[input_resource]#&contentdom=#[input_contentdom]# #[num-results_totalcount]# #[num-results_offset]# #[num-results_itemsPerPage]# -