The data that is visualized here can also be retrieved in a XML file. The XM L contains a back-reference of domains. That means you can see the set of domains that all link to the same (other) domain, which could be called a 'reverse domain index'.
Click the API icon to see the XML file.
To see a list of all APIs, please visit the API wiki page.
diff --git a/htroot/js/Bookmarks.js b/htroot/js/Bookmarks.js
index 04656bcba..dd46ed8c7 100644
--- a/htroot/js/Bookmarks.js
+++ b/htroot/js/Bookmarks.js
@@ -24,7 +24,7 @@ function loadTitle(){
url=document.getElementsByName("url")[0].value;
if(document.getElementsByName("title")[0].value==""){
- sndReq('/xml/util/getpageinfo_p.xml?actions=title&url='+url);
+ sndReq('/api/util/getpageinfo_p.xml?actions=title&url='+url);
}
}
diff --git a/htroot/js/IndexCreate.js b/htroot/js/IndexCreate.js
index 45229fd41..7c2d1b97f 100644
--- a/htroot/js/IndexCreate.js
+++ b/htroot/js/IndexCreate.js
@@ -64,5 +64,5 @@ function loadInfos(){
document.getElementsByName("ajax")[0].setAttribute("src",AJAX_ON);
url=document.getElementsByName("crawlingURL")[0].value;
- sndReq('/xml/util/getpageinfo_p.xml?actions=title,robots&url='+url);
+ sndReq('/api/util/getpageinfo_p.xml?actions=title,robots&url='+url);
}
diff --git a/htroot/js/WatchCrawler.js b/htroot/js/WatchCrawler.js
index b5659b0ab..f4633a9af 100644
--- a/htroot/js/WatchCrawler.js
+++ b/htroot/js/WatchCrawler.js
@@ -51,13 +51,13 @@ function refresh(){
function requestStatus(){
statusRPC=createRequestObject();
- statusRPC.open('get', '/xml/status_p.xml?html=');
+ statusRPC.open('get', '/api/status_p.xml?html=');
statusRPC.onreadystatechange = handleStatus;
statusRPC.send(null);
}
function requestQueues(){
queuesRPC=createRequestObject();
- queuesRPC.open('get', '/xml/queues_p.xml?html=');
+ queuesRPC.open('get', '/api/queues_p.xml?html=');
queuesRPC.onreadystatechange = handleQueues;
queuesRPC.send(null);
diff --git a/htroot/rssTerminal.html b/htroot/rssTerminal.html
index 22e785b9e..5c534d7c2 100755
--- a/htroot/rssTerminal.html
+++ b/htroot/rssTerminal.html
@@ -122,7 +122,7 @@ function idlepingExec() {
}
function load() {
- getRSS("/xml/feed.rss?count=80&set=" + set + "&requestCount=" + requestCount + "&time=" + (new Date()).getTime());
+ getRSS("/api/feed.rss?count=80&set=" + set + "&requestCount=" + requestCount + "&time=" + (new Date()).getTime());
requestCount++;
}
diff --git a/htroot/yacy/ui/index.html b/htroot/yacy/ui/index.html
index 1618b633f..8679d1c04 100644
--- a/htroot/yacy/ui/index.html
+++ b/htroot/yacy/ui/index.html
@@ -140,7 +140,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",
+ url: "/api/bookmarks/posts/add_p.xml",
data: "login=&url="+url+"&title="+title+"&description="+desc+"&tags="+tags+"&path="+path+"&public="+pub+"&add=create",
dataType: "xml",
success: function(xml) {
diff --git a/htroot/yacy/ui/sidebar/sidebar_1.html b/htroot/yacy/ui/sidebar/sidebar_1.html
index 8c6d5bdb5..a409eddb7 100644
--- a/htroot/yacy/ui/sidebar/sidebar_1.html
+++ b/htroot/yacy/ui/sidebar/sidebar_1.html
@@ -12,11 +12,11 @@
/* Menu .click(function() */
$("#login").click(function() {
$.ajax({
- url: "/xml/bookmarks/xbel/xbel.xml?login=true",
+ url: "/api/bookmarks/xbel/xbel.xml?login=true",
method : "GET",
dataType: "xml",
success: function(xml) {
- // ToDo: /xml/util/login.xml
+ // ToDo: /api/util/login.xml
// alert("Login");
}
});
@@ -73,7 +73,7 @@
-
+
diff --git a/htroot/yacy/ui/sidebar/sidebar_2.html b/htroot/yacy/ui/sidebar/sidebar_2.html
index 297d97e15..e9fb5c4e1 100644
--- a/htroot/yacy/ui/sidebar/sidebar_2.html
+++ b/htroot/yacy/ui/sidebar/sidebar_2.html
@@ -24,7 +24,7 @@
});
function loadFolders() {
$("#yfolder *").remove();
- $("#yfolder").getTransform('xsl/xbel2folder-ul.xsl','/xml/bookmarks/xbel/xbel.xml');
+ $("#yfolder").getTransform('xsl/xbel2folder-ul.xsl','/api/bookmarks/xbel/xbel.xml');
$("#yfolder").treeview({
collapsed: true,
unique: true
@@ -35,7 +35,7 @@
$("#sidebar-2-1").toggleClass("loading");
$.ajax({
type: "POST",
- url: "/xml/bookmarks/tags/get.xml?top=25&sort=alpha",
+ url: "/api/bookmarks/tags/getTag.xml?top=25&sort=alpha",
dataType: "xml",
cache: false,
success: function(xml) {
diff --git a/htroot/yacy/ui/yacyui-bookmarks.html b/htroot/yacy/ui/yacyui-bookmarks.html
index 5c16cb5ba..666dc7b57 100644
--- a/htroot/yacy/ui/yacyui-bookmarks.html
+++ b/htroot/yacy/ui/yacyui-bookmarks.html
@@ -7,7 +7,7 @@
var height=document.documentElement.clientHeight - 240;
$('#ymarks').flexigrid({
- url: '/xml/bookmarks/get_bookmarks.json?display=1',
+ url: '/api/bookmarks/get_bookmarks.json?display=1',
dataType: 'json',
method: 'GET',
colModel: [
@@ -51,18 +51,18 @@
});
function bm_action(com,grid) {
if (com=='XBEL') {
- window.document.location.href = '/xml/bookmarks/xbel/xbel.xml';
+ window.document.location.href = '/api/bookmarks/xbel/xbel.xml';
}
else if (com=='RSS') {
window.document.location.href = '/Bookmarks.rss';
}
else if (com=='XML') {
- window.document.location.href = '/xml/bookmarks/posts/all.xml';
+ window.document.location.href = '/api/bookmarks/posts/all.xml';
}
else if (com=='Delete') {
confirm('Delete ' + $('.trSelected',grid).length + ' bookmark(s)?')
$('.trSelected',grid).each(function(){
- var url = "/xml/bookmarks/posts/delete_p.xml?login=&urlhash="+$(this).find('td :first').text();
+ var url = "/api/bookmarks/posts/delete_p.xml?login=&urlhash="+$(this).find('td :first').text();
$.ajax({
type: 'POST',
url: url,
@@ -79,7 +79,7 @@
var url = $("input[@name='bm_url']").getValue();
$.ajax({
type: "GET",
- url: "/xml/util/getpageinfo_p.xml?url="+url,
+ url: "/api/util/getpageinfo_p.xml?url="+url,
dataType: "xml",
success: function(xml) {
var title = $(xml).find('title').text();
diff --git a/htroot/yacy/ui/yacyui-search.html b/htroot/yacy/ui/yacyui-search.html
index 9d84286e2..28150a620 100644
--- a/htroot/yacy/ui/yacyui-search.html
+++ b/htroot/yacy/ui/yacyui-search.html
@@ -85,7 +85,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/yacyui-welcome.html b/htroot/yacy/ui/yacyui-welcome.html
index 9377ba3da..94850d3fc 100644
--- a/htroot/yacy/ui/yacyui-welcome.html
+++ b/htroot/yacy/ui/yacyui-welcome.html
@@ -28,7 +28,7 @@ apfelmaennchen
14-05-2008: YaCy-UI now support searching Sciencenet !!
12-05-2008: added tagcloud for bookmarks
12-05-2008: bookmarks support date and public fields as they have been added to XBEL output.
-
10-05-2008: bookmarks are now retrieved from /xml/bookmarks/xbel/xbel.xml and do no longer require a seperate servlet
+
10-05-2008: bookmarks are now retrieved from /api/bookmarks/xbel/xbel.xml and do no longer require a seperate servlet
19-04-2008: new double-accordion sidebar menu is up and running (I am open for suggestions on how to populate the menus).
19-04-2008: search results are now retrieved from yacysearch.rss (XML) and do no longer need a seperate servlet