diff options
| -rw-r--r-- | htroot/Bookmarks.html | 2 | ||||
| -rw-r--r-- | htroot/WatchWebStructure_p.html | 2 | ||||
| -rw-r--r-- | htroot/js/Bookmarks.js | 2 | ||||
| -rw-r--r-- | htroot/js/IndexCreate.js | 2 | ||||
| -rw-r--r-- | htroot/js/WatchCrawler.js | 4 | ||||
| -rwxr-xr-x | htroot/rssTerminal.html | 2 | ||||
| -rw-r--r-- | htroot/yacy/ui/index.html | 2 | ||||
| -rw-r--r-- | htroot/yacy/ui/sidebar/sidebar_1.html | 6 | ||||
| -rw-r--r-- | htroot/yacy/ui/sidebar/sidebar_2.html | 4 | ||||
| -rw-r--r-- | htroot/yacy/ui/yacyui-bookmarks.html | 10 | ||||
| -rw-r--r-- | htroot/yacy/ui/yacyui-search.html | 2 | ||||
| -rw-r--r-- | htroot/yacy/ui/yacyui-welcome.html | 2 |
12 files changed, 20 insertions, 20 deletions
diff --git a/htroot/Bookmarks.html b/htroot/Bookmarks.html index 370038508..05f8d86af 100644 --- a/htroot/Bookmarks.html +++ b/htroot/Bookmarks.html @@ -254,7 +254,7 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de /
<a href="Bookmarks.html?delete=#[hash]#" class="bookmarkAction" onclick="return confirm('Confirm deletion')">Delete</a> / - <a href="/xml/util/getpageinfo_p.xml?url=#[link]#" class="bookmarkAction">Info</a>
+ <a href="/api/util/getpageinfo_p.xml?url=#[link]#" class="bookmarkAction">Info</a>
</p>
</div>
#{/bookmarks}#
diff --git a/htroot/WatchWebStructure_p.html b/htroot/WatchWebStructure_p.html index db308919f..b6b29260c 100644 --- a/htroot/WatchWebStructure_p.html +++ b/htroot/WatchWebStructure_p.html @@ -22,7 +22,7 @@ #%env/templates/header.template%# #%env/templates/submenuWebStructure.template%# -<div id="api"><a href="/xml/webstructure.xml"><img src="env/grafics/api.png"></a> +<div id="api"><a href="/api/webstructure.xml"><img src="env/grafics/api.png"></a> <span>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 <a href="http://www.yacy-websuche.de/wiki/index.php/Dev:API">API wiki page</a>.</span> 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 @@ <option value="/yacysearch.rss?resource=global&verify=true" selected="selected">freeworld</option> <option value="/yacysearch.rss?resource=local&verify=true" >local peer</option> <option value="ymarks" >bookmarks</option> - <option value="/xml/util/ynetSearch.xml?login=&url=http://sciencenet.fzk.de:8080/yacysearch.rss?resource=global&verify=true" >sciencenet</option> + <option value="/api/util/ynetSearch.xml?login=&url=http://sciencenet.fzk.de:8080/yacysearch.rss?resource=global&verify=true" >sciencenet</option> </select> <br /> <label for="resource">Language:</label> 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 <li>14-05-2008: YaCy-UI now support searching Sciencenet !!</li> <li>12-05-2008: added tagcloud for bookmarks</li> <li>12-05-2008: bookmarks support date and public fields as they have been added to XBEL output.</li> - <li>10-05-2008: bookmarks are now retrieved from /xml/bookmarks/xbel/xbel.xml and do no longer require a seperate servlet</li> + <li>10-05-2008: bookmarks are now retrieved from /api/bookmarks/xbel/xbel.xml and do no longer require a seperate servlet</li> <li>19-04-2008: new double-accordion sidebar menu is up and running (I am open for suggestions on how to populate the menus).</li> <li>19-04-2008: search results are now retrieved from yacysearch.rss (XML) and do no longer need a seperate servlet</li> </ul> |
