You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yacy_search_server/htroot/YMarks.html

228 lines
10 KiB

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>YaCy Bookmarks</title>
#%env/templates/metas.template%#
<link media="screen" type="text/css" href="/jquery/flexigrid/css/flexigrid.pack.css" rel="stylesheet" />
<script src="/jquery/flexigrid/js/flexigrid.pack.js" type="text/javascript"></script>
<link media="screen" type="text/css" href="/jquery/css/jquery.multiselect.css" rel="stylesheet" />
<script src="/jquery/js/jquery.multiselect.min.js" type="text/javascript"></script>
<link media="screen" type="text/css" href="/jquery/css/jquery.multiselect.filter.css" rel="stylesheet" />
<script src="/jquery/js/jquery.multiselect.filter.min.js" type="text/javascript"></script>
<link media="screen" type="text/css" href="/yacy/ui/css/jquery.treeview.css" rel="stylesheet" />
<script src="/yacy/ui/js/jquery.treeview.min.js" type="text/javascript"></script>
<script src="/yacy/ui/js/jquery.treeview.async.js" type="text/javascript"></script>
<link media="screen" type="text/css" href="/env/yacy-ymarks.css" rel="stylesheet" />
<script src="/js/yacy-ymarks.js" type="text/javascript"></script>
<script src="/js/yacy-ymarks-bookmark-actions.js" type="text/javascript"></script>
<script src="/js/yacy-ymarks-tag-actions.js" type="text/javascript"></script>
</head>
<body id="ymarks_body">
<div id="api">
<a href="/api/table_p.xml?table=admin_bookmarks&count=100&search=" id="apilink"><img src="/env/grafics/api.png" width="60" height="40" alt="API"/></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>Bookmarks</h3>
<!--
<ul class="SubMenu">
#(login)#<li><a href="YMarks.html" class="MenuItemLink">Login</a></li>::#(/login)#
<li><a href="/api/ymarks/test_treeview.html" class="MenuItemLink lock">TreeView</a></li>
<li><a href="/api/ymarks/test_import.html" class="MenuItemLink lock">Import Bookmarks</a></li>
<li><a href="/api/ymarks/get_xbel.xml" class="MenuItemLink lock">Bookmarks (XBEL)</a></li>
</ul>
<p/>
-->
</div>
<div id="ymarks_sidebar" class="sidebar">
<ul>
<li><a href="#ymarks_nav_tab" title="navigation"><span>Explorer</span></a></li>
<li><a href="#ymarks_tags_tab" title="tags"><span>Tag Manager</span></a></li>
<li><a href="#ymarks_import_tab" title="import"><span>Import</span></a></li>
<!-- <li><a href="#ymarks_export_tab" title="export"><span>Export</span></a></li> -->
</ul>
<div id="ymarks_nav_tab">
<!--
<div style="margin-top:2px; background:url('/yacy/ui/img/flexigrid/bg.gif') repeat-x scroll center top #FAFAFA;
border-color:#CCCCCC #CCCCCC -moz-use-text-color; border-style:solid solid none; border-width:1px 1px 0; padding:5px;
margin-top:-10px; margin-left:-15px; margin-right:-15px; margin-bottom: 15px;">
<img src="/yacy/ui/img-2/plus.png" alt="Add" style="padding-right:4px; padding-left:5px;"/>Add
<img src="/yacy/ui/img-2/cancel.png" alt="Delete" style="padding-right:4px; padding-left:5px;"/>Delete
<img src="/yacy/ui/img-2/pencil.png" alt="Edit" style="padding-right:4px; padding-left:5px;"/>Edit
<img src="/yacy/ui/img-2/question_blue.png" alt="Help" style="padding-right:4px; padding-left:25px;"/>Help
</div>
-->
<div class="tagSelect">
<p>
<select id="tag_include" name="tag_include" multiple="multiple"></select>
</p>
</div>
<div>
<ul id="ymarks_treeview" class="filetree"></ul>
</div>
</div>
<div id="ymarks_tags_tab">
<!--
<div style="margin-top:2px; background:url('/yacy/ui/img/flexigrid/bg.gif') repeat-x scroll center top #FAFAFA;
border-color:#CCCCCC #CCCCCC -moz-use-text-color; border-style:solid solid none; border-width:1px 1px 0; padding:5px;
margin-top:-10px; margin-left:-15px; margin-right:-15px; margin-bottom: 15px;">
<img src="/yacy/ui/img-2/plus.png" alt="Add" style="padding-right:4px; padding-left:5px;"/>Add
<img src="/yacy/ui/img-2/cancel.png" alt="Delete" style="padding-right:4px; padding-left:5px;"/>Delete
<img src="/yacy/ui/img-2/pencil.png" alt="Edit" style="padding-right:4px; padding-left:5px;"/>Edit
<img src="/yacy/ui/img-2/question_blue.png" alt="Help" style="padding-right:4px; padding-left:25px;"/>Help
</div>
-->
<div>
<p id="ymarks_tagcloud"></p>
</div>
<hr />
<div class="tagSelect">
<form id="ymarks_tagmanager" action="YMarks.html" method="POST" enctype="multipart/form-data" accept-charset="UTF-8">
<h4>Tag Manager<img title="help" alt="help" class="help" src="/yacy/ui/img-2/question_blue.png"></h4>
All tag actions are applied to the sub-set of bookmarks defined by this query.
<p>
<small>Query</small>
<input class="input" type="text" name="query" id="query" /><br />
<br />
<input type="radio" name="qtype" value="_tags" checked="checked"/> Tags (comma seperated)
<br />
<input type="radio" name="qtype" value="tags" /> Tags (regexp)
<br />
<input type="radio" name="qtype" value="_folders" /> Folders (comma seperated)
<br />
<input type="radio" name="qtype" value="folders" /> Folders (regexp)
</p>
<hr />
<h5>Replace Tags</h5>
<p>
<select id="tag_select" name="tags" multiple="multiple"></select><br />
</p>
<p>
<small>Replace with (comma separated tags)</small>
<input class="input" type="text" name="replace" id="source" value="" />
</p>
<p style="text-align: right">
<input type="submit" name="action" value="Replace" />
</p>
<!--
<hr />
<h5>Automatic tagging</h5>
<p>
<input type="radio" name="autotag" value="empty" checked="checked"/> Only for empty/unsorted tags
<br />
<input type="radio" name="autotag" value="overwrite" /> Overwriting existing tags
<br />
<input type="radio" name="autotag" value="merge" /> Merging with existing tags
</p>
<p style="text-align: right">
<input type="submit" name="tagmanager" value="Run" />
</p>
-->
</form>
</div>
</div>
<div id="ymarks_import_tab">
<form action="/api/ymarks/import_ymark.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
<input type="hidden" value="/YMarks.html" name="redirect">
<h4>Bookmark Importer<img title="help" alt="help" class="help" src="/yacy/ui/img-2/question_blue.png"></h4>
<p>
<input type="radio" name="importer" value="html" /> Netscape HTML<br />
<input type="radio" name="importer" value="json" /> Firefox JSON<br />
<input type="radio" name="importer" value="xbel" /> XBEL<br />
<input type="radio" name="importer" value="surro" /> Surrogate XML<br />
<input type="radio" name="importer" value="dmoz" disabled="disabled" /> DMOZ XML<br />
<input type="radio" name="importer" value="list" disabled="disabled"/> YaCy White/Black List<br />
<input type="radio" name="importer" value="bmks" /> YaCy old bookmarks.db<br />
<input type="radio" name="importer" value="crawls" /> YaCy Crawl Starts<br />
</p>
<p>
<small>Bookmark file</small>
<input class="input" type="file" name="bmkfile" id="bmkfile" size="8" /><br />
</p>
<hr />
<h4>Folder settings<img title="help" alt="help" class="help" src="/yacy/ui/img-2/question_blue.png"></h4>
<p>
<small>Source folder</small>
<input class="input" type="text" name="source" id="source" value="" disabled="disabled" />
</p>
<p>
<small>Target folder</small>
<input class="input" type="text" name="root" id="root" value="/Imported Bookmarks" />
</p>
<hr />
<h4>Automatic tagging<img title="help" alt="help" class="help" src="/yacy/ui/img-2/question_blue.png"></h4>
<p>
<input type="radio" name="autotag" value="off" checked="checked" /> Off
<br />
<input type="radio" name="autotag" value="empty" /> Only for empty tags
<br />
<input type="radio" name="autotag" value="overwrite" /> Overwriting existing tags
<br />
<input type="radio" name="autotag" value="merge" /> Merging with existing tags
</p>
<hr />
<p style="text-align: right">
<input type="submit" name="importbookmarks" value="Import" />
</p>
</form>
</div>
<!--
<div id="ymarks_export_tab">
</div>
-->
</div>
<!-- Display Bookmarks Table -->
<div class ="main">
<table id="ymarks_flexigrid" summary="YaCy Bookmarks">
<tbody>
</tbody>
</table>
</div>
<!-- Bookmarks Edit Dialog -->
<div id="ymarks_add_dialog" class="bm_dialog" title="Add & Edit Bookmark">
<form id="bmaddform" method="post" accept-charset="UTF-8" action="jQuery"><div>
<label for="bm_url">URL:</label>
<br />
<input type="text" name="bm_url" id="bm_url" class="bm_input" size="80" />
<br />
<label for="bm_title">Title:</label>
<br />
<input type="text" name="bm_title" id="bm_title" class="bm_input" size="80" />
<br />
<label for="bm_desc">Description:</label>
<br />
<textarea name="bm_desc" id="bm_desc" class="bm_input" rows="3" cols="20">
</textarea>
<br />
<label for="bm_path">Folder (/folder/subfolder):</label>
<br />
<input type="text" name="bm_path" id="bm_path" class="bm_input" size="80" />
<br />
<label for="bm_tags">Tags (comma separated):</label>
<br />
<input type="text" name="bm_tags" id="bm_tags" class="bm_input" size="80" />
<br />
<label for="bm_public">Public:</label>
<br />
<select name="bm_public" id="bm_public" class="bm_select">
<option value="true">yes</option>
<option value="false">no</option>
</select>
</div></form>
</div>
#%env/templates/footer.template%#
</body>
</html>