freenet / plugin-Library-official

Plugin handles libraries on Freenet, including search UI (official, reviewed version)

This URL has Read+Write access

name age message
file .classpath Fri Aug 14 22:16:18 -0700 2009 Fix eclipse project [Daniel Cheng (鄭郁邦)]
file .gitignore Tue Jul 28 02:14:02 -0700 2009 Fetch SnakeYAML and verify checksum [Daniel Cheng (鄭郁邦)]
file .project Fri Aug 14 22:16:18 -0700 2009 Fix eclipse project [Daniel Cheng (鄭郁邦)]
file README Sun Aug 16 11:31:20 -0700 2009 Implement dealing with stopwords in queries and... [platy]
file README.clean-build Thu Aug 27 10:50:08 -0700 2009 README.clean-build [toad]
file TODO Fri Jul 31 14:57:14 -0700 2009 FIX A MAJOR BUG in the BTreeMap entrySet iterat... [infinity0]
file build.xml Sat Aug 29 03:50:08 -0700 2009 - smaller download for SnakeYAML (just the jar ... [infinity0]
directory doc/ Thu Sep 24 13:14:40 -0700 2009 tie up loose ends; the algorithm is basically c... [infinity0]
directory lib/ Mon Aug 10 05:52:57 -0700 2009 automatically download the right version of Key... [infinity0]
directory src/ Fri Nov 13 14:56:25 -0800 2009 Version 7 [toad]
directory test/ Sun Sep 13 05:03:30 -0700 2009 - detect when input array is not sorted [infinity0]
README
== Build ==

Build:

  plugin-Library$ ant

== Javadoc ==

If you want to generate Javadocs, download bliki-doclet, which is a little
something I cooked up to have mediawiki markup instead of ugly HTML in javadoc
comments, and put it into the doc/ directory:

  $EXT$ wget "http://cloud.github.com/downloads/infinity0/bliki-doclet/bliki-doclet_openjdk-6-src-b16-24_apr_2009.jar"
  plugin-Library/doc$ ln -s $EXT/bliki-doclet*.jar bliki-doclet.jar
  plugin-Library$ ant javadoc


== Using Library ==

Enter a search query into the search box, this can use the standard search engine
query syntax ( or, not/-, "") or any combination

eg
  freenet -"freenet message system"
  freenet or "free network"

Stop words( Anything less than 3 letters and popular words such as 'and' 'the'
'but' ) are excluded from searches, in some situations such as an intersection
search ('bill of rights') or phrase search('"jesus of nazareth"') the stopword
is treated as a blank as the result can still be useful, searching for
the phrase ('"the who"') will fail though as ignoring 'the' makes the search almost meaningless.

You also need to specify one or more indexes, there are checkboxes for the 2
largest xml indexes known about and others can be specified in the uri box
separated by spaces, just enter the uri or local path.

You can add bookmarks to other indexes by specifying a name, they aren't saved
currently but will soon.

You can select 'Group sites and editions' this will put all pages under the same
key into groups. The sorting on relevance wont work so well but it depends what
you are looking for as to which is more useful.

Only the newest editions of sites will be shown by default, select 'Show older
editions' and all editions wil be shown but the older ones will be greyed out.


== Inline searches (provisional) ==

You can provide a search box in your freesite, by using the html below, though
this may change soon :

<form action="/plugins/plugin.Library.FreesiteSearch" method="POST">
<input type="text" name="search" />
<input type="hidden" name="index" value="[[[index uri here]]]" />
<input type="submit" />
</form>