The Librarian plugin for Freenet 0.7
What is it for?
It is a search engine.
Installation
To install the Librarian plugin:
To use the Librarian plugin, click on the
VISIT∞ link on that page.
File format
Librarian uses a very simple index format. The spider can create index files, or you can create them from your own scripts or spiders:
!<url>
+<optional description of url>
+<optional more description of url>
!<next url>
...
?<keyword> <url number> <url number> <url number>
Url numbers are zero-based, and start the the beginning of the !<url> section.
Thaw uses a new format for its indexes, which can be produced by the
NinjaSpider. Librarian will eventually be adapted to this new format.
Embedding in a freesite
It is possible to embed the Librarian search plugin in a freesite. For example:
this test page∞.
Source code:
<form accept-charset="UTF-8" enctype="multipart/form-data" action="/plugins/plugins.Librarian.Librarian" method="GET">
<input name="search" type="text" value="test">
<input name="index" type="text" value="USK@RG18X0wfOZrQ-5axO~45moiclaFtqT7ANllg165Zjpg,qTu5gqJLwC5LYyomwTUQWPergIEa3WZIPPd5qd~R5Nk,AQABAAE/ENTRY.POINT/48/librarian.idx">
<input name="stylesheet" type="hidden" value="/CHK@Q
vULinp7E6c2vMZ-62T~iJLQDr695LQUGZYbCGeblXs,v7jpa0ZTx~p56CHiWmQvq9y10xwx7Qf4-P
rfyO0QqIQ,AAEC--8/1.css">
<input type="submit" value="Find!">
As you can see, you can specify the index to be used, the word to be searched for and a stylesheet to theme the search results to look something like your freesite.