hyphanet / plugin-library Goto Github PK
View Code? Open in Web Editor NEWPlugin to handle indexes on freenet
Plugin to handle indexes on freenet
== 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>
Internal error: please report
java.lang.NoClassDefFoundError: Could not initialize class plugins.Library.index.ProtoIndexComponentSerialiser
at plugins.Library.index.ProtoIndexSerialiser.forIndex(ProtoIndexSerialiser.java:91)
at plugins.Library.index.ProtoIndexSerialiser.forIndex(ProtoIndexSerialiser.java:72)
at plugins.Library.Library.getIndex(Library.java:679)
at plugins.Library.Library.getIndex(Library.java:642)
at plugins.Library.Library.getIndex(Library.java:618)
at plugins.Library.search.Search.splitQuery(Search.java:241)
at plugins.Library.search.Search.startSearch(Search.java:103)
at plugins.Library.search.Search.startSearch(Search.java:110)
at plugins.Library.ui.MainPage.processPostRequest(MainPage.java:192)
at plugins.Library.ui.MainPageToadlet.handleMethodPOST(MainPageToadlet.java:100)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at freenet.clients.http.ToadletContextImpl.callToadletMethod(ToadletContextImpl.java:765)
at freenet.clients.http.ToadletContextImpl.handle(ToadletContextImpl.java:678)
at freenet.clients.http.SimpleToadletServer$SocketHandler.run(SimpleToadletServer.java:1070)
at freenet.support.PooledExecutor$MyThread.innerRun(PooledExecutor.java:249)
at freenet.support.PooledExecutor$MyThread.realRun(PooledExecutor.java:189)
at freenet.support.io.NativeThread.run(NativeThread.java:156)
The plugin Library could not be loaded: class java.lang.IllegalArgumentException: IV must be no more than 127 bits
at freenet.crypt.OCBBlockCipher_v149.init(OCBBlockCipher_v149.java:177)
at freenet.crypt.AEADInputStream.(AEADInputStream.java:42)
at freenet.crypt.AEADInputStream.createAES(AEADInputStream.java:195)
at freenet.crypt.AEADCryptBucket.getInputStreamUnbuffered(AEADCryptBucket.java:68)
at freenet.crypt.AEADCryptBucket.getInputStream(AEADCryptBucket.java:62)
at freenet.support.io.PaddedBucket.getInputStream(PaddedBucket.java:149)
at freenet.pluginmanager.PluginStores.loadPluginStore(PluginStores.java:116)
at freenet.pluginmanager.PluginStores.loadPluginStore(PluginStores.java:96)
at freenet.pluginmanager.PluginRespirator.getStore(PluginRespirator.java:248)
at plugins.Library.Library.(Library.java:130)
at plugins.Library.Library.init(Library.java:88)
at plugins.Library.Main.runPlugin(Main.java:143)
at freenet.pluginmanager.PluginHandler.startPlugin(PluginHandler.java:44)
at freenet.pluginmanager.PluginManager.realStartPlugin(PluginManager.java:381)
at freenet.pluginmanager.PluginManager.startPluginOfficial(PluginManager.java:351)
at freenet.pluginmanager.PluginManager.startPluginOfficial(PluginManager.java:343)
at freenet.clients.http.PproxyToadlet$2.run(PproxyToadlet.java:142)
at freenet.support.PooledExecutor$MyThread.innerRun(PooledExecutor.java:259)
at freenet.support.PooledExecutor$MyThread.realRun(PooledExecutor.java:197)
at freenet.support.io.NativeThread.run(NativeThread.java:156)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.