summaryrefslogtreecommitdiff
path: root/htroot/QuickCrawlLink_p.html
diff options
context:
space:
mode:
authortheli <theli@6c8d7289-2bf4-0310-a012-ef5d649a1542>2005-11-08 12:14:51 +0000
committertheli <theli@6c8d7289-2bf4-0310-a012-ef5d649a1542>2005-11-08 12:14:51 +0000
commit6f8d7d3bcd21d42d685c96eee6476a99beb2bc45 (patch)
tree3e4e4be0072069d5a75f3f5d22926126056473bc /htroot/QuickCrawlLink_p.html
parent7e0647f69213f5526159798636c1e87d3540f91e (diff)
*) Adding first version of YaCy bookmarklet
- this can be used to easily crawl a webpage which is currently opened in the browser - to get the bookmarklet javascript simply call http://localhost:8000/QuickCrawlLink_p.html and drag and drop the link shown to your Browsers Toolbar/Link-Bar. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1053 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/QuickCrawlLink_p.html')
-rw-r--r--htroot/QuickCrawlLink_p.html69
1 files changed, 69 insertions, 0 deletions
diff --git a/htroot/QuickCrawlLink_p.html b/htroot/QuickCrawlLink_p.html
new file mode 100644
index 000000000..5a6f6a108
--- /dev/null
+++ b/htroot/QuickCrawlLink_p.html
@@ -0,0 +1,69 @@
+<html>
+<head>
+ <title>YaCy '#[clientname]#': Quick Crawl Link</title>
+ #[metas]#
+</head>
+<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
+
+<table border="0" cellspacing="0" cellpadding="0" width="100%">
+<tr><td>
+ <table class="Heading" border="0" cellspacing="0" cellpadding="0" width="100%">
+ <tr height="36">
+ <td width="240">
+ <a href="http://www.yacy.net">
+ <img width="52" height="33" border="0" src="/env/grafics/yacy.gif" align="top">
+ </a>
+ </td>
+ <td width="50%" align="center">
+ <div class="Headline">#[clientname]#: Quick Crawl Link</div>
+ </td>
+ <td width="240" align="right">
+ </td>
+ </tr>
+ </table>
+</td></tr>
+</table>
+<br><br>
+
+#(mode)#<!-- 0 -->
+<table style="margin-left: auto; margin-right: auto;">
+<tr>
+<td>
+<b>Quickly adding Bookmarks:</b>
+<p>Simply drag and drop the link shown below to your Browsers Toolbar/Link-Bar.
+If you click on it while browsing, the currently viewed website will be inserted into the YaCy crawling queue for indexing.</p>
+</td>
+</tr>
+<tr>
+ <td><a href="javascript:w = window.open('http://#[host]#:#[port]#/QuickCrawlLink_p.html?localIndexing=on&amp;crawlingQ=on&amp;xdstopw=on&amp;title='+escape(document.title)+'&amp;url='+location.href,'_blank','height=150,width=500,resizable=yes,scrollbar=no,directory=no,menubar=no,location=no');w.focus();"><img src="/env/grafics/addlink.gif" border="0">&nbsp;Crawl with YaCy</a></td></tr>
+</table>
+
+::<!-- 1 -->
+<table style="margin-left: auto; margin-right: auto;">
+<tr>
+ <td><b>Title:</b></td>
+ <td>#[title]#</td>
+</tr>
+<tr>
+ <td><b>Link:</b></td>
+ <td><a href="#[url]#">#[url]#</a></td>
+</tr>
+<tr>
+ <td><b>Status:</b></td>
+ <td>
+ #(status)#<!-- 0 -->
+ <font color="green">URL successfully added to Crawler Queue</font>
+ ::<!-- 1 -->
+ <font color="red">Malformed URL</font>
+ ::<!-- 2 -->
+ <font color="red">Unable to create new crawling profile for URL: #[error]#</font>
+ ::<!-- 3 -->
+ <font color="red">Unable to add URL to crawler queue: #[error]#</font>
+ #(/status)#
+ </td>
+</tr>
+</table>
+#(/mode)#
+
+</body>
+</html> \ No newline at end of file