summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--htroot/Bookmarks.html11
-rw-r--r--htroot/Network.html11
-rw-r--r--htroot/env/base.css10
-rw-r--r--htroot/yacysearch.html11
4 files changed, 39 insertions, 4 deletions
diff --git a/htroot/Bookmarks.html b/htroot/Bookmarks.html
index a03f87b2f..370038508 100644
--- a/htroot/Bookmarks.html
+++ b/htroot/Bookmarks.html
@@ -11,6 +11,17 @@
onload="treeMenu_init(document.getElementById('folder'), window.name)"
onunload="window.name = treeMenu_store(document.getElementById('folder'))"
>
+
+<div id="api">
+<script type="text/javascript">
+document.write("\<a href=\"Bookmarks.rss?" + window.location.search.substring(1) + "\"\>")
+</script>
+<img src="env/grafics/api.png"></a>
+<span>The bookmarks list can also be retrieved as RSS feed. This can also be done when you select a specific tag.
+Click the API icon to load the RSS from the current selection.
+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>
+</div>
+
#%env/templates/header.template%#
#(mode)#
<!-- SubMenu (mode=0) -->
diff --git a/htroot/Network.html b/htroot/Network.html
index 9d19518b2..2de247df1 100644
--- a/htroot/Network.html
+++ b/htroot/Network.html
@@ -10,6 +10,17 @@
</style>
</head>
<body id="Network">
+
+<div id="api">
+<script type="text/javascript">
+document.write("\<a href=\"Network.xml?" + window.location.search.substring(1) + "\"\>")
+</script>
+<img src="env/grafics/api.png"></a>
+<span>The information that is presented on this page can also be retrieved as XML
+Click the API icon to see the XML.
+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>
+</div>
+
#%env/templates/header.template%#
<div class="SubMenu">
<h3>YaCy Network</h3>
diff --git a/htroot/env/base.css b/htroot/env/base.css
index 34b37a525..76f0208dc 100644
--- a/htroot/env/base.css
+++ b/htroot/env/base.css
@@ -831,8 +831,9 @@ ul.folder li.treeMenu_closed ul {
/* API */
div#api {
position:fixed;
- top:30px;
- right:30px;
+ top:20px;
+ right:20px;
+ z-index: 100;
}
div#api span {
@@ -843,12 +844,13 @@ div#api:hover span {
display: block;
position: absolute;
font-size:1em;
- top: 100px;
+ top: 90px;
left: 0;
width: 90px;
- padding: 5px;
+ padding: 3px;
color: #000000;
background: #DDDDDD;
text-align: center;
border: 1px dashed black;
+ z-index: 100;
} \ No newline at end of file
diff --git a/htroot/yacysearch.html b/htroot/yacysearch.html
index 34c06a74e..cd3dadae7 100644
--- a/htroot/yacysearch.html
+++ b/htroot/yacysearch.html
@@ -14,6 +14,17 @@
</head>
<body id="yacysearch">
+<div id="api">
+<script type="text/javascript">
+document.write("\<a href=\"yacysearch.rss?" + window.location.search.substring(1) + "\"\>")
+</script>
+<img src="env/grafics/api.png"></a>
+<span>This search result can also be retrieved as RSS/<a href="http://www.opensearch.org">opensearch</a> output.
+The query format is similar to <a href="http://www.loc.gov/standards/sru/">SRU</a>.
+Click the API icon to see an example call to the search rss API.
+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>
+</div>
+
#(display)#
#%env/templates/simpleheader.template%#
::