mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
added the API icon to the bookmarks, the network page and the search page
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5455 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
a1bf687b3b
commit
299189f1a9
|
@ -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) -->
|
||||
|
|
|
@ -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>
|
||||
|
|
10
htroot/env/base.css
vendored
10
htroot/env/base.css
vendored
|
@ -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;
|
||||
}
|
|
@ -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%#
|
||||
::
|
||||
|
|
Loading…
Reference in New Issue
Block a user