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.
375 lines
16 KiB
375 lines
16 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.tagsinput.css" rel="stylesheet" />
|
|
<script src="/jquery/js/jquery.tagsinput.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" style="overflow: auto;">
|
|
<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 />
|
|
<small>Query Type</small>
|
|
<select id= "ymarks_qtype" name="qtype">
|
|
<option value="_tags" selected="selected">Tags (comma seperated)</option>
|
|
<option value="tags">Tags (regexp)</option>
|
|
<option value="_folder">Folders (comma seperated)</option>
|
|
<option value="folders">Folders (regexp)</option>
|
|
<option value="title">Title (regexp)</option>
|
|
<option value="desc">Description (regexp)</option>
|
|
</select>
|
|
</p>
|
|
<hr />
|
|
<p>
|
|
<select id="tag_select" name="tags" multiple="multiple"></select><br />
|
|
</p>
|
|
<p>
|
|
Enter tags to add (<i>replace with</i>)
|
|
<br /><small>(comma separated tags)</small>
|
|
<input class="input" type="text" name="replace" id="source" value="" />
|
|
</p>
|
|
<hr />
|
|
<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 alt="help" title="If you put in your bookmarks here, you can access them anywhere where you have access to your YaCy peer. Think of it as your 'personal cloud' for bookmarking." class="help" src="/yacy/ui/img-2/question_blue.png"></h4>
|
|
<p>
|
|
<table cellspacing="3">
|
|
<tr>
|
|
<td> <input type="radio" name="importer" value="html" checked="checked" /> </td>
|
|
<td>Netscape HTML</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="radio" name="importer" value="json" /></td>
|
|
<td>Firefox JSON</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="radio" name="importer" value="xbel" /></td>
|
|
<td>XBEL</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="radio" name="importer" value="surro" /></td>
|
|
<td>Surrogate XML</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="radio" name="importer" value="dmoz" disabled="disabled" /></td>
|
|
<td>DMOZ XML</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="radio" name="importer" value="list" disabled="disabled"/></td>
|
|
<td>YaCy White/Black List</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="radio" name="importer" value="bmks" /></td>
|
|
<td>YaCy bookmarks.db (admin)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="radio" name="importer" value="crawls" /></td>
|
|
<td>YaCy Crawl Starts (admin)</td>
|
|
</tr>
|
|
</table>
|
|
</p>
|
|
<p>
|
|
<small>Bookmark file</small>
|
|
<input class="input" type="file" name="bmkfile" id="bmkfile" size="8" /><br />
|
|
</p>
|
|
<hr />
|
|
<h4>Folder settings<img alt="help" title="A folder structure is helpful to organize your bookmarks in a hierarchical way." 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 alt="help" title="Tags are words that are attached to documents as metadata. It is possible to read all the documents and find the attached tags automatically." class="help" src="/yacy/ui/img-2/question_blue.png"></h4>
|
|
<p>
|
|
<table cellspacing="5">
|
|
<tr>
|
|
<td><input type="radio" name="autotag" value="off" checked="checked" /></td>
|
|
<td>Off</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="radio" name="autotag" value="empty" /></td>
|
|
<td>Only for empty tags</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="radio" name="autotag" value="overwrite" /></td>
|
|
<td>Overwriting existing tags</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="radio" name="autotag" value="merge" /></td>
|
|
<td>Merging with existing tags</td>
|
|
</tr>
|
|
</table>
|
|
</p>
|
|
<hr />
|
|
<h4>Automatic Indexing<img alt="help" title="While doing the bookmark import, YaCy can push all URLs to the indexing process" class="help" src="/yacy/ui/img-2/question_blue.png"></h4>
|
|
<p>
|
|
<table cellspacing="5">
|
|
<tr>
|
|
<td><input type="radio" name="indexing" value="off" checked="checked" /></td>
|
|
<td>No indexing</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="radio" name="indexing" value="single" /></td>
|
|
<td>Index every bookmark entry</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="radio" name="indexing" value="onelink" /></td>
|
|
<td>Index every bookmark entry plus all directly linked pages</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="radio" name="indexing" value="fulldomain" /></td>
|
|
<td>Index all domains from all bookmarks completely</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="checkbox" name="medialink" /></td>
|
|
<td><br />include all media (image/movie/document) links</td>
|
|
</tr>
|
|
</table>
|
|
</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">
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
<img id="bmaddimg" src="/yacy/ui/img-1/Star.png" />
|
|
</td>
|
|
<td>
|
|
<label for="bm_public">Public:</label>
|
|
<br />
|
|
<select name="public" id="bm_public" class="bm_select">
|
|
<option value="true">yes</option>
|
|
<option value="false">no</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<form id="bmaddform" method="post" accept-charset="UTF-8" action="jQuery"><div>
|
|
<label for="bm_url">URL:</label>
|
|
<br />
|
|
<input type="text" name="url" id="bm_url" class="bm_input" size="80" />
|
|
<br />
|
|
<label for="bm_title">Title:</label>
|
|
<br />
|
|
<input type="text" name="title" id="bm_title" class="bm_input" size="80" />
|
|
<br />
|
|
<label for="bm_desc">Description:</label>
|
|
<br />
|
|
<textarea name="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="folders" id="bm_path" class="bm_input" size="80" />
|
|
<br />
|
|
<label for="bm_tags">Tags (comma separated):</label>
|
|
<br />
|
|
<input type="text" name="tags" id="bm_tags" class="bm_input" size="80" />
|
|
</div></form>
|
|
</div>
|
|
<div id="ymarks_crawlstart" class="bm_dialog" title="Craw Start">
|
|
|
|
<form id="ymarks_crawler" method="post" action="Crawler_p.html" enctype="multipart/form-data" accept-charset="UTF-8">
|
|
<table cellspacing="10" cellpadding="20">
|
|
<tr id="ymarks_crawlstart_msg"></tr>
|
|
<tr>
|
|
<td>Site</td>
|
|
<td>
|
|
<input type="hidden" name="crawlingMode" id="crawlingMode" value="url" />
|
|
<input name="crawlingURL" id="crawlingURL" type="text" size="35" maxlength="256" />
|
|
<input type="hidden" name="crawlingDepth" id="crawlingDepth" value="99" />
|
|
</td>
|
|
<tr>
|
|
<td>Scheduler</td>
|
|
<td>
|
|
<input type="radio" name="recrawl" value="nodoubles" checked="checked"/>run this crawl once<br/>
|
|
<input type="radio" name="recrawl" value="scheduler"/>scheduled, look every
|
|
<select name="repeat_time">
|
|
<option value="1">1</option><option value="2">2</option><option value="3">3</option>
|
|
<option value="4">4</option><option value="5">5</option><option value="6">6</option>
|
|
<option value="7" selected="selected">7</option>
|
|
<option value="8">8</option><option value="9">9</option><option value="10">10</option>
|
|
<option value="12">12</option><option value="14">14</option><option value="21">21</option>
|
|
<option value="28">28</option><option value="30">30</option>
|
|
</select>
|
|
<select name="repeat_unit">
|
|
<option value="selminutes">minutes</option>
|
|
<option value="selhours">hours</option>
|
|
<option value="seldays" selected="selected">days</option>
|
|
</select>
|
|
<br />
|
|
for new documents automatically.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Path</td>
|
|
<td>
|
|
<input type="radio" name="range" id="rangeDomain" value="domain" checked="checked"/>load all files in domain<br />
|
|
<input type="radio" name="range" id="rangeSubpath" value="subpath" />load only files in a sub-path of given url
|
|
<input type="hidden" name="mustnotmatch" id="mustnotmatch" value="" />
|
|
<input type="hidden" name="crawlingDomFilterCheck" id="crawlingDomFilterCheck" value="off" />
|
|
<input type="hidden" name="crawlingDomFilterDepth" id="crawlingDomFilterDepth" value="1" />
|
|
</td>
|
|
<tr>
|
|
<tr>
|
|
<td>Limitations</td>
|
|
<td>
|
|
<input type="checkbox" name="crawlingDomMaxCheck" id="crawlingDomMaxCheck" /> not more than
|
|
<input name="crawlingDomMaxPages" id="crawlingDomMaxPages" type="text" size="6" maxlength="6" value="10000" />
|
|
documents
|
|
</td>
|
|
<tr>
|
|
<tr>
|
|
<td>Dynamic URLs</td>
|
|
<td>
|
|
<input type="checkbox" name="crawlingQ" id="crawlingQ" /> allow <a href="http://en.wikipedia.org/wiki/Query_string">
|
|
query-strings</a> (urls with a '?' in the path)
|
|
<input type="hidden" name="storeHTCache" id="storeHTCache" value="on" />
|
|
<input type="hidden" name="cachePolicy" id="cachePolicy" value="iffresh" />
|
|
<input type="hidden" name="indexText" id="indexText" value="on" />
|
|
<input type="hidden" name="indexMedia" id="indexMedia" value="on" />
|
|
<input type="hidden" name="intention" id="intention" value="" />
|
|
<input type="hidden" name="xsstopw" id="xsstopw" value="off" />
|
|
<input type="hidden" name="xdstopw" id="xdstopw" value="off" />
|
|
<input type="hidden" name="xpstopw" id="xpstopw" value="off" />
|
|
</td>
|
|
<tr>
|
|
</table>
|
|
<input type="hidden" value="Start New Crawl" name="crawlingstart">
|
|
</form>
|
|
</div>
|
|
#%env/templates/footer.template%#
|
|
</body>
|
|
</html> |