From c183d66d408b50fb30749e9286ffc8945650967a Mon Sep 17 00:00:00 2001 From: reger Date: Mon, 31 Mar 2014 02:48:28 +0200 Subject: [PATCH 1/2] fix: blacklist xml export path to xml template --- htroot/BlacklistImpExp_p.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htroot/BlacklistImpExp_p.html b/htroot/BlacklistImpExp_p.html index 8a3d9e3a1..9c0d19357 100644 --- a/htroot/BlacklistImpExp_p.html +++ b/htroot/BlacklistImpExp_p.html @@ -65,7 +65,7 @@
Export blacklist items to... -
+
XML file: Here you can export a blacklist as an XML file. This file will contain additional From 92811d785046157ba390cffadb0477bbba4091c4 Mon Sep 17 00:00:00 2001 From: reger Date: Mon, 31 Mar 2014 02:58:43 +0200 Subject: [PATCH 2/2] fix: 3 more links pointing to old /xml path --- htroot/api/bookmarks/get_bookmarks.xml | 2 +- htroot/yacy/ui/yacyui-search.html | 2 +- htroot/yacy/ui/yacyuisearch.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/htroot/api/bookmarks/get_bookmarks.xml b/htroot/api/bookmarks/get_bookmarks.xml index 526529740..eed31fa95 100644 --- a/htroot/api/bookmarks/get_bookmarks.xml +++ b/htroot/api/bookmarks/get_bookmarks.xml @@ -37,7 +37,7 @@ <![CDATA[YaCy '#[peer]#': Bookmarks]]> - http://#[address]#/xml/bookmarks/get_bookmarks.xml + http://#[address]#/api/bookmarks/get_bookmarks.xml #{bookmarks}# diff --git a/htroot/yacy/ui/yacyui-search.html b/htroot/yacy/ui/yacyui-search.html index e233dd700..6c9e0f2b8 100644 --- a/htroot/yacy/ui/yacyui-search.html +++ b/htroot/yacy/ui/yacyui-search.html @@ -143,7 +143,7 @@ var query = "&url="+url+"&title="+title+"&description="+desc+"&tags="+tags+"&path="+path+"&public="+pub+"&add=create"; $.ajax({ type: "POST", - url: "/xml/bookmarks/posts/add_p.xml?login="+query, + url: "/api/bookmarks/posts/add_p.xml?login="+query, dataType: "xml", success: function(xml) { alert("Debug: posted bookmark for: "+url); diff --git a/htroot/yacy/ui/yacyuisearch.html b/htroot/yacy/ui/yacyuisearch.html index ca18ed000..b82e53b4f 100644 --- a/htroot/yacy/ui/yacyuisearch.html +++ b/htroot/yacy/ui/yacyuisearch.html @@ -121,7 +121,7 @@ var query = "&url="+url+"&title="+title+"&description="+desc+"&tags="+tags+"&path="+path+"&public="+pub+"&add=create"; $.ajax({ type: "POST", - url: "/xml/bookmarks/posts/add_p.xml?login="+query, + url: "/api/bookmarks/posts/add_p.xml?login="+query, dataType: "xml", success: function(xml) { alert("Debug: posted bookmark for: "+url);